xmakemap(1)
NAME
xmakemap - make a keyboard mapping to be used as input to xmodmap
SYNOPSIS
xmakemap
DESCRIPTION
xmakemap will produce a keyboard mapping in a form that is suitable as input to the xmodmap(1) command. xmakemap writes its output to stdout. Typical usage of xmakemap is to redirect output from xmakemap to a file (e.g., $HOME/.xmodmaprc), edit this file to make necessary customizations, and then run xmodmap on the file (i.e., $HOME/.xmodmaprc).
For example:
xmakemap > $HOME/.xmodmaprc
[... make necessary customization to $HOME/.xmodmaprc ...]
xmodmap $HOME/.xmodmaprc
If you would like your keytable to be customized each time OpenWindows is run, you should placed the appropriate command in $HOME/.xinitrc (copy $OPENWINHOME/lib/Xinitrc to $HOME/.xinitrc if it does not already exist).
For example:
if [ -f $HOME/.xmodmaprc ]; then
xmodmap $HOME/.xmodmaprc
fi
NOTES
OpenWindows (i.e., an X server) must be running to use xmakemap.
Read "Notes" in $HOME/.xmodmaprc.
SEE ALSO
SunOS 5.1/SPARC — Last change: 4 March 1992