REMAPPING backspace, meta, and numeric keypad keys
Meta keys:
For both type 4 and type 5 sun keyboards, the two adjacent keys on each
side of the space bar are mapped to meta; this is a change from the
default Solaris behavoir.
To change the modifier mappings to the Solaris defaults, type
xmodmap /usr/athena/lib/X11/keymaps/SunModifiers
To change them back to the Athena settings, type
xmodmap /usr/athena/lib/X11/keymaps/AthenaModifiers
Numeric Keypad:
The Sun supplied numeric keypad bindings on the Sun type 5 keyboards
(the ones that Athena uses) do not bind the keys to digits - they bind
them to the cursor motion keys, Insert, Delete, Page Up, Page Down,
Home, and End keys. The Num Lock key will get you actual digits, but
only if you are typing in an xterm.
Since the type 5 keyboard already has dedicated keys for arrows, etc.,
having the numeric keypad provide these services is redundant.
Furthermore, the Num Lock only works to get you digits from the keypad
if you are using an xterm. Also, when Num Lock is engaged, window
manager bindings break.
This functionality of the keypad is a carryover from the type 4
keyboards, which didn't have the function key clusters between the
main keyboard and the numeric keypad. There are a few of these
keyboards around.
Instead of the Sun default, Athena's Solaris machines have the numeric
keypads set up to be numeric keypads on Type 5 keyboards.
To change the keypad mappings to the Solaris defaults, type
xmodmap /usr/athena/lib/X11/keymaps/SunType5Keypad
To change them back to the Athena settings, type
xmodmap /usr/athena/lib/X11/keymaps/AthenaType5Keypad
BackSpace and Delete
BackSpace and Delete have been swapped (in Release 7.6J - other mapping
changes predate J) on the Type 5 keyboards. This was to make sure that
the Backspace key have the same behavior whatever you're doing with the
machine.
To change the BackSpace and Delete mappings to the Solaris defaults, type
xmodmap /usr/athena/lib/X11/keymaps/SunType5Rubout
To change them back to the Athena settings, type
xmodmap /usr/athena/lib/X11/keymaps/AthenaType5Rubout
/usr/athena/lib/X11/keymaps is a new directory introduced to supply
a place to put all of these xmodmap files.
|