Change VT Keyboard Map (CHGVTMAP)
The Change VT Keyboard Map (CHGVTMAP) command changes the keyboard mapping values to be used during a VT220 or VT100 TELNET server session. You can specify a maximum of four special values for each parameter. A special value cannot be used to specify more than one OS/400 function. Any parameter that is not specified when this command is run defaults to the current value.
The VT key values that can be specified for this command are:
*BACKSPC (Backspace)
*CSRDOWN (Cursor Down)
*CSRLEFT (Cursor Left)
*CSRRIGHT (Cursor Right)
*CSRUP (Cursor Up)
*CTLA-*CTLG (Control-A through Control-G)
*CTLK-*CTLL (Control-K through Control-L)
*CTLN-*CTLZ (Control-N through Control-Z)
*CTLBSL (Control-Backslash)
*CTLLBKT (Control-Left Bracket)
*CTLQST (Control-Question)
*CTLRBKT (Control-Right Bracket)
*CTLSPC (Control-Space)
*CTLTILDA (Control-Tilda)
*DLT (Delete)
*ESCA-*ESCZ (Escape-A through Escape-Z,
except for Escape-O)
*ESC0-*ESC9 (Escape-0 through Escape-9)
*ESCAMP (Escape-Ampersand)
*ESCAST (Escape-Asterisk)
*ESCAT (Escape-At)
*ESCCFX (Escape-Circumflex)
*ESCDLT (Escape-Delete)
*ESCDOLLAR (Escape-Dollar)
*ESCEQ (Escape-Equal)
*ESCEXCL (Escape-Exclamation)
*ESCLF (Escape-Line Feed)
*ESCLPAR (Escape-Left Parenthesis)
*ESCMINUS (Escape-Minus)
*ESCPCT (Escape-Percent)
*ESCPLUS (Escape-Plus)
*ESCPOUND (Escape-Pound)
*ESCQST (Escape-Question)
*ESCRPAR (Escape-Right Parenthesis)
*ESCTAB (Escape-Tab)
*ESCUS (Escape-Underscore)
*FIND (Find)
*F1-*F20 (F1 through F20)
*INS (Insert Here)
*LF (Line Feed)
*NXTSCR (Next Screen)
*PF1-*PF4 (PF1 through PF4)
*PRVSCR (Previous Screen)
*RETURN (Return)
*RMV (Remove)
*SELECT (Select)
*TAB (Tab)
Note: Some VT100 and VT220 TELNET systems use Control-S and Control-Q to control flow. This is generally referred to as XON/XOFF flow control. If you are using a client system that has XON/XOFF enabled, do not use *CTLS and *CTLQ in your keyboard mapping.
Keyword |
Description |
Choices |
Notes |
ATTN |
5250 Attention |
Values (up to 4 repetitions): Character value |
Optional |
HELP |
5250 Help |
Values (up to 4 repetitions): Character value |
Optional |
DOWN |
Page Down (Roll Up) |
Values (up to 4 repetitions): Character value |
Optional |
UP |
Page Up (Roll Down) |
Values (up to 4 repetitions): Character value |
Optional |
SYSREQ |
System Request |
Values (up to 4 repetitions): Character value |
Optional |
INSERT |
Insert |
Values (up to 4 repetitions): Character value |
Optional |
DELETE |
Delete |
Values (up to 4 repetitions): Character value |
Optional |
ENTER |
Enter |
Values (up to 4 repetitions): Character value |
Optional |
BACKSPC |
Backspace |
Values (up to 4 repetitions): Character value |
Optional |
DUP |
Duplicate |
Values (up to 4 repetitions): Character value |
Optional |
ERSINP |
Erase Input |
Values (up to 4 repetitions): Character value |
Optional |
RESET |
Error Reset |
Values (up to 4 repetitions): Character value |
Optional |
FLDEXIT |
Field Exit |
Values (up to 4 repetitions): Character value |
Optional |
FLDMINUS |
Field Minus |
Values (up to 4 repetitions): Character value |
Optional |
HOME |
Home |
Values (up to 4 repetitions): Character value |
Optional |
NEWLINE |
New Line |
Values (up to 4 repetitions): Character value |
Optional |
PRINT |
Print |
Values (up to 4 repetitions): Character value |
Optional |
FLDADV |
Field Advance |
Values (up to 4 repetitions): Character value |
Optional |
FLDBACK |
Field Backspace |
Values (up to 4 repetitions): Character value |
Optional |
CSRUP |
Cursor Up |
Values (up to 4 repetitions): Character value |
Optional |
CSRDOWN |
Cursor Down |
Values (up to 4 repetitions): Character value |
Optional |
CSRLEFT |
Cursor Left |
Values (up to 4 repetitions): Character value |
Optional |
CSRRIGHT |
Cursor Right |
Values (up to 4 repetitions): Character value |
Optional |
CLEAR |
Clear Screen |
Values (up to 4 repetitions): Character value |
Optional |
TSTREQ |
Test Request |
Values (up to 4 repetitions): Character value |
Optional |
TOGGLE |
Toggle Indicator Lights |
Values (up to 4 repetitions): Character value |
Optional |
REDRAW |
Redraw Screen |
Values (up to 4 repetitions): Character value |
Optional |
F1 |
F1 |
Values (up to 4 repetitions): Character value |
Optional |
F2 |
F2 |
Values (up to 4 repetitions): Character value |
Optional |
F3 |
F3 |
Values (up to 4 repetitions): Character value |
Optional |
F4 |
F4 |
Values (up to 4 repetitions): Character value |
Optional |
F5 |
F5 |
Values (up to 4 repetitions): Character value |
Optional |
F6 |
F6 |
Values (up to 4 repetitions): Character value |
Optional |
F7 |
F7 |
Values (up to 4 repetitions): Character value |
Optional |
F8 |
F8 |
Values (up to 4 repetitions): Character value |
Optional |
F9 |
F9 |
Values (up to 4 repetitions): Character value |
Optional |
F10 |
F10 |
Values (up to 4 repetitions): Character value |
Optional |
F11 |
F11 |
Values (up to 4 repetitions): Character value |
Optional |
F12 |
F12 |
Values (up to 4 repetitions): Character value |
Optional |
F13 |
F13 |
Values (up to 4 repetitions): Character value |
Optional |
F14 |
F14 |
Values (up to 4 repetitions): Character value |
Optional |
F15 |
F15 |
Values (up to 4 repetitions): Character value |
Optional |
F16 |
F16 |
Values (up to 4 repetitions): Character value |
Optional |
F17 |
F17 |
Values (up to 4 repetitions): Character value |
Optional |
F18 |
F18 |
Values (up to 4 repetitions): Character value |
Optional |
F19 |
F19 |
Values (up to 4 repetitions): Character value |
Optional |
F20 |
F20 |
Values (up to 4 repetitions): Character value |
Optional |
F21 |
F21 |
Values (up to 4 repetitions): Character value |
Optional |
F22 |
F22 |
Values (up to 4 repetitions): Character value |
Optional |
F23 |
F23 |
Values (up to 4 repetitions): Character value |
Optional |
F24 |
F24 |
Values (up to 4 repetitions): Character value |
Optional |
5250 Attention (ATTN)
Specifies the VT keys to be mapped to the 5250 Attention key.
5250 Help (HELP)
Specifies the VT keys to be mapped to the 5250 Help key.
Page Down (Roll Up) (DOWN)
Specifies the VT keys to be mapped to the Page Down (Roll Up) key.
Page Up (Roll Down) (UP)
Specifies the VT keys to be mapped to the Page Up (Roll Down) key.
System Request (SYSREQ)
Specifies the VT keys to be mapped to the System Request key.
Insert (INSERT)
Specifies the VT keys to be mapped to the 5250 Insert key.
Delete (DELETE)
Specifies the VT keys to be mapped to the 5250 Delete key.
Enter (ENTER)
Specifies the VT keys to be mapped to the Enter key.
Backspace (BACKSPC)
Specifies the VT keys to be mapped to the Character Backspace key.
Duplicate (DUP)
Specifies the VT keys to be mapped to the 5250 Duplicate key.
Erase Input (ERSINP)
Specifies the VT keys to be mapped to the 5250 Erase Input key.
Error Reset (RESET)
Specifies the VT keys to be mapped to the Error Reset key.
Field Exit (FLDEXIT)
Specifies the VT keys to be mapped to the Field Exit key.
Field Minus (FLDMINUS)
Specifies the VT keys to be mapped to the Field Minus key.
Home (HOME)
Specifies the VT keys to be mapped to the 5250 Cursor Home key.
New Line (NEWLINE)
Specifies the VT keys to be mapped to the 5250 New Line key.
Print (PRINT)
Specifies the VT keys to be mapped to the 5250 Print Screen key.
Field Advance (FLDADV)
Specifies the VT keys to be mapped to the Field Advance key.
Field Backspace (FLDBACK)
Specifies the VT keys to be mapped to the Field Backspace key.
Cursor Up (CSRUP)
Specifies the VT keys to be mapped to the Cursor Up (Up Arrow) key.
Cursor Down (CSRDOWN)
Specifies the VT keys to be mapped to the Cursor Down (Down Arrow) key.
Cursor Left (CSRLEFT)
Specifies the VT keys to be mapped to the Cursor Left (Left Arrow) key.
Cursor Right (CSRRIGHT)
Specifies the VT keys to be mapped to the Cursor Right (Right Arrow) key.
Clear Screen (CLEAR)
Specifies the VT keys to be mapped to the Clear Screen key.
Test Request (TSTREQ)
Specifies the VT keys to be mapped to the Test Request key.
Toggle Indicator Lights (TOGGLE)
Specifies the VT keys that toggle the emulated indicator lights on the display station.
Redraw Screen (REDRAW)
Specifies the VT keys that cause the current display to be redrawn.
F1 (F1)
Specifies the VT F1 key to be mapped to the 5250 Function keys.
F2 (F2)
Specifies the VT F2 key to be mapped to the 5250 Function keys.
F3 (F3)
Specifies the VT F3 key to be mapped to the 5250 Function keys.
F4 (F4)
Specifies the VT F4 key to be mapped to the 5250 Function keys.
F5 (F5)
Specifies the VT F5 key to be mapped to the 5250 Function keys.
F6 (F6)
Specifies the VT F6 key to be mapped to the 5250 Function keys.
F7 (F7)
Specifies the VT F7 key to be mapped to the 5250 Function keys.
F8 (F8)
Specifies the VT F8 key to be mapped to the 5250 Function keys.
F9 (F9)
Specifies the VT F9 key to be mapped to the 5250 Function keys.
F10 (F10)
Specifies the VT F10 key to be mapped to the 5250 Function keys.
F11 (F11)
Specifies the VT F11 key to be mapped to the 5250 Function keys.
F12 (F12)
Specifies the VT F12 key to be mapped to the 5250 Function keys.
F13 (F13)
Specifies the VT F13 key to be mapped to the 5250 Function keys.
F14 (F14)
Specifies the VT F14 key to be mapped to the 5250 Function keys.
F15 (F15)
Specifies the VT F15 key to be mapped to the 5250 Function keys.
F16 (F16)
Specifies the VT F16 key to be mapped to the 5250 Function keys.
F17 (F17)
Specifies the VT F17 key to be mapped to the 5250 Function keys.
F18 (F18)
Specifies the VT F18 key to be mapped to the 5250 Function keys.
F19 (F19)
Specifies the VT F19 key to be mapped to the 5250 Function keys.
F20 (F20)
Specifies the VT F20 key to be mapped to the 5250 Function keys.
F21 (F21)
Specifies the VT F21 key to be mapped to the 5250 Function keys.
F22 (F22)
Specifies the VT F22 key to be mapped to the 5250 Function keys.
F23 (F23)
Specifies the VT F23 key to be mapped to the 5250 Function keys.
F24 (F24)
Specifies the VT F24 key to be mapped to the 5250 Function keys.
CHGVTMAP DOWN(*F8) UP(*F7)
This command changes the VT key mapping for the 5250 Page Down (Roll Up) key to the F8 function key, and the 5250 Page Up (Roll Down) key to the F7 function key.
*ESCAPE Messages
- TCP1340
- &1 command not allowed for this device.
- TCP1341
- Value &1 specified for multiple functions.
- TCP1342
- Value &1 is not valid.
- TCP6B12
- Internal system error occurred in program &1.