! ! X key map for Digital LK46W-A2 or Digital LK450-AA keyboards under Linux ! Copyright (C) 1999 James Cameron ! ! This program is free software; you can redistribute it and/or modify ! it under the terms of the GNU General Public License as published by ! the Free Software Foundation; either version 2 of the License, or ! (at your option) any later version. ! ! This program is distributed in the hope that it will be useful, ! but WITHOUT ANY WARRANTY; without even the implied warranty of ! MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ! GNU General Public License for more details. ! ! You should have received a copy of the GNU General Public License ! along with this program; if not, write to the Free Software ! Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA ! ! ! Digital Equipment Corporation (now Compaq) sold a keyboard with a standard ! six pin mini-DIN plug but with a layout matching their old keyboards from ! the VT200 to VT400 series terminals. This suited people who have trained ! in the EDT or EVE editors. ! ! Unfortunately, on Linux machines, these keyboards tend to be mapped badly, ! resulting in a PC style mapping, and the inability to use F13 through F20. ! ! Usage: xmodmap lk46w.xmodmap ! Use xev to test. ! clear mod2 ! LK46W has >< on the bottom left key keycode 49 = less greater ! LK46W has ~` on the top left key keycode 9 = grave asciitilde ! the editing keypad keycode 97 = Find keycode 106 = Insert keycode 107 = apLineDel keycode 103 = Select ! the numeric keypad function keys keycode 77 = KP_F1 keycode 112 = KP_F2 keycode 63 = KP_F3 keycode 82 = KP_F4 ! the numeric keypad side keys keycode 123 = KP_Subtract keycode 86 = KP_Separator keycode 91 = KP_Decimal ! the numeric keypad number keys keycode 90 = KP_0 keycode 87 = KP_1 keycode 88 = KP_2 keycode 89 = KP_3 keycode 83 = KP_4 keycode 84 = KP_5 keycode 85 = KP_6 keycode 79 = KP_7 keycode 80 = KP_8 keycode 81 = KP_9 ! the missing function keys keycode 118 = F13 keycode 119 = F14 keycode 120 = Help keycode 121 = Menu keycode 122 = F17 keycode 111 = F18 keycode 78 = F19 keycode 110 = F20 ! end of lk46w.xmodmap