From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: fee84,9975ab34328f2e81 X-Google-Attributes: gidfee84,public From: fuhrmann@weyl.wias-berlin.de (Juergen Fuhrmann) Subject: Re: DEC LK411 keyboard on OSF1 AlphaStation 200 4/166 Date: 1995/07/12 Message-ID: #1/1 X-Deja-AN: 106180190 references: <3trgke$mfn@sun20.ccd.bnl.gov> content-type: text/plain; charset=iso-8859-1 organization: Technical University of Berlin, Germany mime-version: 1.0 newsgroups: comp.unix.osf.osf1 >>>>> "David" == David Hassel writes: David> I just bought a AlphaStation 200 4/166 and I didn't David> like the PCish keyboard it came with. I switched to a David> LK411 "DEC" keyboard from another Alpha machine and it David> seemed to work OK. Now that I'm using dxterm, the keys for David> the numeric keypad still act in their PCish way. I've David> looked through XKeysymDB and Xdefaults but see no way to David> quickly change the mappings. Has anyone run into this David> problem and maybe willing to share their XKeysymDB or some David> other work-around? David> Thanks, David> Dave Hassel David> benu@bnlux1.bnl.gov Here is an xmodmap file which does the job. Put "xmodmap 'filename'" into .X11Startup. It puts Help, Do and F17 in place of these SysReq etc. keys, switches off NumLock and redefines the block above the cursor keys into the usual DEC manner. With this file you can share one .tpu-gnu-keys with the old and the new keyboards if you are using emacs 19.x with tpu-edt. (Still my question to Digital - Why don't you deliver this as standard - it is so cheap for you, and a lot of VMS accustomed people switching to OSF would really enjoy this...) Juergen So, here is the file: ***begin file ! Idea : I.Bremer bremer@wias-berlin.de ! Modifications : J.Fuhrmann fuhrmann@wias-berlin.de remove mod2 = Scroll_Lock remove mod4 = Num_Lock keycode 102 = Delete BackSpace keycode 87 = Help keycode 95 = Menu keycode 98 = F17 keycode 118 = KP_F1 KP_F1 KP_F1 KP_F1 keycode 119 = KP_F2 keycode 126 = KP_F3 keycode 132 = KP_F4 ! One key is missing for KP_Subtract keycode 124 = KP_Separator keycode 112 = KP_0 keycode 105 = KP_1 keycode 114 = KP_2 keycode 122 = KP_3 keycode 107 = KP_4 keycode 115 = KP_5 keycode 116 = KP_6 keycode 108 = KP_7 keycode 117 = KP_8 keycode 125 = KP_9 keycode 113 = KP_Decimal keycode 121 = KP_Enter keycode 100 = Select keycode 111 = DRemove keycode 110 = Insert keycode 103 = Find keycode 109 = Next keycode 101 = Prior ***end file -- Juergen Fuhrmann fuhrmann@wias-berlin.de Weierstrass Institute for Applied Analysis and Stochastics (WIAS) Mohrenstrasse 39 D-10117 Berlin, Germany phone: (49) 030 20377 560 fax: (49) 030 2044975 * Bad News is No News *