Put your logo here!

TOC PREV NEXT INDEX



B

Keyboards

This appendix describes the optional keyboards available with a network computer, the key codes and default keysym-to-key-code mappings the keyboards use, how to remap key codes, and how to set keyboard configuration.

Optional KeyboardsOptional Keyboards
French Canadian Keyboard
Using UIS with a French Canadian Keyboard
Key Codes, Keysyms, and Key MappingsKey Codes, Keysyms, and Key Mappings
Keyboard Figures showing Key Codes for Supported KeyboardsKeyboard Figures showing Key Codes for Supported Keyboards
Key Codes for the 101 with Setup North American KeyboardKey Codes for the 101 with Setup North American Keyboard
Key Codes for the 104 Key Windows 95 Keyboard, North AmericanKey Codes for the 104 Key Windows 95 Keyboard, North American
Key Codes for the 101 with Pause North American KeyboardKey Codes for the 101 with Pause North American Keyboard
Key Codes for the 102 with Setup United Kingdom KeyboardKey Codes for the 102 with Setup United Kingdom Keyboard
Key Codes for the 102 with Pause United Kingdom KeyboardKey Codes for the 102 with Pause United Kingdom Keyboard
Key Codes for the VT200/LK401-Style North American KeyboardKey Codes for the VT200/LK401-Style North American Keyboard
Key Codes for the UNIX KeyboardKey Codes for the UNIX Keyboard
Key Codes for the 3270 KeyboardKey Codes for the 3270 Keyboard
Key Codes for the Sun V Keyboard, KS 1Key Codes for the Sun V Keyboard, KS 1
Key Codes for the 105 Key Windows 95 Keyboard, EuropeanKey Codes for the 105 Key Windows 95 Keyboard, European
Eurokey KeyboardEurokey Keyboard
Default Key Maps for KeyboardsDefault Key Maps for Keyboards
Remapping Key CodesRemapping Key Codes
7-Bit International Fonts7-Bit International Fonts
Disabling the Keyboard Reboot FunctionDisabling the Keyboard Reboot Function
Num LockNum Lock
National Keyboard SupportNational Keyboard Support
DECwindows Keyboard DifferencesDECwindows Keyboard Differences
Customizing the Keyboard ConfigurationCustomizing the Keyboard Configuration
Keyboard LEDsKeyboard LEDs

Optional Keyboards

You can order a network computer with one of several keyboard types-- Windows 95, Sun V, or 3270--in a variety of nationalities.

Table B-1 shows the available nationality options for each keyboard type available from NCD. Additionally, NCD can support a variety of customized keyboards.
Table B-1 Keyboard Nationalities and Options

Nationality
SunV
3270
NCD Windows 95
North American
KS1
XPFYN
KB-US
Danish/
Norwegian



Japan



French

XPFYB
KB-FR
German

XPFYG
KB-GR
Italian


KB-IT
Spanish



French Canadian


KB-FC
Swedish/Finnish


KB-SF
Swiss-German



United Kingdom
XPFSA
XPFYA
KB-UK
Latin American


KB-LS

Your network computer is factory-configured for the keyboard type and nationality you ordered. You can change keyboards at a later date, and you can display the Setup messages and text in a language other than your keyboard nationality. Use selections on the Main Menu of Setup to specify the keyboard type, keyboard nationality, and the language.

The Katakana 102 keyboard selection now supports a 105-key Katakana keyboard. This keyboard has a Kana Lock key and LED that are supported with the JUS Language Shift mechanism. For more information, refer to Table B-9.

French Canadian Keyboard

This topic presents three ways to set up a network computer to use a French Canadian Windows 95 keyboard for Unix and ICA sessions.

Boot Monitor Method

This method involves entering two commands at the Boot Monitor prompt:

  1. Using the keyid command, set the LAYOUT to CUSTOM in the boot ROM.
  2. Use the kfile command to set the custom keyboard mapping file name to kb102frca0001. (You can also use the keyid command to do this.)
Remote Configuration File Method

This is an alternative to entering commands at the NC keyboard:

  1. Put these commands in the xp.cnf remote configuration file:

keyboard_type CUSTOM

key_map_file kb102frca0001

Setup Method

Another alternative is to set up the NC for the French Canadian keyboard to use local setup.

  1. In setup, set the Keyboard Type to CUSTOM.
  2. Set the Mapping File to kb102frca0001.

You can optionally turn on or turn off the compose sequences in the file using the compose_sequences YES | NO command in xp.cnf. Another way to do this is to use the Compose Sequences button in setup.

Using UIS with a French Canadian Keyboard

This topic explains how to configure a network computer to use NCD WinCenter for MetaFrame or Citrix UIS (Unix Integration Services) on a French Canadian keyboard. This provides full functionality for Unix and Windows sessions.

  1. Specify the kb102frca0001 (French Canadian keyboard) file as the keyboard file in the remote configuration (xp.cnf) file (or manually assign it in the TekSetup menu).
  2. On the Windows NT or Windows 2000 server, go to Control Panel > Keyboards > Input Locales and select the "French Canadian-Multilingual" keyboard type. This allows you to use the special AltCar key as well as enter your name at the logon prompt.
  3. Navigate to Start > Programs > Uis and select the Configuration Manager tab.
  4. For users connecting over an X protocol, select French Canadian - Multilingual.
  5. In the left frame of the Configuration Manager dialog, expand the Clients folder and select the group or user you are setting up.
  6. Click the Other tab, then right click on the keyboard layout item. (Note, this item is grayed out.)
  7. Uncheck the "Use default" command.
  8. From the drop-down list of keyboard types, select the Canadian French - Multilingual keyboard.
  9. Right click on the keyboard layout item and select the Save command.
  10. Use the keymapper utility included in UIS to set up special keys and remap any incorrectly mapped keys. You can specify mappings on a per user or group basis.

Key Codes, Keysyms, and Key Mappings

Each style of keyboard used by the network computer has a specific set of key codes that are transmitted by its keys. The key code assignments never change for a particular keyboard. You can assign from one to four keysyms, which are the identifiers for particular characters or control functions, to each key code. Keysyms define the character(s) generated when the key is pressed. Key mappings are sets of keysym-to-key-code assignments that allow the user flexibility in choosing what character(s) each key produces. Default mappings are defined for each keyboard and nationality. You can generate other mappings, such as the Dvorak keyboard.

Key Codes for Supported Keyboards

Figures B-1 through B-11 show the key codes for the keyboards NCBridge supports.

Figure B-1 Key Codes for the 101 with Setup North American Keyboard

Figure B-2 Key Codes for the 104 Key Windows 95 Keyboard, North American

Figure B-3 Key Codes for the 101 with Pause North American Keyboard

Figure B-4 Key Codes for the 102 with Setup United Kingdom Keyboard

Figure B-5 Key Codes for the 102 with Pause United Kingdom Keyboard

Figure B-6 Key Codes for the VT200/LK401-Style North American Keyboard

Figure B-7 Key Codes for the UNIX Keyboard

Figure B-8 Key Codes for the 3270 Keyboard

Figure B-9 Key Codes for the Sun V Keyboard, KS 1

Figure B-10 Key Codes for the 105 Key Windows 95 Keyboard, European

