


To define a menu key in a character-based environment, assign the edit-action "Menu" to a key with the KEYSTROKE variable in your COBOL configuration file. For example, to make the <F1> key a menu key, place this line into your configuration file:
KEYSTROKE Edit=Menu k1
Keys and their key codes (such as k1) are listed in Chapter 4, section 4.3.2.3, of Book 1, "User's Guide."
You can also define a menu key within your program with SET ENVIRONMENT. For example,
SET ENVIRONMENT "KEYSTROKE" TO "Edit=Menu k1"