! keymap/linux-msn --- xmodmap for Linux with Microsoft Natural Keyboard
! Author: Noah Friedman <friedman@prep.ai.mit.edu>
! Created: 1996-05-27
! Public domain

! $Id: linux-msn,v 1.4 1996/11/13 01:52:07 friedman Exp $

! 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 backspace act as Delete.
keycode 22 = Delete

! Remove mode_switch from mod1 and put it on mod2
!remove mod1 = Mode_switch
!add mod2 = Mode_switch

! Make lower left ctrl key into meta key
remove mod1 = Alt_L
keycode 37 = Alt_L
add mod1 = Alt_L

! Remap caps lock key into control key
clear lock
remove control = Control_L
keycode 66 = Control_L
add control = Control_L

! The arrow keys do not always work, depending on the console keytable I've
! loaded.  (This may be fixed now.)
keycode 98  = Up
keycode 100 = Left
keycode 102 = Right
keycode 104 = Down

! Numeric keypad frobs
! Damned X server fails 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 112 = slash
keycode 63  = asterisk
keycode 82  = minus
keycode 86  = plus
keycode 108 = Return
keycode 91  = period

! Starting with XFree86-3.2, the numlock key works, so forcing this is
! no longer necessary.
! On the other hand, the motion keys are already available, so make
! the numeric keypad always numeric.
keycode 90  = 0
keycode 87  = 1
keycode 88  = 2
keycode 89  = 3
keycode 83  = 4
keycode 84  = 5
keycode 85  = 6
keycode 79  = 7
keycode 80  = 8
keycode 81  = 9

! linux-msn ends here
