!	$Source: /afs/sipb.mit.edu/user/jtkohl/lib/X11/RCS/Xmodmap,v $
!	$Author: jtkohl $
!	$Header: /afs/sipb.mit.edu/user/jtkohl/lib/X11/RCS/Xmodmap,v 1.16 1995/02/25 02:16:09 jtkohl Exp jtkohl $
!
! To use this file: /lib/cpp -P < thisfilename | xmodmap -
!
! Make the caps lock key a control key.  Otherwise, it gets in the way.
clear Lock
#ifdef rsaix
! 128 is F9
keycode 128 = Escape
keycode 38 = Control_R
add Control = Control_R
keycode 68 = Meta_L
keysym Alt_R = Meta_R
#else
#ifdef sun
clear Mod1
clear Mod2
keycode 0x32 = BackSpace
keycode 0x49 = Delete
keycode 0x16 = Escape
keycode 0x24 = grave asciitilde
keycode 0x1A = Meta_L Alt_L
keycode 0x7E = Alt_R
keycode 0x37 = Caps_Lock
add Lock = Caps_Lock
add Mod1 = Meta_L Meta_R
add Mod2 = Multi_key
add Mod4 = Alt_R
#else /* not sun, not rsaix */
#ifdef sgi
keysym Caps_Lock = Control_L
add Control = Control_L
#else
add Control = Caps_Lock
#endif
#endif
#endif
#ifdef inbsd
keycode 113 = Multi_key
keycode 22 = BackSpace
#endif
!
! Define F1 on the LK201 to be the escape key, and F9 on the RT to be
! the escape key.  This provides "finger macro" compatibility between the
! keyboards. 
#if defined(vax) || (defined(mips) && !defined(sgi))
! 86 is the F1 key on the LK201
keycode 86 = Escape
! 177 is the Compose Character key on the LK201
! this is needed to insure that it is really a meta key
keycode 177 = Meta_L
!
! backspace keycode
!
keycode 0xBC = BackSpace
#if defined(mips)
clear mod2
add mod1 = Alt_L Alt_R
#endif
keysym comma = comma less
keysym period = period greater
#endif
#ifdef ibm032
! 71 is the F9 key on the RT
keycode 71 = Escape
#endif