Figure B-11 Eurokey Keyboard

Default Key Maps for Keyboards

Tables B-2 through B-6 list the default key maps. The maximum key code that can be redefined by the "Alt GR" key (the Japan UNIX Society (JUS) mechanism) is 140. Look at the following tables to see which keys cannot be given alternate graphics characters--the maximum key code is 255.
Table B-2 lists keyboard codes.
Table B-4 lists the keysym differences for other LK401 keyboard versions. Table B-5 lists modifier definitions.
Table B-6 lists compose sequence output keycodes for LK401 keyboards (except North American).
Table B-7 lists compose sequence output keycodes for the 3270 keyboard.

You can display the key map of your keyboard by entering:

xmodmap -pm -pk

Note: L1 through L10 have the same keysym value as F11 through F20, respectively; R1 through R15 have the same keysym value as F21 through F35, respectively.
Table B-2

Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
8
 
 
 
 
 
 
 
 
 
 
 
  
9
 
 
 
 
 
 
 
 
ffcc
L5 (F15)
 
 
10
 
 
 
 
 
 
 
 
ffc8
L1 (F11)
 
 
11
 
 
 
 
 
 
 
 
ffca
L3 (F13)
 
 
13
 
 
 
 
 
 
 
 
ffce
L7 (F17)
 
 
14
 
 
 
 
 
 
 
 
ffd0
L9 (F19)
 
 
15b
ffbe
F1
 
 
ffbe
F1
 
 
ffbe
F1
 
 
16
ff1b2
Escape
 
 
ff91
KP_F1
 
 
ffc9
L2 (F12)
 
 
17
 
 
 
 
003c
less
003e
greater
ffd1
L10 (F20)
 
 
18b
 
 
 
 
ff1b
Escape
 
 
 
 
 
 
19b
 
 
 
 
ffc9
F12
 
 
 
 
 
 
20b
 
 
 
 
ffca
F13
 
 
 
 
 
 
21
ff09
Tab
 
 
ff09
Tab
 
 
ff09
Tab
 
 
22
0060
grave
007e1
00ac2
ascii-
tilde1
not-
sign2
0060
grave
007e
ascii-
tilde
ff1b
Escape
 
 
Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms
a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11), LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
1 North American 101-Key Keysyms
2 United Kingdom 102-Key Keysyms


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
23b
ffbf
F2
 
 
ffbf
F2
 
 
ffbf
F2
 
 
24
 
 
 
 
 
 
 
 
ff6a
Help
ff6a
Help
25
ffe3
Control-
_L1
Caps-
_Lock2
 
 
ffe3
Control-
_L
 
 
ffe5
Caps-
_Lock
 
 
26
ffe1
Shift-
_L
 
 
ffe1
Shift_L
 
 
ffe1
Shift_L
 
 
27
005c1
back-
slash1
007c1
bar1
 
 
 
 
ffe2
Shift_R
 
 
28
ffe5
Caps-
_Lock1
Control-
_L2
 
 
ffe5
Caps-
_Lock
 
 
ffe3
Control-
_L
 
 
29
0051
Q
 
 
0051
Q
 
 
0051
Q
 
 
30
0031
1
0021
exclam
0031
1
0021
exclam
0031
1
0021
exclam
31
ffc0
F3
 
 
 
 
 
 
ffc0
F3
 
 
32
 
 
 
 
 
 
 
 
 
 
 
 
33b
ffe9
Alt_L
 
 
ffe9
Alt_L
ff20
Multi-
_key
ffe7
Meta_L
 
 
34
005a
Z
 
 
005a
Z
 
 
005a
Z
 
 
35
0053
S
 
 
0053
S
 
 
0053
S
 
 
36
0041
A
 
 
0041
A
 
 
0041
A
 
 
37
0057
W
 
 
0057
W
 
 
0057
W
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For blank values, keysym name is
NoSymbol. Shifting alphabetic characters gives uppercase character, but there is no additional shift name or shift value.

b Refer to Table B-4 for keysym differences: LK401 VMS (F11), LK401 X (ESC-BS-FL),
LK401 X (F11-F13) keyboards.

1 North American 101-Key with Setup Keysyms.

2 United Kingdom 102-Key with Setup Keysyms and North American 101 Pause key Keysyms.


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
38
0032
2
00401
00222
at1
quote-
dbl2
0032
2
0040
at
0032
2
0040
at
39
ffc1
F4
 
 
ffc1
F4
 
 
ffc1
F4
 
 
40
 
 
 
 
ffe93
Alt_L
 
 
ff20
Multi-
_key
 
 
41
0043
C
 
 
0043
C
 
 
0043
C
 
 
42
0058
X
 
 
0058
X
 
 
0058
X
 
 
43
0044
D
 
 
0044
D
 
 
0044
D
 
 
44
0045
E
 
 
0045
E
 
 
0045
E
 
 
45
0034
4
0024
dollar
0034
4
0024
dollar
0034
4
0024
dollar
46
0033
3
00231
00a32
number-
sign1
sterling2
0033
3
0023
number-
sign
0033
3
0023
number-
sign
 
 
 
 
 
 
 
 
 
 
 
 
 
47b
ffc2
F5
 
 
ffc2
F5
 
 
ffc2
F5
 
 
48
 
 
 
 
 
 
 
 
ffcb
L4 (F14)
 
 
49
0020
space
 
 
0020
space
 
 
0020
space
 
 
50
0056
V
 
 
0056
V
 
 
0056
V
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
1 North American 101-Key Keysyms.
2 United Kingdom 102-Key Keysyms.
3 LK401 keyboard only.


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
51
0046
F
 
 
0046
F
 
 
0046
F
 
 
52
0054
T
 
 
0054
T
 
 
0054
T
 
 
53
0052
R
 
 
0052
R
 
 
0052
R
 
 
54
0035
5
0025
percent
0035
5
0025
percent
0035
5
0025
percent
55
ffc3
F6
 
 
ffc3
F6
 
 
ffc3
F6
 
 
56
 
 
 
 
ffeac
Alt_R
 
 
ffea
Alt_R
 
 
57
004e
N
 
 
004e
N
 
 
004e
N
 
 
58
0042
B
 
 
0042
B
 
 
0042
B
 
 
59
0048
H
 
 
0048
H
 
 
0048
H
 
 
60
0047
G
 
 
0047
G
 
 
0047
G
 
 
61
0059
Y
 
 
0059
Y
 
 
0059
Y
 
 
62
0036
6
005e
ascii-
circum
0036
6
005e
ascii-
circum
0036
6
005e
ascii-
circum
63
ffc4
F7
 
 
ffc4
F7
 
 
ffc4
F7
 
 
64
 
 
 
 
 
 
 
 
 
 
 
 
65
ffea
Alt_R
 
 
ffe8c
Meta_R
 
 
ffe8
Meta_R
 
 
66
004d
M
 
 
004d
M
 
 
004d
M
 
 
67
004a
J
 
 
 
 
 
 
004a
J
 
 
68
0055
U
 
 
 
 
 
 
0055
U
 
 
69
0037
7
0026
amper-
sand
0037
7
0026
amper-
sand
0037
7
0026
amper-
sand
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
c LK401 keyboard only.


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
70
0038
8
002a
asterisk
0038
8
002a
asterisk
0038
8
002a
asterisk
71
ffc5
F8
 
 
ffc5
F8
 
 
ffc5
F8
 
 
72
 
 
 
 
 
 
 
 
 
 
 
 
73b
002c
comma
003c
less
002c
comma
 
