HP OpenVMS Systems Documentation

Content starts here

HP OpenVMS DCL Dictionary


Previous Contents Index


SET KEY

Sets and locks the key definition state for keys defined with the DEFINE/KEY command.

Format

SET KEY


Description

When you define keypad keys using the DEFINE/KEY command, you can assign a specific state name to the key definition. If that state is not set when you press the key, the definition is not processed. Use the SET KEY command to change the current state to the appropriate state.

Qualifiers

/LOG (default)

/NOLOG

Controls whether the system displays a message indicating that the key state has been set.

/STATE=state-name

/NOSTATE

Specifies the name of the state. The state name can be any alphanumeric string. If you omit the /STATE qualifier or use the /NOSTATE qualifier, the current state is left unchanged. The default state is DEFAULT.

Example


$ SET KEY /STATE=EDITING
      

The SET KEY command in this example sets the key state to the state EDITING. You can now use the key definitions that were defined for the state EDITING.


Previous Next Contents Index