GETKEY
The getkey utility is an executable program (does not require an interpreter) and is intended to assist users in the definition of the terminal keyboard sequences. Since not all Linux terminfo terminal libraries contain complete or correct keyboard definitions, getkey is provided to assist screen definition file modification. The sequences sent by Function keys, Arrow keys or other Special keys on a terminal can be tested using it. When used in conjunction with makedef getkey can help establish a complete screen definition file for previously unsupported terminals. It is executed as follows:
|
|
|
Any key on the keyboard can then be pressed. If the transmitted sequence is already assigned, a message is displayed regarding which key the screen definition file indicates was entered. If the sequence is not already assigned, the byte(s) transmitted by the key are displayed.
See Also: Utilities
![]() |