HELPLIB.HLB  —  DEFINE  /KEY  Qualifiers

1    /ECHO

       /ECHO (default)
       /NOECHO

    Displays the equivalence string on your screen after the key
    has been pressed. You cannot use the /NOECHO qualifier with the
    /NOTERMINATE qualifier.

2    /ERASE

       /ERASE
       /NOERASE (default)

    Determines whether the current line is erased before the key
    translation is inserted.

3    /IF_STATE

       /IF_STATE=(state-name,...)
       /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 or the SET KEY command. 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.

4    /LOCK_STATE

       /LOCK_STATE
       /NOLOCK_STATE (default)

    Specifies that the state set by the /SET_STATE qualifier remain
    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.) This
    qualifier can be specified only with the /SET_STATE qualifier.

5    /LOG

       /LOG (default)
       /NOLOG

    Displays a message indicating that the key definition has been
    successfully created.

6    /SET_STATE

       /SET_STATE=state-name
       /NOSET_STATE (default)

    Causes the specified state-name to be set when the key is
    pressed. (By default, the current locked state is reset when
    the key is pressed.) If you have not included this qualifier with
    a key definition, you can use the SET KEY command to change the
    current state. The state name can be any alphanumeric string;
    specify the state as a character string enclosed in quotation
    marks.

7    /TERMINATE

       /TERMINATE
       /NOTERMINATE (default)

    Specifies whether the current equivalence string is to be
    processed immediately when the key is pressed (equivalent to
    entering the string and pressing Return). By default, you can
    press other keys before the definition is processed. This allows
    you to create key definitions that insert text into command
    lines, after prompts, or into other text that you are entering.
Close Help