To change the settings in MAE you need to change the keyboard mappings for the entire Open Windows environment. Follow the steps below to configure the keyboard map to let the keypad function in MAE
NOTE: Doing this may effect applications that have dependencies on those default settings.
Step 1
------
Create a file in the home directory titled ".Xmodmap" with this command:
xmodmap -pke > $HOME/.Xmodmap
Step 2
------
Edit the file you just created, by locating each keycode that references the keypad, listed as KP_x, where x is either the numeric or function key. Remove entries to the right of the "=" sign, with the exception of the value you wish to keep. Here are some examples from a $HOME .Xmodmap file:
keycode 53 = KP_Divide
keycode 54 = KP_Multiply
keycode 97 = KP_Enter
keycode 98 = KP_4
keycode 99 = KP_5
NOTE: If you do not intend to use applications that require the keypad, or need the default map for other applications, you will not need to edit the .Xmodmap file.
Step 3
------
Add the follow entries to /usr/openwin/lib/Xinitrc.
* Add these lines after the reference to "xrdb" which is the first section of the Xinitrc file. This dumps the default mapping to a holding file, and loads your modified mapping:
xmodmap -pke > $HOME/.Xmodmap.default
xmodmap $HOME/.Xmodmap
* Add this line after the reference to "wait $wmpid", this removes the configured mappings and returns to the default:
xmodmap $HOME/.Xmodmap.default
You should open Key Caps in the Apple menu after the next log in to MAE, to make sure the keys selected on the keypad are properly mapped by seeing the same key highlighted in Key Caps.
Support Information Services