VMS Help
SHOW, KEY

 *Conan The Librarian (sorry for the slow response - running on an old VAX)

    Displays the key definitions created with the DEFINE/KEY command.

    Format

      SHOW KEY  [key-name]

  1 - Parameter

 key-name

    Specifies the name of the key whose definition you want
    displayed. For a list of valid key names, see the DEFINE/KEY
    command.

  2 - Qualifiers

 2.1 - /ALL

    Displays all key definitions in the current state (or the
    state specified with the /STATE qualifier). If you use the /ALL
    qualifier, do not specify a key name.

 2.2 - /BRIEF

       /BRIEF (default)
       /NOBRIEF

    Displays only the key definition and state. The /BRIEF and
    /NOFULL qualifiers are equivalent.

 2.3 - /DIRECTORY

    Displays the names of all states for which keys have been
    defined. If you have not specified a state with a key definition,
    the SHOW KEY/DIRECTORY command displays DEFAULT for the state.

    You cannot use the /DIRECTORY qualifier with any of the other
    SHOW KEY qualifiers.

 2.4 - /FULL

       /FULL
       /NOFULL (default)

    Displays all qualifiers associated with a definition. By default,
    only the state of the definition and the definition itself are
    displayed. The /FULL and /NOBRIEF qualifiers are equivalent.

 2.5 - /STATE

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

    Displays the key definitions for the specified state. If you
    specify only one state name, you can omit the parentheses. State
    names can be any appropriate alphanumeric string. State names are
    created with the DEFINE/KEY command.

    If you omit the /STATE qualifier or use the /NOSTATE qualifier,
    key definitions in the current state are displayed.

  3 - Example

  $ DEFINE/KEY/TERMINATE PF1 "ATTACH BOB"
  %DCL-I-DEFKEY, DEFAULT key PF1 has been defined
  $ SHOW KEY PF1
  DEFAULT keypad definitions:
    PF1 = "ATTACH BOB"
  $ SHOW KEY/FULL PF1
  DEFAULT keypad definitions:
    PF1 = "ATTACH BOB"  (noecho,terminate,noerase,nolock)

      The SHOW KEY command in this example displays both the
      definition and the state for the PF1 key. This is the default
      display. The SHOW KEY/FULL command displays all qualifiers
      associated with the key definition.
  Close     HLB-list     TLB-list     Help  

[legal] [privacy] [GNU] [policy] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.