|UNIX Session Recorder|
Because UNIX terminals vary widely, the keys mentioned in this book might not be available on your keyboard. This appendix lists the actual keystrokes required to obtain the described functions.
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.
|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
For information on stty, see your UNIX documentation.
detect_alt_ctrlis set to TRUE, then the run-time system detects the Ctrl, Alt, and Shift keys. These keys can then be used for COBOL utilities that would otherwise use the alternate key sequences of /c for Ctrl or /a for Alt. For example, the Development Environment is easier to use if
detect_alt_ctrlcan be set to TRUE. See the chapter Run-time Configuration in your Server Express User's Guide for information on setting
detect_alt_ctrl. If you set
detect_alt_ctrl, each key press is reassigned and the mapped key strokes are not used.
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 start-up, 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 "|"
Copyright © 2000 MERANT International Limited. All rights reserved.
This document and the proprietary marks and names used herein are protected by international law.
|UNIX Session Recorder|