Entering 2 from the main menu displays the Alter Function Key Definition menu in which you are prompted to choose the set of function keys you wish to alter.
|Cycles from one function to the next, without altering the key defined for each function.
|Adds another key to perform the displayed function, but retains the currently defined function key. The word Insert is displayed at the bottom right of the screen.
|Deletes a defined function key from a list. The Keyboard Configuration utility automatically cycles to the next function.
|Specifies that you will enter the hexadecimal sequence for the required function key. The word Hex is displayed at the bottom right of the screen. If you enter an invalid hexadecimal sequence you receive an error when you attempt to cycle to the next function and you are prompted to enter a valid sequence. This function allows you to define keys which may not actually appear on the keyboard you are using, but will be available on the one on which your program will run.
|Returns to the Alter menu.
If you attempt to define a large number of keys you may exceed the limit, in which case you receive the warning:
There is not enough room for that sequence
Should this occur, the only way to add additional keys is to delete unwanted key sequences.
Press 5 to return to the main menu.
Your UNIX documentation contains details on the values for the KEY_ mnemonics . These are 16-bit values, but you can enter them as three 8-bit codes by typing: FF, high-byte, low-byte
For example, KEY_DOWN has octal value 0402, or hexadecimal value 102. You can enter a code for KEY_DOWN by typing the three bytes: FF, 01, 02
Alternatively, if you press the down arrow key on your keyboard your system enters these three bytes for you.