Library /sys$common/syshlp/SDA.HLB  —  DEFINE  /KEY  Qualifiers

1    /IF_STATE

       /IF_STATE=state_list
       /NOIF_STATE

    Specifies a list of one or more states, one of which must be in
    effect for the key definition to work. The /NOIF_STATE qualifier
    has the same meaning as /IF_STATE=current_state. The state name
    is an alphanumeric string. States are established with the /SET_
    STATE qualifier. If you specify only one state name, you can omit
    the parentheses. By including several state names, you can define
    a key to have the same function in all the specified states.

2    /LOCK_STATE

       /LOCK_STATE
       /NOLOCK_STATE

    Specifies that the state set by the /SET_STATE qualifier remains
    in effect until explicitly changed. By default, the /SET_STATE
    qualifier is in effect only for the next definable key you press
    or the next read-terminating character that you type. You can
    specify this qualifier only with the /SET_STATE qualifier.

    The default is /NOLOCK_STATE.

3    /SET_STATE

       /SET_STATE=state-name
       /NOSET_STATE

    Causes the key being defined to create a key state change instead
    of or in addition to issuing an SDA command. When you use the
    /SET_STATE qualifier, you supply the name of a key state to be
    used with the /IF_STATE qualifier in other key definitions.

    For example, you can define the PF1 key as the GOLD key and use
    the /IF_STATE=GOLD qualifier to allow two definitions for the
    other keys, one in the GOLD state and one in the non-GOLD state.
    For more information on using the /IF_STATE qualifier, see the
    DEFINE/KEY command in the OpenVMS DCL Dictionary or online help.

    The default is /NOSET_STATE.

4    /TERMINATE

       /TERMINATE
       /NOTERMINATE

    Causes the key definition to include termination of the command,
    which causes SDA to execute the command when the defined key
    is pressed. Therefore, you do not have to press the Return key
    after you press the defined key if you specify the /TERMINATE
    qualifier.
Close Help