less
002c
comma
003c
less
74
004b
K
 
 
004b
K
 
 
004b
K
 
 
75
0049
I
 
 
0049
I
 
 
0049
I
 
 
76
004f
O
 
 
004f
O
 
 
004f
O
 
 
77
0030
0
0029
paren-
right
0030
0
0029
paren-
right
0030
0
0029
paren-
right
78
0039
9
0028
paren-
left
0039
9
0028
parenleft
0039
9
0028
parenleft
79
ffc6
F9
 
 
ffc6
F9
 
 
ffc6
F9
 
 
80
 
 
 
 
 
 
 
 
ffcd
L6 (F16)
 
 
81b
002e
period
003e
greater
002e
period
 
 
002e
period
003e
greater
82
002f
slash
003f
question
002f
slash
003f
question
002f
slash
003f
question
83
004c
L
 
 
004c
L
 
 
004c
L
 
 
84
003b
semi-
colon
003a
colon
003b
semi-
colon
003a
colon
003b
semi-
colon
003a
colon
85
0050
P
 
 
0050
P
 
 
0050
P
 
 
86
002d
minus
005f
under-
score
 
 
 
 
002d
minus
005f
under-
score
87
ffc7
F10
 
 
ffc7
F10
 
 
ffc7
F10
 
 
88
 
 
 
 
ffcb
F14
 
 
 
 
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
89
 
 
 
 
ff6a
Help
 
 
005c
back-
slash
007c
bar
90
0027
apos-
trophe
00221
00402
quote-
dbl1
at2
0027
apos-
trophe
0022
quote-
dbl
0027
apos-
trophe
0022
quotedbl
91
005c1
232
backlash1
number-sign2
007c1
007c2
bar1
ascii-
tilde2
005c
back-
slash
007c
bar
 
 
 
 
92
005b
bracket-
left
007b
brace-
left
005b
bracket-
left
007b
brace-
left
005b
bracket-
left
007b
braceleft
93
003d
equal
002b
plus
003d
equal
002b
plus
003d
equal
002b
plus
94
ffc8
F11
 
 
 
 
 
 
1005ff10
SunF36
 
 
95
ff0a3
ff614
Linefeed3
Print4
ff0a4
Line-feed4
ff94
KP_F4
 
 
ffd2
R1 (F21)
ff13
Pause
96
ffe4
Control-
_R
 
 
 
 
 
 
ffe9
Alt_L
 
 
97b
ffe2
Shift_R
 
 
ffe1
Shift_L
 
 
ff0a
Line-
feed
 
 
98
ff0d
Return
 
 
ff0d
Return
 
 
ff0d
Return
 
 
99
005d
bracket-
right
007d
brace-
right
005d
bracket-
right
007d
brace-
right
005d
bracket-
right
007d
brace-
right
100
005c1
back-
slash1
007c1
bar1
 
 
 
 
ffff
Delete
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
1 North American 101-Key Keysyms.
2 United Kingdom 102-Key Keysyms.
3 101/102-Setup Key Keysyms.
4 101/102-Pause Key Keysyms.


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
101
005c
backslash
007c
bar
 
 
 
 
ffd4
R3 (F23)
 
  
102
ffc9
F12
 
 
 
 
 
 
1005ff11
SunF37
 
  
103
ffb61
ff692
Break1
Cancel2
 
 
 
 
 
 
ffd3
R2 (F22)
 
 
104
ff54
Down
 
 
 
 
 
 
 
 
 
 
105
ff51
Left
 
 
ff51
Left
 
 
 
 
 
 
106
1000ff17
TEK-
Launcher
ff13
Pausec
1000ff17
TEK-
Launcher
ffc0
F3
 
 
 
 
107
ff52
Up
 
 
ff52
Up
 
 
 
 
 
 
108
ffff
Delete
 
 
1000ff00
Remove
 
 
 
 
 
 
109
ff57
End
 
 
ff60
Select
 
 
 
 
 
 
110
ff08
Back-
Space
 
 
ffff
Delete
 
 
0060
grave
007e
ascii-
tilde
111
ff63
Insert
 
 
ff63
Insert
 
 
ffd5
R4 (F24)
ffbd
KP_-
Equal
112
 
 
 
 
 
 
 
 
ffcf
L8 (F18)
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
c On the 101/102-Pause keyboard, the Launcher and Pause keys are opposite of the 101/102-Setup keyboard.
1 101/102 Setup Key KeySyms
2 101/102 Pause Key KeySyms


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
113d
ffb1
KP_1
ff57
End
ffb1
KP_1
 
 
ffde
R13 (F33)
ffb1
KP_1
114c
ff53
Right
 
 
ff53
Right
 
 
 
 
 
 
115cd
ffb41
ffb52
KP_4
ff51
Left
ffb4
KP_4
 
 
ff51
Left
ffb4
KP_4
116cd
ffb7
KP_7
ff50
Home
ffb7
KP_7
 
 
ffd8
R7 (F27)
ffb7
KP_7
117c
ff56
Next
 
 
ff56
Next
 
 
 
  
 
 
118c
ff50
Home
 
 
ff50
Home
 
 
 
 
 
 
119c
ff55
Prior
 
 
ff55
Prior
 
 
 
 
 
 
120cd
ffb0
KP_0
ff63
Insert
ffb0
KP_0
 
 
ff63
Insert
ffb0
KP_0
121cd
ffae
KP_-
Decimal
ffff
Delete
ffae
KP_-
Decimal
 
 
ffff
Delete
ffae
KP_-
Decimal
122cd
ffb2
KP_2
ff54
Down
ffb2
KP_2
 
 
ff54
Down
ffb2
KP_2
123cd
ffb5
KP_5


