13-6IBM 3151 EmulationDefining Function KeysThe keys mapped as F1 through F12 can be redefined from the keyboard or by thehost. The function keys can store up to 128 characters between them and can includeescape sequences and ASCII control characters in addition to character strings. Herewe describe how to define a function key from the keyboard.1. Display the function key menu by pressing the keys Shift + Esc.DEF F: __ .........................................................................................................................Field AField B2. Specify the function key to be defined by entering a two-digit number in field A,for example, 01 for F1, 12 for F12, then press Enter. Field B will display thecurrent definition of the function key.DEF F: 01 ECa................................................................................................................... AID3. In field B, enter the new definition for the function key. This can include acharacter string, escape sequence or control characters.A control character is entered by typing the keyboard equivalent. For example,the CR (carriage return) character is entered by pressing Ctrl + M. Refer to theCharacter Sets appendix to find the keyboard equivalents of other controlcharacters.The following example shows the definition entry for the F1 key so that itdisplays New definition then performs a carriage return when pressed:DEF F: 01 Pericom Software CR ..........................................................................................You can erase the character at the current cursor position by pressing the keysCtrl + 2. If you want to restore the default definition, press the Clear key whilethe cursor is in field B.4. Press the Send key to store the key definition. The function key menu will becleared to allow you to enter the next key definition. If you do not wish to savethe definition, press Ctrl + Shift + Esc instead of Enter.Note that the function keys can store a maximum of 128 characters betweenthem. When this number is reached or exceeded, field A will start blinking andany characters following the 128th character will be discarded.5. Repeat steps 2 to 4 until you have finished defining function keys.6. To exit from the function key menu, press Ctrl + Shift + Esc.