DEFINE KEY
Defines a key to execute an EVE command or an EDT or WPS keypad function.
You can type the key name on the command line or let EVE prompt you to
press the key to be defined.
Steps:
1. Press DO and type DEFINE KEY.
2. Type the command you want to assign to a key and press RETURN.
3. At the prompt, press the key to be defined. You can press:
A function key ......... such as PF4, KP7, F20, or E6
GOLD and another key ... such as GOLD/KP7 or GOLD/A
A control key .......... such as CTRL/N or GOLD/CTRL/A
A mouse button ......... see help on MOUSE
RETURN ................. to cancel the definition
Examples with Typed Key Names:
DEFINE KEY=gold/e6 next window
Defines the combination of GOLD and E6 (marked NEXT SCREEN on the mini
keypad) to put the text cursor in the next window, if there are two or
more. Note the equal sign before the key name. In naming GOLD keys,
use a slash, dash, or underscore as a delimiter.
DEFINE KEY=ctrl/n edt kp9
Defines CTRL/N to be the same as KP9 in the EDT keypad (that is,
Append), without having to use SET KEYPAD EDT. Similarly, you can use
WPS keypad definitions, such as GOLD/R for the WPS Ruler. In naming
control keys, use a slash, dash, or underscore as a delimiter.
Your key definitions override those done by SET KEYPAD commands. For
example, if you define keys that EDT or WPS keypad ordinarily defines,
your definitions override the EDT or WPS definitions.
Key definitions remain in effect throughout your editing session or until
you redefine the key. To save key definitions for future sessions, use
SAVE EXTENDED EVE to create a section file or put the DEFINE KEY commands
in an initialization file.
Related topics:
CONTROL KEYS GOLD KEYS LEARN NAMES FOR KEYS
SET GOLD KEY SHOW KEY TYPING KEYS UNDEFINE KEY