Because UNIX terminals vary widely, the keys documented in this manual might not be available on your keyboard. This topic lists the actual keystrokes required to obtain the keys documented.
The table 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 |
/ | / | // | Y |
Escape | Escape | /@ | Y |
F1 | F1 | /1 | x |
F2 | F2 | /2 | x |
F3 | F3 | /3 | x |
F4 | F4 | /4 | x |
F5 | F5 | /5 | x |
F6 | F6 | /6 | x |
F7 | F7 | /7 | x |
F8 | F8 | /8 | x |
F9 | F9 | /9 | x |
F10 | F10 | /0 | x |
F11 | F11 | /- | x |
F12 | F12 | /= | x |
Backspace | Backspace | /b | Y |
Backtab | Backtab | /T | Y |
Caps Lock (upper case) | Caps Lock | /u | Y |
Delete | Del | /d | Y |
End | End | /e | Y |
Help | F1 | /? | Y |
Home | Home | /h | Y |
Insert | Ins | /i | Y |
Interrupt | Ctrl+Break | User defined (see Note 2) | N/A |
Left Shift | Shift | /l | Y |
Maphelp | /m | Y | |
Num Lock | Num Lock | /# | Y |
Page Up | Page-Up | /p | Y |
Page Down | Page-Down | /n | Y |
Refresh | Refresh | /| | Y |
Right Shift | Shift | /r | Y |
Scroll Lock | Scroll | /s | Y |
Tab | Tab | /t | 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 "|"