DBG$HELP.HLB  —  DEBUG  DEFINE  /KEY  Description
    Keypad mode must be enabled (SET MODE KEYPAD) before you can use
    this command. Keypad mode is enabled by default.

    The DEFINE/KEY command enables you to assign a string to a
    function key, overriding any predefined function that was bound
    to that key. When you then press the key, the debugger enters
    the currently associated string into your command line. The
    DEFINE/KEY command is like the DCL command DEFINE/KEY.

    For a list of the predefined key functions, see the Keypad_
    Definitions_CI online help topic.

    On VT52- and VT100-series terminals, the function keys you can
    use include all of the numeric keypad keys. Newer terminals and
    workstations have the LK201 keyboard. On LK201 keyboards, the
    function keys you can use include all of the numeric keypad keys,
    the nonarrow keys of the editing keypad (Find, Insert Here, and
    so on), and keys F6 to F20 at the top of the keyboard.

    A key definition remains in effect until you redefine the key,
    enter the DELETE/KEY command for that key, or exit the debugger.
    You can include key definitions in a command procedure, such as
    your debugger initialization file.

    The /IF_STATE qualifier enables you to increase the number of
    key definitions available on your terminal. The same key can be
    assigned any number of definitions as long as each definition is
    associated with a different state.

    By default, the current key state is the DEFAULT state. The
    current state can be changed with the SET KEY/STATE command,
    or by pressing a key that causes a state change (a key that was
    defined with DEFINE/KEY/LOCK_STATE/SET_STATE).

    Related commands:

       DELETE/KEY
       (SET,SHOW) KEY
Close Help