HP Visualize J5000 hp workstations - hp-ux 10.20 graphics administration guide - Page 101

Default Keyboard Mapping, Equivalent Keys, Changing Key Mapping, C1429 Keycap, Keycap

Page 101 highlights

Default Keyboard Mapping The default keyboard mapping supplied with the X Window environment maps the C1429 keyboard to the same key symbols that are used for the 46021 keyboard. This allows existing X client programs that expect to receive input from a 46021 keyboard to be used with either keyboard. However, the result is that some keys on the C1429 keyboard are mapped to key symbols that do not match the engravings on their keycaps. Equivalent Keys Some applications may expect to use keys that exist on one of the keyboards but not the other. In most cases, if a key does not exist on the keyboard in use, it is still possible to use some other key that is equivalent. To do this, it is necessary to know which keys are equivalent on the two keyboards. There are 14 keys on the C1429 keyboard that generate keycodes equivalent to keys on the 46021 keyboard, but have different engravings on the keycaps. Some have the same key symbol on both keyboards, while others do not. These C1429 keys, their 46021 equivalents, and the corresponding symbol names are shown in the following table. C1429 Keycap (left) (right) 46021 Keycap blank1 blank2 blank3 blank4 (left) (right) Default Key Symbol F9 F10 F11 F12 Menu Cancel Break/Reset Prior System/User Select Next Return Meta_L Meta_R XPCmodmap Symbol F9 F10 F11 F12 Print Scroll_Lock Pause/Break Prior Num_Lock End Next Return Alt_L Alt_R Changing Key Mapping X provides the means to change the key mapping, if you so desire. One way to accomplish this is by running the xmodmap client program. Hewlett-Packard provides two files in the directory /usr/lib/X11 to use with xmodmap. One, XPCmodmap, causes xmodmap to change the key mapping to match the keycap engravings on the C1429 keyboard. The other, Xhpmodmap, causes xmodmap to change the key mapping to match the keycap engravings on the 46021 keyboard, which are the defaults. This allows either keyboard to be used with applications that expect the other keyboard, although only one mapping can be used at any given time. When the mapping is changed, the X Server notifies all clients that are executing at that time. Some clients may load the new mapping from the server right away, but others Page 101 Graphics Administration Guide for HP-UX 10.20

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171

Default Keyboard Mapping
The default keyboard mapping supplied with the X Window environment maps the C1429 keyboard to
the same key symbols that are used for the 46021 keyboard. This allows existing X client programs that
expect to receive input from a 46021 keyboard to be used with either keyboard. However, the result is
that some keys on the C1429 keyboard are mapped to key symbols that do not match the engravings on
their keycaps.
Equivalent Keys
Some applications may expect to use keys that exist on one of the keyboards but not the other. In most
cases, if a key does not exist on the keyboard in use, it is still possible to use some other key that is
equivalent. To do this, it is necessary to know which keys are equivalent on the two keyboards.
There are 14 keys on the C1429 keyboard that generate keycodes equivalent to keys on the 46021
keyboard, but have different engravings on the keycaps. Some have the same key symbol on both
keyboards, while others do not. These C1429 keys, their 46021 equivalents, and the corresponding
symbol names are shown in the following table.
C1429 Keycap
46021 Keycap
Default Key Symbol
XPCmodmap Symbol
blank1
F9
F9
blank2
F10
F10
blank3
F11
F11
blank4
F12
F12
Menu
Print
Cancel
Scroll_Lock
Break/Reset
Pause/Break
Prior
Prior
System/User
Num_Lock
Select
End
Next
Next
Return
Return
(left)
(left)
Meta_L
Alt_L
(right)
(right)
Meta_R
Alt_R
Changing Key Mapping
X provides the means to change the key mapping, if you so desire. One way to accomplish this is by
running the
xmodmap
client program. Hewlett-Packard provides two files in the directory
/usr/lib/X11
to
use with
xmodmap
. One,
XPCmodmap
, causes
xmodmap
to change the key mapping to match the
keycap engravings on the C1429 keyboard. The other, Xhpmodmap, causes xmodmap to change the key
mapping to match the keycap engravings on the 46021 keyboard, which are the defaults. This allows
either keyboard to be used with applications that expect the other keyboard, although only one mapping
can be used at any given time. When the mapping is changed, the X Server notifies all clients that are
executing at that time. Some clients may load the new mapping from the server right away, but others
Graphics Administration Guide for HP-UX 10.20
Page 101