Specifications
Configuring and Managing 3270 Terminal Emulation (TN3270)
19-14
You can list the defaults with this command:
Local> SHOW TN3270 KEYMAP "KEYMAPNAME"
The defaults are shown in the Default Server-Wide Terminal Type and Keyboard
Maps and the Keyboard Map and Terminal Type.
You can display the keyboard mappings associated with a default keyboard map
(VT220 in this example, for a VT420 port device) with this command:
Local> SHOW TN3270 KEYMAP VT220
If this keymapping is the best choice for the port user, you can set up the port to
use the VT420 terminal type, which is associated with the VT220 keyboard map.
Execute the following command to choose the VT220 keyboard map for port 2:
Local> CHANGE PORT 2 TN3270 TERMINAL VT420
The user can now confirm the terminal type and keyboard mapping assignments:
Local> SHOW PORT 2 TN3270 CHARACTERISTICS
Local> SHOW PORT 2 TN3270 KEYMAP
Customizing a Default Keyboard Map for a Port
As a port user, you can customize any of the key definitions on the default
keyboard map to suit your keyboard. For example, the following command
defines the ASCII code for the IBM 3270 NEWLINE function:
Local> CHANGE PORT TN3270 KEYMAP NEWLINE <Ctrl/J>
In this example, the ASCII sequence Ctrl/J maps to the NEWLINE function.
See the Rules for Customizing Keyboard Maps section in this chapter for rules
about customizing keyboard maps.
To display a customized keyboard map for a port, use the SHOW PORT TN3270
KEYMAP command.
For each IBM 3270 function, a given keyboard map definition indicates:
• The defined mnemonics for the ASCII codes that the access server associates
with each IBM 3270 function
• An optional text description of the keystrokes used to produce the ASCII codes










