Deletes a key definition that was established with the DEFINE/KEY command or, by default, by the debugger. NOTE This command is not available in the VSI DECwindows Motif for OpenVMS user interface to the debugger. Format DELETE/KEY [key-name]
1 – Parameters
key-name Specifies a key whose definition is to be deleted. Do not use the asterisk (*) wildcard character. Instead, use the /ALL qualifier. Do not specify a key name with /ALL. 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 (,) (,) Keypad minus (-)\) ENTER Enter ENTER ENTER 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
Deletes all key definitions in the specified state. If you do not specify a state, all key definitions in the current state are deleted. To specify one or more states, use /STATE=state-name.
2.2 /LOG
/LOG (default) /NOLOG Controls whether a message is displayed indicating that the specified key definitions have been deleted. The /LOG qualifier (which is the default) displays the message. The /NOLOG qualifier suppresses the message.
2.3 /STATE
/STATE=(state-name [, . . . ]) /NOSTATE (default) Selects one or more states for which a key definition is to be deleted. The /STATE qualifier deletes 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 deletes the key definition for the current state only. 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).
3 – Description
The DELETE/KEY command is like the DCL command DELETE/KEY. Keypad mode must be enabled (SET MODE KEYPAD) before you can use this command. Keypad mode is enabled by default. Related commands: DEFINE/KEY (SET,SHOW) KEY
4 – Examples
1.DBG> DELETE/KEY KP4 %DEBUG-I-DELKEY, DEFAULT key KP4 has been deleted This command deletes the key definition for KP4 in the state last set by the SET KEY command (by default, this is the DEFAULT state). 2.DBG> DELETE/KEY/STATE=(BLUE,RED) COMMA %DEBUG-I-DELKEY, BLUE key COMMA has been deleted %DEBUG-I-DELKEY, RED key COMMA has been deleted This command deletes the key definition for the COMMA key in the BLUE and RED states.