ffb5
KP_5
 
 
ffdc
R11 (F31)
ffb5
KP_5
124cd
ffb6
KP_6
ff53
Right
ffb6
KP_6
 
 
ff53
Right
ffb6
KP_6
125cd
ffb8
KP_8
ff52
Up
ffb8
KP_8
 
 
ff52
Up
ffb8
KP_8
126c
ff7f
Num_-
Lock
 
 
ff92
KP_F2
 
 
ff7f
Num_Lock
ff7f
Num_-
Lock
127c
ffaf
KP_-
Divide
 
 
 
 
 
 
ffd6
R5 (F25)
ffaf
KP_-
Divide
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For blank values, keysym name is NoSymbol. Shifting alphabetic characters gives uppercase character; there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences: LK401 VMS (F11), LK401 X
(ESC-BS-FL),LK401 X (F11-F13) keyboard selections.
c Key codes 114-140 cannot take alternate keysyms. The maximum key code you can assign new graphics characters using Alt-GR on 101- and 102-key keyboards is 113.
d Currently there is no Num Lock support.


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
128c
 
 
 
 
 
 
 
 
 
 
 
 
129c
ff8d
KP_
Enter
 
 
ff8d
KP_Enter
 
 
ff8d
KP_
Enter
ff8d
KP_
Enter
130c
ffb3
KP_3
ff56
Next
ffb3
KP_3
 
 
ffe0
R15 (F35)
ffb3
KP_3
131c
 
 
 
 
 
 
 
 
ff08
Back-
Space
 
 
132c
ffab
KP_Add
 
 
ffac
KP_-
Separator
 
 
ffab
KP_Add
ffab
KP_Add
133cd
ffb9
KP_9
ff55
Prior
ffb9
KP_9
 
 
ffda
R9 (F29)
ffb9
KP_9
134c
ffaa
KP_
Multiply
 
 
 
 
 
 
ffd7
R6 (F26)
ffaa
KP_
Multiply
135bc
 
 
 
 
ff67
Menu
 
 
 
 
 
 
136c
 
 
 
 
ffce
F17
 
 
 
 
 
 
137c
 
 
 
 
ffcf
F18
 
 
 
 
 
 
138c
 
 
 
 
ffd0
F19
 
 
 
 
 
 
139c
 
 
 
 
ffd1
F20
 
 
 
 
 
 
140c
ffad
KP_
Subract
 
 
ffad
KP_
Subract
 
 
 
 
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
c Key codes 114-140 cannot take alternate keysyms. The maximum key code you can assign new graphics characters using Alt_GR on 101- and 102-key keyboards is 113.
d To access this "key", press Alt_GR in combination with the key for which the keycode is 141 less than 163; that is, Alt_GR with the grave/notsign key (Key Code 22).


Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
147
ffe7
Meta_L
 
 
 
 
 
 
 
 
 
147
148
ffe8
Meta_R
 
 
 
 
 
 
 
 
 
148
149
ff67
Menu
 
 
 
 
 
 
 
 
 
149
150-162
 
 
 
 
 
 
 
 
 
 
 
 
163d
00a62
broken-
bar2
 
 
 
 
 
 
 
 
 
 
165
 
 
 
 
 
 
 
 
1000ff17
TEK-
Launcher
 
 
Table B-2 Keyboard Codes for 101, 102, VT200 ULTRIX, and UNIX Keysyms (continued)

a Key codes are shown in decimal; keysym values are shown in hexadecimal. For values that are blank, the keysym name is NoSymbol. Shifting alphabetic characters gives the uppercase character, but there is no additional shift name or shift value.
b Refer to Table B-4 for keysym differences for the LK401 VMS (F11),
LK401 X (ESC-BS-FL), and LK401 X (F11-F13) keyboard selections.
d To access this "key", press Alt_GR in combination with the key for which the keycode is 141 less than 163; that is, Alt_GR with the grave/notsign key (Key Code 22).
2 United Kingdom 102-Key Keysyms.

Table B-3 Keyboard Codes for North American Sun V Keysyms

Key Code

Value

Name

Shift Value

Shift
Name

Mode
Switch Value

Mode
Switch Name

Shift Mode Switch Value

Shift Mode
Switch Name

15
0xffbe
F1
 
 
 
 
 
 
16
0xff1b
Escape
 
 
 
 
 
 
17
0xff6a
Help
0xff6a
Help
0x1000ff17
Tek-
Launcher
 
 
18
0xffc8
F11
0xffc8
F11
0xff69
Cancel
 
 
19
0xffc9
F12
0xffc9
F12
0xff66
Redo
 
 
20
0xffca
F13
0xffca
F13
0x1005ff70
SunProps
 
 
21
0xff09
Tab
 
 
 
 
 
 
22
0x0060
grave
0x007e
asciitilde
 
 
 
 
23
0xffbf
F2
 
 
 
 
 
 
24
0xffcb
F14
0xffcb
F14
0xff65
Undo
 
 
25
0xffe3
Control_L
 
 
 
 
 
 
26
0xffe1
Shift_L
 
 
 
 
 
 
27
0xffcc
F15
0xffcc
F15
0x1005ff71
SunFront
 
 
28
0xffe5
Caps_Lock
 
 
 
 
 
 
29
0x0051
Q
 
 
 
 
 
 
30
0x0031
1
0x0021
exclam
 
 
 
 
31
0xffc0
F3
 
 
 
 
 
 
32
0xffcd
F16
0xffcd
F16
0x1005ff72
SunCopy
 
 
33
0xffe9
Alt_L
 
 
 
 
 
 
34
0x005a
Z
 
 
 
 
 
 
35
0x0053
S
 
 
 
 
 
 
36
0x0041
A
 
 
 
 
 
 
37
0x0057
W
 
 
 
 
 
 
38
0x0032
2
0x0040
at
 
 
 
 
39
0xffc1
F4
 
 
 
 
 
 
40
0xffce
F17
0xffce
F17
0x1005ff73
SunOpen
 
 
41
0x0043
C
 
 
 
 
 
 
42
0x0058
X
 
 
 
 
 
 
43
0x0044
D
 
 
 
 
 
 
44
0x0045
E
 
 
 
 
 
 
45
0x0034
4
0x0024
dollar
 
 
 
 
46
0x0033
3
0x0023
numbersign
 
 
 
 
47
0xffc2
F5
 
 
 
 
 
 
48
0xffcf
F18
0xffcf
F18
0x1005ff74
SunPaste
 
 
49
0x0020
space
 
 
 
 
 
 
50
0x0056
V
 
 
 
 
 
 
51
0x0046
F
 
 
 
 
 
 
52
0x0054
T
 
 
 
 
 
 
53
0x0052
R
 
 
 
 
 
 
54
0x0035
5
0x0025
percent
 
 
 
 
55
0xffc3
F6
 
 
 
 
 
 
56
0xffd0
F19
0xffd0
F19
0xff68
Find
 
 
57
0x004e
N
 
 
 
 
 
 
58
0x0042
B
 
 
 
 
 
 
59
0x0048
H
 
 
 
 
 
 
60
0x0047
G
 
 
 
 
 
 
61
0x0059
Y
 
 
 
 
 
 
62
0x0036
6
0x005e
asciicircum
 
 
 
 
63
0xffc4
F7
 
 
 
 
 
 
64
0xffd1
F20
0xffd1
F20
0x1005ff75
SunCut
 
 
65
0xff20
Multi_key
 
 
 
 
 
 
66
0x004d
M
 
 
 
 
 
 
67
0x004a
J
 
 
 
 
 
 
68
0x0055
U
 
 
 
 
 
 
69
0x0037
7
0x0026
ampersand
 
 
 
 
70
0x0038
8
0x002a
asterisk
 
 
 
 
71
0xffc5
F8
 
 
 
 
 
 
72
0xffe7
Meta_L
 
 
 
 
 
 
73
0x002c
comma
0x003c
less
 
 
 
 
74
0x004b
K
 
 
 
 
 
 
75
0x0049
I
 
 
 
 
 
 
76
0x004f
O
 
 
 
 
 
 
77
0x0030
0
0x0029
parenright
 
 
 
 
78
0x0039
9
0x0028
parenleft
 
 
 
 
79
0xffc6
F9
 
 
 
 
 
 
80
0xffe8
Meta_R
 
 
 
 
 
 
81
0x002e
period
0x003e
greater
 
 
 
 
82
0x002f
slash
0x003f
question
 
 
 
 
83
0x004c
L
 
 
 
 
 
 
84
0x003b
semicolon
0x003a
colon
 
 
 
 
85
0x0050
P
 
 
 
 
 
 
86
0x002d
minus
0x005f
underscore
 
 
 
 
87
0xffc7
F10
 
 
 
 
 
 
88
0x1005ff78
SunAudio-
Mute
0x1005ff7a
SunVideo-
Degauss
 
 
 
 
89
0x1005ff77
SunAudio-LowerVolume
0x1005ff7b
SunVideo-Lower-
Brightness
 
 
 
 
90
0x0027
apostrophe
0x0022
quotedbl
 
 
 
 
91
0x1005ff79
SunAudio-RaiseVolume
0x1005ff7c
SunVideo-Lower-
Brightness
 
 
 
 
92
0x005b
bracketleft
0x007b
braceleft
 
 
 
 
93
0x003d
equal
0x002b
plus
 
 
 
 
94
0x1005ff10
SunF36
 
 
 
 
 
 
95
0xffd3
F22
0xffd3
F22
0xff61
Print
0x1005ff60
SunSys-
Req
96
0xff7e
Mode_switch
 
 
 
 
 
 
97
0xffe2
Shift_R
 
 
 
 
 
 
98
0xff0d
Return
 
 
 
 
 
 
99
0x005d
bracketright
0x007d
braceright
 
 
 
 
100
0x005c
backslash
0x007c
bar
0x00a6
brokenbar
 
 
101
0x1005ff76
SunPower-
Switch
0x1005ff7d
SunPower-
SwitchShift
 
 
 
 
102
0x1005ff11
SunF37
 
 
 
 
 
 
103
0xffd4
F23
0xffd4
F23
0xff14
Scroll_
lock
 
 
104
0xff54
Down
 
 
 
 
 
 
105
0xff51
Left
 
 
 
 
 
 
106
0xffd2
F21
0xffd2
F21
0xff13
Pause
0xff6b
Break
107
0xff52
Up
 
 
 
 
 
 
108
0xffff
Delete
 
 
 
 
 
 
109
0xff57
End
 
 
 
 
 
 
110
0xff08
BackSpace
 
 
 
 
 
 
111
0xff63
Insert
 
 
 
 
 
 
113
0xffde
F33
0xffde
F33
0xffb1
KP_1
0xff57
End
114
0xff53
Right
 
 
 
 
 
 
115
0xff51
Left
0xffdb
F30
0xffb4
KP_4
 
 
116
0xffd8
F27
0xffd8
F27
0xffb7
KP_7
0xff50
Home
117
0xff56
Next
 
 
 
 
 
 
118
0xff50
Home
 
 
 
 
 
 
119
0xff55
Prior
 
 
 
 
 
 
120
0xff63
Insert
0xff63
Insert
0xffb0
KP_0
 
 
121
0xffff
Delete
0xffff
Delete
0xffae
KP_
Decimal
 
 
122
0xff54
Down
0xffdf
F34
0xffb2
KP_2
 
 
123
0xffdc
F31
0xffdc
F31
0xffb5
KP_5
 
 
124
0xff53
Right
0xffdd
F32
0xffb6
KP_6
 
 
125
0xff52
Up
0xffd9
F28
0xffb8
KP_8
 
 
126
0xff7f
Num_Lock
 
 
 
 
 
 
127
0xffd6
F25
0xffd6
F25
0xffaf
KP_
Divide
 
 
129
0xff8d
KP_Enter
 
 
 
 
 
 
130
0xffe0
F35
0xffe0
F35
0xffb3
KP_3
0xff56
Next
132
0xffab
KP_Add
 
 
 
 
 
 
133
0xffda
F29
0xffda
F29
0xffb9
KP_9
0xff55
Prior
134
0xffd7
F26
0xffd7
F26
0xffaa
KP_
Multiply
 
 
140
0xffd5
F24
0xffd5
F24
0xffad
KP_
Subtract
 
 

