DBG$HELP.HLB  —  DEBUG  SHOW  KEY
    Displays the debugger predefined key definitions and those
    created by the DEFINE/KEY command.

                                   NOTE

       This command is not available in the VSI DECwindows Motif for
       OpenVMS user interface to the debugger.

    Format

      SHOW KEY  [key-name]

1  –  Parameters

 key-name

    Specifies a function key whose definition is displayed. Do not
    use the asterisk (*)  wildcard character. Instead, use the /ALL
    qualifier. Do not specify a key name with /ALL or /DIRECTORY.
    Valid key names are as follows:

    Key       LK201
    Name      Keyboard      VT100-type    VT52-type

    PF1       PF1           PF1           Blue
    PF2       PF2           PF2           Red
    PF3       PF3           PF3           Black
    PF4       PF4           PF4
    KP0-KP9   Keypad 0-9    Keypad 0-9    Keypad 0-9
    PERIOD    Keypad        Keypad
              period (.)    period (.)
    COMMA     Keypad comma  Keypad comma
              (,)           (,)
    ENTER     Enter         ENTER         ENTER
    E1        Find
    E2        Insert Here
    E3        Remove
    E4        Select
    E5        Prev Screen
    E6        Next Screen
    HELP      Help
    DO        Do
    F6-F20    F6-F20

2  –  Qualifiers

2.1    /ALL

    Displays all key definitions for the current state, by default,
    or for the states specified with /STATE.

2.2    /BRIEF

    Displays only the key definitions (by default, all qualifiers
    associated with a key definition are also shown, including any
    specified state).

2.3    /DIRECTORY

    Displays the names of all the states for which keys have been
    defined. Do not specify other qualifiers with this qualifier.

2.4    /STATE

       /STATE=(state-name [, . . . ])
       /NOSTATE (default)

    Selects one or more states for which a key definition is
    displayed. The /STATE qualifier displays key definitions for the
    specified states. You can specify predefined key states, such as
    DEFAULT and GOLD, or user-defined states. A state name can be any
    appropriate alphanumeric string. The /NOSTATE qualifier displays
    key definitions for the current state only.

3  –  Description

    Keypad mode must be enabled (SET MODE KEYPAD) before you can use
    this command. Keypad mode is enabled by default.

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

    Related commands:

       DEFINE/KEY
       DELETE/KEY
       SET KEY

4  –  Examples

    1.DBG> SHOW KEY/ALL

      This command displays all the key definitions for the current
      state.

    2.DBG> SHOW KEY/STATE=BLUE KP8
      GOLD keypad definitions:
        KP8 = "Scroll/Top" (noecho,terminate,nolock)
      DBG>

      This command displays the definition for keypad key 8 in the
      BLUE state.

    3.DBG> SHOW KEY/BRIEF KP8
      DEFAULT keypad definitions:
        KP8 = "Scroll/Up"
      DBG>

      This command displays the definition for keypad key 8 in the
      current state.

    4.DBG> SHOW KEY/DIRECTORY
      MOVE_GOLD
      MOVE_BLUE
      MOVE
      GOLD
      EXPAND_GOLD
      EXPAND_BLUE
      EXPAND
      DEFAULT
      CONTRACT_GOLD
      CONTRACT_BLUE
      CONTRACT
      BLUE
      DBG>

      This command displays the names of the states for which keys
      have been defined.
Close Help