/sys$common/syshlp/EVE$HELP.HLB  —  DEFINE_KEY
  DEFINE KEY

  Defines a key to execute an EVE command or an EDT or WPS key 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.  Use the DEFINE KEY command.

  2.  Type the command you want to bind to a key and press RETURN.

  3.  At the prompt, press the key you want to define:

         Function key ............. such as F20, PF3, KP0, or ENTER
         GOLD key sequence ........ such as GOLD-A or GOLD-PF3
         Control key .............. such as CTRL/A or GOLD-CTRL/A
         Shifted function key ..... such as SHIFT/F14 (DECwindows only)
         ALT key combination ...... such as ALT/Z     (DECwindows only)
         Mouse button ............. such as M2CLICK   (DECwindows only)

      To cancel the operation, press the RETURN key or CTRL/M, which cannot
      be redefined.

  Examples with typed key names:

     Commands                          Effects
     ----------------------------------------------------------------------
     DEF KEY=ctrl/f include file       Defines CTRL/F as INCLUDE FILE. When
                                       you press the key, the File to
                                       include: prompt appears.

     DEF KEY=gold-remove  edt kp9      Defines GOLD-REMOVE (on the mini
                                       keypad) as the EDT Append key (KP9)
                                       without having to use SET KEYPAD EDT.
                                       Similarly, you can assign WPS keypad
                                       functions, such as WPS GOLD-R for the
                                       WPS Ruler key.

  Usage notes:

  o  Note the equal sign before a typed key name. In specifying key
     combinations, use a dash, slash, or underscore as a delimiter in the
     key name. For more information, see help on Names For Keys.

  o  DEFINE KEY overrides any current definition of the key, whether EVE
     default, EDT, WPS, DECwindows, or your own. Key definitions remain in
     effect throughout your editing session or until you change them.

  o  To keep your key definitions for future editing sessions, do either of
     the following:

     *  Use SAVE EXTENDED EVE to create a section file which saves your key
        definitions in binary form---in effect, your own customized version
        of EVE. See help on Section Files.

     *  Put your DEFINE KEY commands in an initialization file (typically
        named EVE$INIT.EVE). See help on Initialization Files.

  +------------------------------------------------------------------+
  | For a list of defined keys, see help on Keys or press GOLD-HELP. |
  |                                                                  |
  | For a keypad diagram, press HELP (with VT100 keypad, press PF2). |
  +------------------------------------------------------------------+

  Related topics:

     Control Keys    Gold Keys       Names For Keys    Typing Keys
     LEARN           SET GOLD KEY    SHOW KEY          UNDEFINE KEY
Close Help