Configuration options / OPTIONS (Runtime) |
The OPTIONS action KEY instruction defines physical keys for common dialog actions.
OPTIONS { INSERT | DELETE | NEXT | PREVIOUS | ACCEPT | HELP } KEY key-name
This OPTIONS clause can specify physical keys to support logical key functions in the interactive instructions.
The physical key definition options are only provided for backward compatibility with the TUI mode. Use the action defaults configuration to define accelerator keys for actions.
Description of the keys:
The default ACCEPT KEY is ESCAPE.
The default DELETE KEY is F2.
The default INSERT KEY is F1.
The default NEXT KEY is F3.
The default PREVIOUS KEY is F4.
The default HELP KEY is CONTROL-W.
You can specify the following keywords for the physical key names:
Key Name | Description |
---|---|
ESC or ESCAPE | The ESC key (not recommended, use ACCEPT instead). |
INTERRUPT | The interruption key (on UNIX™, interruption signal). |
TAB | The TAB key (not recommended). |
CONTROL-char | A control key where char can be any character except A, D, H, I, J, K, L, M, R, or X |
F1 through F255 | A function key. |
LEFT | The left arrow key. |
RETURN or ENTER | The return key. |
RIGHT | The right arrow key. |
DOWN | The down arrow key. |
UP | The up arrow key. |
PREVIOUS or PREVPAGE | The previous page key. |
NEXT or NEXTPAGE | The next page key. |
You might not be able to use other keys that have special meaning to your version of the operating system. For example, CONTROL-C, CONTROL-Q, and CONTROL-S specify the Interrupt, XON, and XOFF signals on many UNIX systems.