Displays the key definitions created by the DEFINE/KEY command.
Format
SHOW KEY [key-name]
1 – Parameter
key-name
Specifies the name of the key for which you want to display the
definition. See the DEFINE/KEY command for a list of the valid
key names.
2 – Qualifiers
2.1 /ALL
Displays all of the key definitions in the specified state or
states. You do not need to specify a key name.
2.2 /BRIEF
Displays the key definition only. If you do not specify /BRIEF,
all of the qualifiers associated with the key definition are
displayed by default.
2.3 /DIRECTORY
Displays the names of all the states for which keys have been
defined. If you have not defined any keys, SHOW KEY/DIRECTORY
displays the DEFAULT and GOLD states (for the default and GOLD
key definitions on the Mail keypad).
2.4 /STATE
/STATE=(state,state, . . . )
Specifies the name of a state for which the specified key
definitions are to be displayed. If you specify two or more
state names, separate them with commas and enclose the list in
parentheses.
States are used 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.
3 – Examples
1.MAIL> SHOW KEY PF4
DEFAULT keypad definitions:
PF4 = "read" (echo, terminate)
This example shows how to use the SHOW KEY command to display
the definition of the PF4 key. When the PF4 key was defined,
two qualifiers (/ECHO and /TERMINATE) were specified.
2.MAIL> SHOW KEY/ALL
DEFAULT keypad definitions:
PF1 = "directory" (echo, state = FOLDER)
PF2 = "HELP" (echo, terminate)
PF3 = "select" (echo, terminate)
PF4 = "read" (echo, terminate)
PF5 = "NEXT" (echo, terminate)
This example shows how to use the SHOW KEY command to display
all of the key definitions that you have created with the
DEFINE/KEY command.