Table B-4 Keysym Differences for Other North American LK401 Keyboards

Key Code
Value
Name
Shift Value
Shift Name
Value
Name
Shift Value
Shift Name
15
ffbe
F1
 
 
ffbe
F1
 
 
18
ff1b
Escape
 
 
ffc8
F11
 
 
19
ffc9
F12
 
 
ffc9
F12
 
 
20
ffca
F13
 
 
ffca
F13
 
 
23
ffbf
F2
 
 
ffbf
F2
 
 
33
ffe9
Alt_L1
ff20
Multi_Key
ffe9
Alt_La
ff20
Multi_Key
47
ffc2
F5
 
 
ffc2
F5
 
 
97
ffe1
Shift_L
 
 
ffe1
Shift_L
 
 
135
ff67
Menu
 
 
ff67
Menu
 
 
139
ffd1
F20
 
 
ffd1
F20
 
 

LK401 X (ESC-BS-FL)
LK401 X (F11-F13)
15
ffbe
F1
ff13
Pause
ffbe
F1
ff13
Pause
18
ff1b
Escape
ffc8
F11
ffc8
F11
ff1b
Escape
19
ff08
BackSpace
ffc9
F12
ffc9
F12
ff08
Backspace
20
ff0a
Linefeed
ffca
F13
ffca
F13
ff0a
Linefeed
23
ffbf
F2
ff61
Print
ffbf
F2
ff61
Print
33
ffe9
Alt_La
ff20
Multi_Key
ffe9
Alt_La
ff20
Multi_Key
47
ffc2
F5
ff6b
Break
ffc2
F5
ff6b
Break
97
ffe2
Shift_L
 
 
ffe2
Shift_L
 
 
135
ff67
Menu
 
 
ff62
Execute
 
 
139
ffd1
F202
 
 
ffd1
F20b
 
 
 
1
Unshifted keysym is Multi_key (ff20); shifted keysym is Alt_L on
non-North American layouts.
2
Alt_L (ffe9) on non-North American layouts.
Table B-5

Modifier
Key Code Value
Keysym Name
Key Code Value
Keysym Name
shift
26
Shift_L
26
Shift_L
97
Shift_R
97
Shift_R
lock
25
Caps_Lock
28
Caps_Lock
control
28
Control_L
25
Control_L
96
Control_R
96
Control_R
mod1
33
Alt_L
33
Alt_L
 
 
65
Alt_R1

North American
101-Pause Key Modifiers
UNIX Key Modifiers
shift
26
Shift_L
26
Shift_L
 
97
Shift_R
27
Shift_R
lock
28
Caps_Lock
25
Caps_Lock
control
25
Control_L
28
Control_L
 
96
Control_R
 

mod1
33
Alt_L
33
Meta_L
 
65
Alt_R
65
Meta_R

VT200 DEC Modifiers
(ULTRIX-Esc, VMS-F11)
VT200 X Modifiers
(X-ESC, X-F11)
shift
26
Shift_L
26
Shift_L
97
Shift_L
97
Shift_R
lock
28
Caps_Lock
28
Caps_Lock
control
25
Control_L
25
Control_L
mod1
332
Alt_Lb
33b
Alt_Lb
40d
Alt_Ld
1393
Alt_Lc
56d
Alt_Rd
40d
Alt_Ld
65d
Meta_Rd
56d
Alt_Rd
 
 
65d
Meta_Rd
mod5
89
Help
89
Help
 
