Compaq AA-Q88CE-TE manual Define /KEY key-name equivalence-string, Key-name, Key names

Models: AA-Q88CE-TE

1 320
Download 320 pages 38.47 Kb
Page 133
Image 133

DEFINE /KEY

DEFINE /KEY

Assign a string to a keyboard function key.

Format

DEFINE /KEY key-name "equivalence-string"

Command Qualifiers

Defaults

/ECHO

/ECHO

/IF_STATE

/NOIF_STATE

/LOCK_STATE

/NOLOCK_STATE

/LOG

/NOLOG

/SET_STATE

/NOSET_STATE

/TERMINATE

/NOTERMINATE

Description

This command lets you assign a string to a function key, possibly overriding any predefined function that was bound to that key. When you then press the key, the RTR Utility enters the currently associated string into your command line. The RTR DEFINE /KEY command is similar to the OpenVMS DCL DEFINE /KEY command.

A key definition remains in effect until you redefine the key or exit from the RTR Utility. You can include key definitions in command procedures, e.g. in the RTR Utility initialization file.

The /IF_STATE qualifier lets you increase the number of key definitions available on your terminal. The same key can be assigned any number as long as each definition is associated with a different state.

By default, the current key state is the DEFAULT state. The current state may be changed by pressing a key that causes a state change (that is, a key that was defined with the DEFINE /KEY /STATE command).

Parameters

key-name

Specifies a function key to be assigned a string. Table 6–18 describes the valid key names.

Table 6–18

Key names

 

 

 

 

Key-name

LK201

VT100-type

 

 

 

PF1

PF1

PF1

PF2

PF2

PF2

PF3

PF3

PF3

 

 

(continued on next page)

RTR Command Line Interface 6–57

Page 133
Image 133
Compaq AA-Q88CE-TE manual Define /KEY key-name equivalence-string, Key-name, Key names