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