1
Katakana only.
2
North American only.
3
International only. Keycode 139 is the F20 key.
d. LK401 keyboards only.
Modifier Definitions

Table B-6 Compose Sequence Output Keycodes for
VT200 Keyboards (except North American) 
Key Code

Value

Name
Shift Value

Shift Name
141
00a0
nobreakspace
005b
bracketleft
142
00a1
exclamdown
005c
backslash
143
00a2
cent
005d
bracketright
144
00a3
sterling
007b
braceleft
145
00a4
currency
007c
bar
146
00a5
yen
007d
braceright
147
00a6
brokenbar
0023
numbersign
148
00a7
section
0040
at
149
00a8
diaeresis
0024
dollar
150
00a9
copyright
0022
quotedbl
151
00aa
ordfeminine
 
 
152
00ab
guillemotleft
 
 
153
00ac
notsign
 
 
154
00ad
hyphen
 
 
155
00ae
registered
 
 
156
00af
macron
 
 
157
00b0
degree
 
 
158
00b1
plusminus
 
 
159
00b2
twosuperior
 
 
160
00b3
threesuperior
 
 
161
00b4
acute
 
 
162
00b5
mu
 
 
163
00b6
paragraph
 
 
164
00b7
periodcentered
 
 
165
00b8
cedilla
 
 
166
00b9
onesuperior
 
 
167
00ba
masculine
 
 
168
00bb
guillemotright
 
 
169
00bc
onequarter
 
 
170
00bd
onehalf
 
 
171
00be
threequarters
 
 
172
00bf
questiondown
 
 
173
00c0
Agrave
 
 
174
00c1
Aacute
 
 
175
00c2
Acircumflex
 
 
176
00c3
Atilde
 
 
177
00c4
Adiaeresis
 
 
178
00c5
Aring
 
 
179
00c6
AE
 
 
180
00c7
Ccedilla
 
 
181
00c8
Egrave
 
 
182
00c9
Eacute
 
 
183
00ca
Ecircumflex
 
 
184
00cb
Ediaeresis
 
 
185
00cc
Igrave
 
 
186
00cd
Iacute
 
 
187
00ce
Icircumflex
 
 
188
00cf
Idiaeresis
 
 
189
00d0
ETH
 
 
190
00d1
Ntilde
 
 
191
00d2
Ograve
 
 
192
00d3
Oacute
 
 
193
00d4
Ocircumflex
 
 
194
00d5
Otilde
 
 
195
00d6
Odiaeresis
 
 
196
00d7
multiply
 
 
197
00d8
Ooblique
 
 
198
00d9
Ugrave
 
 
199
00da
Uacute
 
 
200
00db
Ucircumflex
 
 
201
00dc
Udiaeresis
 
 
202
00dd
Yacute
 
 
203
00de
THORN
 
 
204
00df
ssharp
 
 
205
00e0
agrave
 
 
206
00e1
aacute
 
 
207
00e2
acircumflex
 
 
208
00e3
atilde
 
 
209
00e4
adiaeresis
 
 
210
00e5
aring
 
 
211
00e6
ae
 
 
212
00e7
ccedilla
 
 
213
00e8
egrave
 
 
214
00ea
ecircumflex
 
 
215
00eb
ediaeresis
 
 
216
00e9
eacute
 
 
217
00ec
igrave
 
 
218
00ed
iacute
 
 
219
00ee
icircumflex
 
 
220
00ef
idiaeresis
 
 
221
00f0
eth
 
 
222
00f1
ntilde
 
 
223
00f2
ograve
 
 
224
00f3
oacute
 
 
225
00f4
ocircumflex
 
 
226
00f5
otilde
 
 
227
00f6
odiaeresis
 
 
228
00f7
division
 
 
229
00f8
oslash
 
 
230
00f9
ugrave
 
 
231
00fa
uacute
 
 
232
00fb
ucircumflex
 
 
233
00fc
udiaeresis
 
 
234
00fd
yacute
 
 
235
00fe
thorn
 
 
236
00ff
ydiaeresis
 
 
237
00b4
acute
 
 
238
005e
asciicircum
 
 
239
007e
asciitilde
 
 
240
0060
grave
 
 
241-254
00
 
 
 
 
 
 
Table B-7 Compose Sequence Output Keycodes
for the 3270 Keyboard 
Key Code
Value
Name
Shift Value
Shift Name

8

 
 
 
 

9

ffda

F29

 
 

10

 
 
 
 

11

ffd7

F26

 
 

12

ff60

Select

 
 

13

ff6b

Break

ff6a

Help

14

ff0b

Clear

 
 

15

ffbe

F1

 
 

16

ffca

F13

 
 

17

ffe0

F35

 
 

18

ffd9

F28

 
 

19

ffd8

F27

 
 

20

ffd6

F25

 
 

21

ff09

Tab

 
 

22

0060

grave

007e

asciitilde

23

ffbf

F2

 
 

24

ffcb

F14

 
 

25

ffe3

Control_L

 
 

26

ffe1

Shift_L

 
 

27

003c

less

003e

greater

28

ffe5

Caps_Lock

 
 

29

0051

Q

 
 

30

0031

1

0021

exclam

31

ffc0

F3

 
 

32

ffcc

F15

 
 

33

ffe9

Alt_L

ffe7

Meta_L

34

005a

Z

 
 

35

0053

S

 
 

36

0041

A

 
 

37

0057

W

 
 

38

0032

2

 

0040 at

39

ffc1

F4

 
 

40

ffcd

F16

 
 

41

0043

C

 
 

42

0058

X

 
 

43

0044

D

 
 

44

0045

E

 
 

45

0034

4

0024

dollar

4

0033

3

0023

numbersign

47

ffc2

F5

 
 

48

ffce

F17

 
 

49

0020

space

 
 

50

0056

V

 
 

51

0046

F

 
 

52

0054

T

 
 

53

0052

R

 
 

54

0035

5

0025

percent

55

ffc3

F6

 
 

56

ffcf

F18

 
 

57

004e

N

 
 

58

0042

B

 
 

59

0048

H

 
 

60

0047

G

 
 

61

0059

Y

 
 

62

0036

6

005e

asciicircum

63

ffc4

F7

 
 

64

ffd0

F19

 
 

65

ffea

Alt_R

ffe8

Meta_R

66

004d

M

 
 

67

004a

J

 
 

68

0055

U

 
 

69

0037

7

0026

ampersand

70

0038

8

002a

asterisk

71

ffc5

F8

 
 

72

ffd1

F20

 
 

73

002c

comma

002c

comma

74

004b

K

 
 

75

0049

I

 
 

76

004f

O

 
 

77

0030

0

0029

parenright

78

0039

9

0028

parenleft

79

ffc6

F9

 
 

80

ffd2

F21

 
 

81

002e

period

002e

period

82

002f

slash

003f

question

83

004c

L

 
 

84

003b

semicolon

003a

colon

85

0050

P

 
 

86

002d

minus

