A P P E N D I X  A

Keyboard Mapping

This appendix provides information about the following keyboard equivalents for 3270 functions:

The following key files are shipped with Sun MTP and are located in the $UNIKIX/lib directory:

dtterm.key

ncd101.key

sun.key

xterms.key

ncd97.key

sun-cmd.key

xterm.key

ncdvt.key

vt200.key

vt320.key

vt100.key

wy50.key


Most of these .key files are used automatically, based on the value of the TERM environment variable. The ncdxxx.key files are used in conjunction with
TERM=xterms to specify the keyboard used with an X Terminal. These key files are used with the xxxstart and xxxunikix utilities. Refer to the Sun Mainframe Transaction Processing Software Reference Guide for more information about these utilities and the kixkeydef utility.

If these utilities are not used and TERM=xterms or TERM=xterm, the default keyboard selected is the NCD 101-key keyboard. The key files are described in Key Files.


NCD 101-Key Keyboards

Keyboard mapping for TERM=xterms with an NCD 101-key keyboard.

3270 Function

Keyboard Legend

UP

Up arrow

DOWN

Down arrow

LEFT

Left arrow

LEFT

Backspace

RIGHT

Right arrow

TAB

Tab

BTAB

Shift - Tab

ERAEOF

Page Down

ERAINP

Page Up

INSMODE

Insert

DEL

Delete

ENTER

Keypad Enter

CLEAR

Keypad add (+)

RESET

Keypad subtract (-)

HOME

Home

REFRESH

Control-l (lowercase L)

PF1 through PF12

F1 through F12

PA1

Keypad divide (/)

PA2

Keypad multiply (*)

PA3

Linefeed

PRINT

End



NCD 97-Key Keyboards

Keyboard mapping for TERM=xterms with an NCD 97-key keyboard.

3270 Function

Keyboard Legend

UP

Up arrow or Keypad 8

DOWN

Down arrow or Keypad 2

LEFT

Left arrow or Backspace or Keypad 4

RIGHT

Right arrow or Keypad 6

TAB

Tab

BTAB

Shift - Tab

ERAEOF

Keypad 3

ERAINP

Keypad 9

INSMODE

Keypad 0

DEL

Keypad decimal (.) or Delete

ENTER

Keypad Enter

CLEAR

Keypad separator (,)

RESET

Keypad subtract (-)

HOME

Keypad 7

REFRESH

PF4 or Control-l (lowercase L)

PF1 through PF12

F1 through F12

PA1 through PA3

PF1 through PF3

PRINT

Keypad 1




Note - The numeric keypad does not generate numerics.




VT-type Keyboards

Keyboard mapping for TERM=vt100, vt200, or vt320.

3270 Function

Keyboard Legend

UP

Up arrow

DOWN

Down arrow

LEFT

Left arrow

LEFT

Backspace

RIGHT

Right arrow

TAB

Tab

BTAB

Shift - Tab

ERAEOF

Next Screen

ERAINP

Remove

INSMODE

Find

DEL

Select

ENTER

Keypad Enter

CLEAR

Keypad separator (,)

RESET

Keypad subtract (-)

HOME

Insert Here

REFRESH

PF4 or Control-l (lowercase L)

PF1 through PF12

F1 through F12

PA1 through PA3

PF1 through PF3

PRINT

Prev Screen



Sun Keyboards

Keyboard mapping for TERM=sun or TERM=sun-cmd.

3270 Function

Keyboard Legend

UP

Keypad Up arrow

DOWN

Keypad Down arrow

LEFT

Backspace or Delete

RIGHT

Keypad Right arrow

TAB

Tab

BTAB

Shift - Tab

RETURN

Return or Linefeed

HOME

Home

INSERT

Insert

DEL

Delete

ENTER

Enter

CLEAR

Keypad add (+)

RESET

Keypad subtract (-)

REFRESH

Control-l (lowercase L)

PF1 through PF12

F1 through F12

PF11

Pause

PF13 through PF24

Escape F1 through Escape F122

PF13

Escape Pause

PA1

Keypad equal (=)

PA2

Keypad divide (/)

PA3

Keypad multiply (*)

1. Under Sunview, Pause must be used for PF1.2. The Escape key is pressed followed by the function key desired.


Default X Keyboards

Keyboard mapping for TERM=xterms or TERM=xterm (no keyboard specified).



Note - This keyboard definition is identical to the NCD 101-keyboard definition used when ncd101unikix or ncd101start are executed.



3270 Function

Keyboard Legend

UP

Up arrow

DOWN

Down arrow

LEFT

Left arrow

LEFT

Backspace

RIGHT

Right arrow

TAB

Tab

BTAB

Shift - Tab

ERAEOF

Page Down

ERAINP

Page Up

INSMODE

Insert

DEL

Delete

ENTER

Keypad Enter

CLEAR

Keypad add (+)

RESET

Keypad subtract (-)

HOME

Home

REFRESH

Control-l (lowercase L)

PF1 through PF12

F1 through F12

PA1

Keypad divide (/)

PA2

Keypad multiply (*)

PA3

Linefeed

PRINT

End



Desktop Terminal Keyboards

Keyboard mapping for TERM=dtterm (no keyboard specified).

3270 Function

Keyboard Legend

UP

Up arrow

DOWN

Down arrow

LEFT

Left arrow

LEFT

Backspace

RIGHT

Right arrow

TAB

Tab

BTAB

Shift - Tab

ERAEOF

Page Down

ERAINP

Page Up

INSMODE

Insert

DEL

Delete

ENTER

Keypad Enter

CLEAR

Keypad add (+)

RESET

Keypad subtract (-)

REFRESH

Control-l (lowercase L)

PF1 through PF10

F1 through F10

PA1

Keypad divide (/)

PA2

Keypad multiply (*)

PRINT

End