! keymap/sgi --- xmodmap for SGI (Irix 6.x) keyboards
! Author: Noah Friedman <friedman@prep.ai.mit.edu>
! Created: 1997-08-14
! Public domain

! $Id: sgi,v 1.1 1997/09/01 04:08:29 friedman Exp $

! Make backspace act as Delete.
keycode 110 = Delete

! Note that although you can simply move keysyms onto different modifiers,
! this may confuse some programs which look at the keysym to decide what to
! do.  You must actually assign the canonical keysym to the keycode you
! want to generate it.  Can we *please* get a real window system?

! Make lower-left hand ctrl key (keycode 25) act as meta
remove mod1 = Meta_L
keycode 25 = Meta_L
add mod1 = Meta_L

! Make caps lock key (keycode 28) act as Control
!remove lock = Caps_Lock
remove control = Control_L
keycode 28 = Control_L
add control = Control_L

! Make sure nothing is on the lock modifier.
! Caps Lock must be destroyed.
clear lock

! Numeric keypad frobs
!
! It is not strictly necessary to remap these, but some programs
! (e.g. xterm) do not do anything with these keysyms.
!
! IRIX seems to honor the num_lock key, and even better, xterm seems to
! know about KP_* keysyms.  So these mappings do not appear to be necessary.

!keycode 127 = slash
!keycode 134 = asterisk
!keycode 140 = minus
!keycode 132 = plus
!keycode 129 = Return
!keycode 121 = period

!keycode 120 = 0
!keycode 113 = 1
!keycode 122 = 2
!keycode 130 = 3
!keycode 115 = 4
!keycode 123 = 5
!keycode 124 = 6
!keycode 116 = 7
!keycode 125 = 8
!keycode 133 = 9

! sgi ends here
