[an error occurred while processing this directive]
HP OpenVMS Systems Documentation |
HP OpenVMS DCL Dictionary
DELETE/KEY
Deletes key definitions that have been established by the DEFINE/KEY command. The /KEY qualifier is required. FormatDELETE/KEY [key-name] Parameter
Qualifiers
|
#1 |
---|
$ DELETE/KEY/ALL %DCL-I-DELKEY, DEFAULT key PF1 has been deleted %DCL-I-DELKEY, DEFAULT key PF2 has been deleted %DCL-I-DELKEY, DEFAULT key PF3 has been deleted %DCL-I-DELKEY, DEFAULT key PF4 has been deleted $ |
In this example, the user has defined keys PF1 to PF4 in the default state. The DELETE/KEY command deletes all key definitions in the current state, which is the default state.
#2 |
---|
$ DEFINE/KEY PF3 "SHOW TIME" /TERMINATE %DCL-I-DEFKEY, DEFAULT key PF3 has been defined $ [PF3] $ SHOW TIME 14-DEC-2001 14:43:59 . . . $ DELETE/KEY PF3 %DCL-I-DELKEY, DEFAULT key PF3 has been deleted $ [PF3] $ |
In this example, the DEFINE/KEY command defines the PF3 key on the keypad as SHOW TIME. To delete the definition for the PF3 key, use the DELETE/KEY command. When the user presses PF3, only the system prompt is displayed.
Previous | Next | Contents | Index |