Museum

Home

Lab Overview

Retrotechnology Articles

⇒ Online Manual

Media Vault

Software Library

Restoration Projects

Artifacts Sought

EVE DEFINE_KEY — VMS 5.5

 DEFINE KEY

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

    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/D
        Shifted function key ... such as SHIFT/F14 (DECwindows only)
        ALT key combination .... such as ALT/Z     (DECwindows only)
        Mouse .................. such as MB3CLICK  (DECwindows only)

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

 Examples with Typed Key Names:

    Command                           Purpose or Effect
    ---------------------------------------------------------------------
    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.  EVE key names are usually
    the same as at DCL (see help on Names For Keys).  In specifying key
    combinations, use a dash, slash, or underscore as a delimiter in the
    key name.

 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 save key definitions for future editing sessions, use SAVE EXTENDED
    EVE or SAVE ATTRIBUTES to create a section file.  Alternatively, put
    the DEFINE KEY commands in an initialization file (typically,
    EVE$INIT.EVE).

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

 Related topics:

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

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026