The text of a manual · part 28 of 37
PPT 4300 Series Product Reference Guide: Appendix B Key Mapping for Terminal Emulators, pages 233 to 240
Pages 233 to 240 of 326, from PPT 4300 Series Product Reference Guide
The original document is the PDF (3.8 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Symbol PPT-4340
Page 233
Appendix B Key Mapping for Terminal Emulators Chapter Contents Default Key Maps for Terminal Emulators. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-3 Default VT220 Key Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-4 Default 3270 Key Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-6 Default 5250 Key Map . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-7 Custom Key Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-8 Keys Available for Re-Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-10 Key Function Labels for Custom Key Mapping . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13 Creating new VT220 functions . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . B-13
B-1
Page 234
PPT 4300 Series Product Reference Guide
B-2
Page 235
Key Mapping for Terminal Emulators
Default Key Maps for Terminal Emulators The terminal comes with four default key maps for terminal emulation: two for the VT220 emulation, one for the TN3270 emulation, and one for the TN5250 emulation. Your facility may also provide one or more custom key maps for any terminal emulation, up to a total of three custom key maps. The keymap.cfg file defines the default key map for a host. This is the key map that is used when you first establish a connection to the host. To change key maps temporarily during an active session, press <Shift-Alt-O> on the terminal to display the Terminal Emulation Options screen. Press a highlighted character to select a key map. For more information on this screen, and on other emulation-specific options, see Chapter 4, Using the Terminal Emulators.
VT220 Key Map We offer two VT220 emulation key mappings: a standard VT220 key map, and a nonstandard key map for use with some applications. Default VT220 key maps are shown in Table B-1. Use the non-standard mapping with any application that starts mapping function keys at <F6> rather than <F1>. See Table B-5 for the Function and Key Labels required for creating a custom key map.
3270 Key Map The default 3270 key map is shown in Table B-2. See Table B-6 for the Function and Key Labels required for creating a custom key map.
5250 Key Map The default 5250 key map is shown in Table B-3. See Table B-7 for the Function and Key Labels required for creating a custom key map.
B-3
Page 236
PPT 4300 Series Product Reference Guide
Default VT220 Key Map Table B-1. Default VT220 Keys and Functions VT220 Function
B-4
Std VT220
Non-Std VT220
Key String
F6
F6
F1
[17~
F7
F7
F2
[18~
F8
F8
F3
[19~
F9
F9
F4
[20~
F10
F10
F5
[21~
F11
F11 or Ctrl-F1
F6
[23~
F12
F12 or Ctrl-F2
F7
[24~
F13
Ctrl-F3
F8
[25~
F14
Ctrl-F4
F9
[26~
F15 (Help)
F5 or Ctrl-F5
Ctrl-F1 or Ctrl-F6 or Ctrl-F10 [28~
F16 (Do)
Ctrl-F6
Home
[29~
F17
Ctrl-F7
F10
[31~
F18
Ctrl-F8
F11
[32~
F19
Ctrl-F9
F12
[33~
F20
Ctrl-F10
Shift-F1
[34~
PF1
F1
Shift-F2
OP
PF2
F2
Shift-F3
OQ
PF3
F3
Shift-F4
OR
PF4
F4
Shift-F5
OS
Compose character
Alt-C
Alt-C not supported
Disconnect
Shift-Alt-X
Shift-Alt-X local
Delete (Boxed X)
Backspace
Backspace
BS
Find
Insert (Ins)
Shift-F12
[1~
Insert Here
Home
Insert (Ins)
[2~
Previous
End
(PgUp)
[5~
Page 237
Key Mapping for Terminal Emulators
Table B-1. Default VT220 Keys and Functions VT220 Function
Std VT220
Non-Std VT220
Key String
Next
(PgDn)
End
[6~
Remove
(PgUp)
Delete (Del)
[3~
Return
Enter
Enter
CR or CR/LF
Select
Delete (Del)
Shift-F11
[4~
Linefeed
Ctrl-J
Ctrl-J
LF
TAB
< - Tab ( | - > |)
| < - Tab (, > |)
HT
PgDn
[7~
Aux. keypad 0
Alt-0
Alt-0
\033Op
Aux. keypad 1
Alt-1
Alt-1
\033Oq
Aux. keypad 2
Alt-2
Alt-2
\033Or
Aux. keypad 3
Alt-3
Alt-3
\033Os
Aux. keypad 4
Alt-4
Alt-4
\033Ot
Aux. keypad 5
Alt-5
Alt-5
\033Ou
Aux. keypad 6
Alt-6
Alt-6
\033Ov
Aux. keypad 7
Alt-7
Alt-7
\033Ow
Aux. keypad 8
Alt-8
Alt-8
\033Ox
Aux. keypad 9
Alt-9
Alt-9
\033Oy
Aux. keypad -
Alt--
Alt--
\033Om
Aux. keypad ,
Alt-,
Alt-,
\033Ol
Aux. keypad .
Alt-.
Alt-.
\033On
Aux. keypad Enter
Alt-Enter
Alt-Enter
\033OM
B-5
Page 238
PPT 4300 Series Product Reference Guide
Default 3270 Key Map Table B-2. Default 3270 Keys and Functions 3270 Function Attention
Alt-A
Disconnect from host
Shift-Alt-X
Backspace
Backspace (
Clear
Alt-C or PgDn
Delete
Delete (Del)
Duplicate
Alt-D
Enter
Enter
Erase End of Field
End
Erase Input
Ctrl-Backspace
Field Mark
Alt-F
Home
Home
Insert
Insert (Ins)
Mono Case
Alt-M
Newline
Ctrl-Enter or Ctrl-J
Pen TAB
Alt -T
Pen Select
Alt-S
Reset
Ctrl-R, PgUp or Esc (Fn-F1)
Tab
< - Tab ( | - > |)
Back-Tab
< - Shift-Tab ( | - > |)
PF1 to PF12
F1 to F12
PF13 to PF24
Shift-F1 to Shift-F12
PA1 to PA3
Alt-F1 to Alt-F3
¬
Alt- - (dash), or Shift-6
¢
Alt-4
|
Alt-\
➞
B-6
Terminal Key
)
Page 239
Key Mapping for Terminal Emulators
Default 5250 Key Map Table B-3. Default 5250 Keys and Functions 5250 Function
Terminal Key
Attention
Esc
Disconnect from host
Shift-Alt-X
Clear
Alt-C
Delete
Alt-D
Error Reset
Ctrl
Erase Input
Alt-Backspace
Field Advance
Tab
Field Backspace
Shift-Tab
Field Exit
Home
Field Minus
Alt-- (hyphen)
Field Plus
Alt-= (equals)
Help
End
Home
Alt-Home
Newline
Alt-Enter
Pen Select
Alt-S
Sys Request
SysReq (Fn-Del)
TestReq
Alt-T
F1 - F12
F1 - F12
F13 - F24
Shift-F1 - Shift-F12
| (long vertical bar)
Alt-\
¢ (cent sign)
Alt-4
¬
Alt-6
B-7
Page 240
PPT 4300 Series Product Reference Guide
Custom Key Mapping You can create up to three custom key maps for a terminal, for any of the three available terminal emulations. Custom key maps can be defined as part of the terminal’s configuration. Sample versions of these files are available from Symbol. You can assign a custom key map to a host on the Host Choice List (see Creating the Host Choice List on page 7-15). You may also select a custom key map as an option on the Terminal Emulation Options screen (<Shift-Alt-O>): once defined, custom key maps appear on the Terminal Emulation Options screen, listed under the appropriate emulator, with the name you gave it in the keymap.cfg file, and a highlighted number. Press the highlighted number to select the custom key map. The default key maps for TN3270, TN5250, and VT220 also remain available as options.
How to Create a Custom Key Map To create a custom key map: 1. Make a backup copy of the keymap.cfg file (usr/appl/awte/keymap/ keymap.cfg). 2. Open the keymap.cfg file in the NED text editor (type: ned usr/appl/awte/keymap/keymap.cfg). 3. Enter the key map customizations you want, as shown in Figure B-1. Table B-4 displays the functions and keys available for re-mapping and default key mappings for each emulation we currently support. Each custom keymap begins with newKeyMap, followed by the terminal emulation type, and the name of the custom key map, in parentheses. You must group all function definitions together, followed by all key mappings within a newKeyMap definition. For example, Figure B-1 shows this entry: newKeyMap(3270, “CKT 3270”);. Here, the custom key map is for a 3270 emulation called CKT 3270. Map the custom keys as shown in Figure B-1. See Key Function Labels for Custom Key Mapping on page B-13 for more detailed information on mapping specific keys. Note: You only need to map the keys that are different from the default key mapping for the emulation. Figure B-1 shows part of a sample keymap.cfg file.
B-8