The KEYSTROKE Variable

The KEYSTROKE variable defines the actions to be taken for a single keystroke. You need to add one KEYSTROKE line for each key that you wish to redefine. The maximum number of allowed KEYSTROKE entries is 170.

KEYSTROKE entries consist of keywords and associated values that describe the action to be taken, plus the key code (a two-character name) of the key, or key combination, being defined. All definable keys have such a name. The key code is case sensitive, although the rest of the KEYSTROKE line is not. The ASCII value of the key (decimal) may be used instead of the key code. Note that this is the only way to assign a value to the DEL key (ASCII value 127). The syntax of the KEYSTROKE line is:

KEYSTROKE keyword=value [keyword=value] key-code

The key-code argument is one of the two-character codes shown in Table of Keys. Keywords are separated from each other by spaces or tabs. For example:

KEYSTROKE     EDIT=Next    TERMINATE=13    ^M

The following keywords may be used: