Because UNIX terminals vary widely, the keys documented in this manual might not be available on your keyboard. This appendix lists the actual keystrokes required to obtain the keys documented.
It also tells you how to select soft or hard operation for the Alt and Ctrl keys. With soft operation, the Alt or Ctrl key is automatically turned off after the next keystroke. This means that whenever you want a function from the Alt menu you must hold down Alt again to get the Alt menu displayed; and similarly with Ctrl. With hard operation, the Alt and Ctrl keys work in a similar way to the Caps Lock key, in that having been pressed, they remain in effect until pressed again.
The following table lists the available functions, the key documented as resulting in that function, the keystrokes required to obtain the documented functions, and whether the keystroke can be configured (Y) or not (x).
|Function||Documented Key||Mapped To||Configurable|
|Alternate Menu (soft)||Alt||/a||Y|
|Alternate Menu (hard)||Alt||/x||Y|
|Control Menu (soft)||Ctrl||/c||Y|
|Control Menu (hard)||Ctrl||/z||Y|
|Caps Lock (upper case)||Caps Lock||/u||Y|
|Interrupt||Ctrl+Break||User defined (see Note 2)||N/A|
|Num Lock||Num Lock||/#||Y|
stty intr ^C
To change the defaults, create the file adiskey.map and enter your choice of keys. (An example file, adiskey.xxx is supplied with this system.) On startup, your COBOL system searches for adiskey.map in the current directory, then in the directory specified by the COBDIR environment variable. If it is not found the defaults are used. The following is an example adiskey.map file:
* Micro Focus ADISKEY keyboard mapping file. Keystrokes are * case insensitive except for TAB which uses Upper-Case-Tab * for the Back-Tab function. An asterisk denotes a comment. * This file shows the default keyboard mapping Meta-Char is "/" Soft-Alt is "a" Soft-Ctrl is "c" Hard-Alt is "x" Hard-Ctrl is "z" Left-Shift is "l" Right-Shift is "r" Caps-Lock is "u" Num-Lock is "#" Scroll-Lock is "s" Insert is "i" Delete is "d" Backspace is "b" Home is "h" End is "e" Page-Up is "p" Page-Down is "n" Tab is "t" Escape is "@" Map-Help is "m" Help is "?" Refresh is "|"