RE: ACPICA serialized objects?
From: Moore, Robert <hidden>
Date: 2016-01-13 22:49:28
-----Original Message----- From: Andy Lutomirski [mailto:luto@amacapital.net] Sent: Wednesday, January 13, 2016 2:32 PM To: Zheng, Lv Cc: Andy Lutomirski; Rafael J. Wysocki; Linux ACPI; Moore, Robert Subject: Re: ACPICA serialized objects? I finally had some time to play with the ACPI debugger, and it's fantastic. Thanks! One minor feature request: have you considered adding readline or libedit support?
We actually have "readline" style support in at least acpiexec (which uses
The AML debugger):
/******************************************************************************
*
* FUNCTION: OsEnterLineEditMode, OsExitLineEditMode
*
* PARAMETERS: None
*
* RETURN: None
*
* DESCRIPTION: Enter/Exit the raw character input mode for the terminal.
*
* Interactive line-editing support for the AML debugger. Used with the
* common/acgetline module.
*
* readline() is not used because of non-portability. It is not available
* on all systems, and if it is, often the package must be manually installed.
*
* Therefore, we use the POSIX tcgetattr/tcsetattr and do the minimal line
* editing that we need in AcpiOsGetLine.
*
* If the POSIX tcgetattr/tcsetattr interfaces are unavailable, these
* calls will also work:
* For OsEnterLineEditMode: system ("stty cbreak -echo")
* For OsExitLineEditMode: system ("stty cooked echo")
*
*****************************************************************************/
--Andy