! keymap/hp9000 --- xmodmap for *-hp-* keyboards (e.g. m68k-hp-bsd)
! Author: Noah Friedman <friedman@prep.ai.mit.edu>
! Created: 1992-03-08
! Last modified: 1994-03-14
! Public domain

! Make Backspace key generate ^? (DEL)
keycode 101 = Delete

! Make Caps key act as Meta.  First remove Meta_R from it's previous key.
! I have no idea why this is necessary, but it's the only way to make it
! work.  I just assign it some random binding, like Shift_R.
keycode 10 = Shift_R
remove mod1 = Meta_R
keycode 55 = Meta_R
add mod1 = Meta_R

! Make Select key (underneath return key) act as a second Ctrl
!keysym Select = Control_R
!add Control = Control_R

! make STOP key act as caps-lock (not that I use it much)
clear lock
keycode 86 = Caps_Lock
add Lock = Caps_Lock

! Make F9-F12 keys (the 4 white, unlabeled keys in the far upper-right hand
! of the keyboard) map to F1.  This is so that twm will look at the
! remappings below (for some reason it won't if these keys are still F9-F12)
keycode 45 = F1
keycode 41 = F1
keycode 43 = F1
keycode 47 = F1

! Make "Insert line" key act as F9 (F9 is captured by twm to perform
! twm routines)
keycode 102 = F9

! Make "Delete line" key act as F10
keycode 103 = F10

! Make "Insert char" key act as F11
keycode 110 = F11

! Make "Delete char" key act as F12
keycode 111 = F12

! hp9000 ends here