005f

underscore

87

ffc7

F10

 
 

88

ffd3

F22

 
 
89
 
 
 
 

90

0027

apostrophe

0022

quotedbl

91

005c

backslash

007c

bar

92

005b

bracketleft

007b

braceleft

93

003d

equal

002b

plus

94

ffc8

F11

 
 

95

ffd4

F23

 
 

96

ffe4

Control_R

 
 

97

ffe2

Shift_R

 
 

98

ff0d

Return

 
 

99

005d

bracketright

007d

braceright

100

 
 
 
 

101

 
 
 
 

102

ffc9

F12

 
 

103

ffd5

F24

 
 

104

ff54

Down

 
 

105

ff51

Left

 
 

106

ff50

Home

 
 

107

ff52

Up

 
 

108

ff57

End

 
 

109

ff63

Insert

 
 

110

ff08

BackSpace

 
 

111

ffdb

F30

 
 

112

 
 
 
 

113

ffb1

KP_1

ff57

End

114

ff53

Right

 
 

115

ffb4

KP_4

ff51

Left

116

ffb7

KP_7

ff50

Home

117

ffff

Delete

 
 

118

ff55

Prior

 
 

119

ff56

Next

 
 

120

ffb0

KP_0

ff63

Insert

121

ffae

KP_Decimal

ffff

Delete

122

ffb2

KP_2

ff54

Down

123

ffb5

KP_5

 
 

124

ffb6

KP_6

ff53

Right

125

ffb8

KP_8

ff52

Up

126

ff1b

Escape

 
 

127

ff7f

Num_Lock

 
 

128

 
 
 
 

129

ff8d

KP_Enter

 
 

130

ffb3

KP_3

ff56

Next

131

ffad

KP_Subtract

 
 

132

ffab

KP_Add

 
 

133

ffb9

KP_9

ff55

Prior

134

ffaa

KP_Multiply

 
 

135

 
 
 
 

136

 
 
 
 

137

 
 
 
 

138

 
 
 
 

139

ff61

Print

 
 

140

ffaf

KP_Divide

 
 

141

 
 
 
 

142

 
 
 
 

143

 
 
 
 

144

 
 
 
 

145

 
 
 
 

146

 
 
 
 

147

 
 
 
 

148

 
 
 
 

149

 
 
 
 

150

 
 
 
 

151

 
 
 
 

152

1000ff17

TekLauncher

 
 

153

 
 
 
 

154

 
 
 
 

155

 
 
 
 

156

 
 
 
 

157

 
 
 
 

158

ff1b

Escape

 
 

Eurokey Support

NCBridge supports the EuroSign keysym for the various keyboard types listed in Table B-8. The EuroSign keysym value is 0x20AC.
Table B-8 EuroSign Character Support
Keyboard
Country
Keystroke
102 Setup & 102 Pause
Danish
French
Finnish
German
Italian
Norwegian
Spanish
Swedish
Swiss-German
United Kingdom
AltGr+E
AltGr+E
AltGr+E
AltGr+E
AltGr+E
AltGr+E
AltGr+E
AltGr+E
AltGr+E
AltGr+4
3270
French
German
United Kingdom
AltGr+E
AltGr+E
AltGr+4
Sun V
French
German
United Kingdom
AltGr+E
AltGr+E
AltGr+4

Remapping Key Codes

You can modify your keyboard mapping, either by issuing the xmodmap command in a start-up script or, or if using the XPstartup or XPkeymap script, by creating a file named .Xkm in the home directory. Here are some examples from the xmodmap man page. Valid entries in the .Xkm file have the same form as the expressions recognized by xmodmap.

Example -- To remap the mouse buttons so that the left index finger presses Button 1, enter:

xmodmap -e "pointer = 3 2 1"

Example -- To remap the Compose key to a Meta key, enter:

xmodmap -e "keysym Alt_L = Multi_key Meta_L"

Example -- To swap the functions of the Caps Lock key and Ctrl key, include the following lines in your $HOME/.Xkm file:

!Swap Caps_Lock and Control_L
!
remove Lock = Caps_Lock
remove Control = Control_L
keysym Control_L = Caps_Lock
keysym Caps_Lock =Control_L
add Lock = Caps_Lock
add Control = Control_L

Setup is invoked by any key that has the TekSetup keysym assigned to it. All default keyboard layouts have this keysym on the Setup key. Refer to
Table B-2. The following example shows how to remap the Setup key using the NCD-supplied xmodmap.

Example -- To swap the F3 key and the Setup key on LK401 keyboards, enter:

xmodmap -e "keycode 106 = F3 TekSetup"
Note: To remove the mapping for the Setup key on LK401 keyboards, enter:
xmodmap -e "keycode 106 = F3 F3"

Certain non-standard keysyms, or keysyms that were not standardized until R4, are not recognized by many host X libraries. As a result, utilities such as xmodmap cannot report the keysym names, only the numeric keysym values. The keysyms TekSetup, DRemove, _JUS_Kana_Shift, _JUS_Kana_Lock, and Kana_Lock are used on NCD keyboards and are affected by this.

L_Alt is defined as a mod1 modifier by default. This can cause problems when trying to reach the alternate keysyms in certain applications. One way to work around this is to remove it as a mod1 modifier:

  1. Display what the modifier is.

xmodmap -pm

  1. Remove the mod1 modifier:

xmodmap -e "clear mod1"

  1. Display what the modifier is again. The mod1 keysym should be removed.

xmodmap -pm

