! keymap/sun-msn --- xmodmap for Sparc with Microsoft Natural Keyboard
! Author: Noah Friedman <friedman@splode.com>
! Created: 1999-04-14
! Public domain

! $Id: sun-msn,v 1.1 1999/04/17 19:43:58 friedman Exp $

! Make backspace act as Delete, delete act as Backspace
keycode 50 = Delete
!keycode 73 = BackSpace

! 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?

! Clear these modifier maps; we're completely redefining them below.
clear mod1
clear mod4
clear lock
clear control

! Solaris 2.x defines this by default; we must remove it or programs
! like XEmacs will conclude that Meta_R is nonsensical because it's on
! multiple modifier maps, and just ignore it.
!remove mod4 = Meta_R

! Make Alt_L key (keycode 26) act as Meta_R, left control key act as Meta_L
keycode  26 = Meta_R
keycode  83 = Meta_L
add mod1    = Meta_R
add mod1    = Meta_L

! Make caps lock key (keycode 126) act as Control_L
keycode 129 = Control_R
keycode 126 = Control_L
add control = Control_R
add control = Control_L

! Numeric keypad frobs
! Damned X servers (openwin, R5, and R6) all fail to honor the numlock key.

! It is not strictly necessary to remap these, but some programs
! (e.g. xterm) do not do anything with these keysyms.
keycode 53  = slash
keycode 54  = asterisk
keycode 78  = minus
keycode 132 = plus
keycode 97  = Return
keycode 57  = period

keycode 101 = 0
keycode 119 = 1
keycode 120 = 2
keycode 121 = 3
keycode 98  = 4
keycode 99  = 5
keycode 100 = 6
keycode 75  = 7
keycode 76  = 8
keycode 77  = 9

! sun-msn ends here
