3. - Keyboard Mapping

The keyboard mapping for x3270(1) is established by the X Window System resource named

x3270.keymap.pc

which appears in the X Window System application defaults file

/usr/X/lib/app-defaults/X3270

This file is supplied with FLEX-ES and is installed automatically during the standard installation procedure.

Note that this keyboard mapping applies only to the x3270(1) TN3270 protocol front-end terminal emulation program as supplied with FLEX-ES. It does not describe keyboard mappings that may be used with x3270(1) elsewhere, and it does not describe the keyboard mapping used with the non-X Window System tn3270(1) TN3270 protocol front-end terminal emulation program also supplied with FLEX-ES.

It is possible for the system administrator to modify the keyboard mapping established in this file. This should only be done by administrators experienced in the configuration of X Window System resources and keyboard mappings. If this is done, it is strongly recommended that a backup copy of the unmodified file be kept.

The default keyboard mapping is given in the tables below. It associates X Window System keystrokes and keystroke sequences with x3270(1) functions (more technically, with X Toolkit "Actions"). Ordinary alphanumeric keys have their ordinary interpretation, and are not listed below. Terms that appear in bold type name keys; for example, Tab names the "Tab" key. The X Window System Meta key does not appear as such on PC keyboards. In the standard installation procedures, the X Window System Meta key has been remapped to the left Alt key.

There are four tables below:

x3270 Cursor Movement Key Mapping
Keystroke(s) x3270 Function Interpretation
Backspace Left2() Move the cursor left two positions.
DownArrow Right() Move the cursor down one position, wrapping if necessary.
Home Home() Move to the first unprotected field on the screen.
Meta h Left() Move the cursor left one position.
LeftArrow Left() Move the cursor left one position.
Shift LeftArrow Left2() Move the cursor left two positions.
Tab Tab() Tab forward to the next field.
Meta Return Newline() Move to the first column of the next line, if it is unprotected.
If it is protected, move to the first unprotected field beyond it.
RightArrow Right() Move the cursor right one position.
Shift RightArrow Right2() Move the cursor right two positions.
Shift Tab BackTab() Tab backward to the previous field.
UpArrow Right() Move the cursor up one position, wrapping if necessary.

x3270 Editing Key Mapping
Keystroke(s) x3270 Function Interpretation
Meta c Clear() Clear the terminal screen.
Del Delete() Delete a character at the current cursor position.
Meta f EraseEOF() Erase to the end of the Field.
Meta Home Clear() Clear the terminal screen.
Meta i Insert() Set insert mode.
Meta n EraseInput() Erase all input.
Return Enter() Send a "Return" escape sequence to TN3270.

Program Function (PF) Key Mapping
Keystroke(s) x3270 Function Interpretation
F1 PF1() The Program Function 1 key.
F2 PF2() The Program Function 2 key.
etc. etc. etc.
F12 PF12() The Program Function 12 key.
MetaF1 PF13() The Program Function 13 key.
MetaF2 PF14() The Program Function 14 key.
etc. etc. etc.
MetaF24 PF2(4) The Program Function 24 key.

Program Attention (PA) Key Mapping
Keystroke(s) x3270 Function Interpretation
Meta 1 PA1() The Program Attention 1 key.
Meta 2 PA2() The Program Attention 2 key.

x3270 Miscellaneous Key Mapping
Keystroke(s) x3270 Function Interpretation
Meta d Redraw() Redraw the terminal screen.
Meta m FieldMark() The FieldMark key.
Meta r Reset() Reset the terminal lock.
Meta s SysReq() The SysReq key.