Note: The procedure above also enables compose capabilities for the North American LK401 keyboard (providing the compose sequences have been loaded using either Setup, or the remote configuration file's compose_sequences command.)

7-Bit International Fonts

When using remap.dir to map fonts to 7-bit international character sets, you can use the files located in the /tekxp/examples/xmodmap directory to remap your keyboard for use with the 7-bit font. The following keyboard nationality files are available for use with 7-bit fonts: Danish, French, German, Italian, Spanish, Swedish, Swiss, and United Kingdom. Use xmodmap followed by the appropriate file to remap the keyboard. For example, to remap the keyboard for use with a 7-bit French font:

xmodmap Xkm.french

Disabling the Keyboard Reboot Function

The keyboard reboot function (Control-Alt-Delete) can be disabled using the remote configuration file, or using xmodmap.

xmodmap -e "keysym TekSetup = F12"

xmodmap -e "keysym Alt_L = Meta_L"

xmodmap -e "keysym Alt_R = Meta_R"

After changing the keysyms, assign Meta_L and Meta_R to the mod1 modifier for applications that use the mod1 state of these.

xmodmap -e "add mod1 = Meta_L Meta_R"

Note: This also disables the Jus Language Shift mechanism.

Although the Control-Alt-Delete keysyms provide the reboot function, if the server is locked up, you must cycle the power switch to reboot the network computer.

Num Lock

Num Lock is disabled by default. To enable Num Lock, use xmodmap to assign a modifier to the Num Lock keysym; modifiers one through five can be assigned to Num Lock. When Num Lock is pressed, the Num Lock LED is turned on and a key press is sent. No key release is sent, therefore all subsequent key presses have the Num Lock modifier.

The next time Num Lock is pressed, the Num Lock LED is turned off and a key release is sent. This essentially makes Num Lock a toggle similar to Caps Lock. To disable Num Lock, use xmodmap to clear the modifier.

For example, to enable Num_Lock and assign it to mod2:

xmodmap -e "add mod2 = Num_Lock"

To disable Num_Lock on mod2 (and is not assigned to mod1, mod3, mod4,
or mod5):

xmodmap -e "clear mod2"
Note: Most Sun hosts assign mod2 for Num Lock, and most IBM hosts assign mod5 for Num Lock.

Keep in mind that it is ultimately up to the client program to properly interpret the Num Lock modifier. Even if Num Lock is enabled, some clients may ignore the modifier or interpret it as another function.

When using some host-based Motif Window Managers (MWM), the Num Lock assignments may interfere with normal MWM operations. Local MWM ignores the modifier bit assigned to the Num Lock key. Therefore, if host-based MWM is not working correctly when the Num Lock feature is enabled, use local MWM. However, local MWM does not work properly if the Num Lock key is assigned to more than one modifier.

National Keyboard Support

International or multi-language keyboards generally require the ability to enter more graphic characters than the number of physical keys. The X server supports four mechanisms for additional character entry:

The JUS Language Shift Mechanism

This server-based mechanism was developed specifically to support keyboards with secondary Katakana or Hiragana key legends, prior to the definition of the X11/R4 bilingual protocol change. This mechanism supports languages other than Japanese (Alt-GR key) and also supports the 102-key keyboards.

In the implementation of the JUS mechanism, the server recognizes a set of keysyms as identifying shift keys and emitting alternate key codes. Both shifting and locking keys are supported by attaching the desired keysym to the desired key. The default keysym for 102-key keyboards (excluding Katakana) is R-Alt. If you want to change the keysym back to _JUS_Kana_Shift, do one of the following:

xmodmap -e "keycode 65 = _JUS_Kana_Shift"

or

keycode 65 = _JUS_Kana_Shift

Then enter:

xmodmap <name of .Xkm file>

The recognized keysyms are defined in the JUSkeysym.h and keysymdef.h include files as shown in Table B-9. When the keyboard is in the shifted state, a constant value is added to the physical keyboard key code to generate the key code sent to the client. On network computers, the value is 141. By attaching the desired keysym to the shifted key code, you can configure most keys on the keyboard to generate a different key code when the keyboard is in shifted mode. If the shifted key code does not have a keysym, the unshifted key code is sent to the client.
Table B-9 Shifted Keysyms Defined in Include Files
Function
Keysym Name
Keysym Value
File
Shift
_JUS_Kana_Shift
0x1000FF2E
JUSkeysym.h
Kana_Shift
0xFF2E
keysymdef.h
R_Alt
0xFFEA
Locking shift
_JUS_Kana_Lock
0x1000FF2D
JUSkeysym.h
Kana_Lock
0xFF2D
keysymdef.h

Alt-GR keysyms are available for certain ASCII characters which do not appear on the following keyboards.

The X11/R4 Protocol Change

This protocol change defines keysyms 3 and 4 in the keysym table as accessed by a language shift modifier identified by the Mode_switch keysym. It is implemented in the MIT sample X11/R4 Xlib.

Compose Sequences and Diacritical Sequences

Compose sequences are multi-key sequences initiated by a special Compose key on the optional LK401-style national keyboards. A compose sequence represents the desired character with a mnemonic or graphical composite. Here are two examples:

Compose s/ represents $
Compose aa represents @

Diacritical sequences are two-key sequences that are initiated by a diacritical mark, for example, ¨ (an umlaut). The diacritical mark is followed by the alphabetic character that is to have the diacritical mark added, for example, ö (umlaut-o).

The X server supports compose processing with clients that are based on standard MIT R3, R4, R5 or R6 Xlib. To accomplish this, the X server processes compose sequences internally, emitting a single key-press/key-release event pair for the entire compose sequence. Thus, compose sequences do not depend on host Xlib support and function consistently with all X11 clients on all hosts. Some clients provide their own language shift mechanisms, that generally operate independently from the server mechanisms. For example, DECWindows applications running on a network computer use their own compose processing if a key is configured with the Alt or Multi_key keysyms.

Data Processing Keys

On the optional LK401-style national keyboards, the data processing keys access alternate symbols that are displayed on the right side of the affected keycap to allow direct entry of all ASCII characters. The keyboard is statically configured to either Typewriter or Data Processing mode, so that only two of the legends on a keycap (shifted and unshifted) are accessible at any given time. You can select the DP mode option for LK401-style keyboards from the Main Menu of Setup. If you have configured Tek Compose support, and DP mode is off, you can also access the DP symbols by pressing the Compose key, followed by the key with the desired DP symbol.

DECwindows Keyboard Differences

The DECterm Customize Keyboard menu allows you to change the meaning of several LK401 keys: Delete, </>, Shift-comma, and left-quote/tilde. DECterm performs this change internally without changing the server key map. In testing with several non-DEC keyboards, the affected keys no longer produce a character if you select key meanings other than the default. Use the following xmodmap file to obtain the same result on network computers globally for all X clients:

keycode 110 = backSpace
keycode 73 = comma less
keycode 81 = period greater
keycode 22  = escape
keycode 17  = grave asciitilde

Restore the default operation with the following xmodmap file:

keycode 110 = delete
keycode 73  = comma
keycode 81  = period
keycode 22  =  grave asciitilde
keycode 17  =  less greater

DEC Compose support on VMS and Ultrix does not operate properly with non-DEC keyboards. Assigning Multi_key to the Compose key causes the Compose key to initiate a 3-key compose sequence. Assigning Alt_L to the Compose key, and pressing Compose-space does not initiate a 3-key compose sequence. 2-key compose (diacritical) sequences cannot be initiated, even when you use the private DEC diacritical keysyms. Other than using the Tek Compose method, there is no known workaround for this. (The Tek Compose method is currently available only on Ultrix.)

Customizing the Keyboard Configuration

The Main Menu of Setup shows the current keyboard selection, and, for
LK401-style keyboards, indicates if you are using DP mode and whether compose sequences are loaded.

For 102-key keyboards, alternate symbols are accessed by configuring the Alt-GR key with the _JUS_Kana_Shift keysym or Alt_R keysym, and by providing the desired keysyms in the shifted key code area.

Keyboard LEDs

The keyboard LEDs can be turned on and off using the xset command.
Table B-10 shows the LED assignments for the various keyboard types.
Table B-10 LED Assignments
Keyboard
LED 1
LED 2
LED 3
LED 4
LED 5-32
101, 102, 3270
& 104/105 Win95
Scroll Lock
Caps Lock
Num Lock
None
None
UNIX
Num Lock
Compose
Scroll Lock
Caps Lock
None
LK401 X
Hold Screen
Lock
Compose
Wait
None
LK401 VMS
Lock (off only)
Compose
Wait (off only)
Hold Screen
None
LK401 Ultrix
Wait
Compose
Hold Screen
Lock (off only)
None
Katakana 102
Scroll Lock
Caps Lock
Num Lock
None
None
SunV
Num Lock
Compose
Scroll Lock
Caps Lock
None


TOC PREV NEXT INDEX