From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 11035d,b2a5d13592a137ed X-Google-Attributes: gid11035d,public X-Google-Thread: fa528,b2a5d13592a137ed X-Google-Attributes: gidfa528,public X-Google-ArrivalTime: 2001-09-12 16:00:17 PST Path: archiver1.google.com!newsfeed.google.com!sn-xit-02!supernews.com!newsfeed.direct.ca!look.ca!feed.news.qwest.net!hardy.tc.umn.edu!news.nodak.edu!not-for-mail From: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Newsgroups: comp.unix.tru64,comp.unix.solaris Subject: Re: keyboard mapping Date: 12 Sep 2001 22:42:41 GMT Organization: North Dakota Higher Education Computing Network (NDHECN) Message-ID: <9nood1$lkb$8@news.ndsu.nodak.edu> References: <3B963071.22E6D87A@umich.edu> NNTP-Posting-Host: dogbert.cc.ndsu.nodak.edu Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Trace: news.ndsu.nodak.edu 1000334561 22155 134.129.106.23 (12 Sep 2001 22:42:41 GMT) X-Complaints-To: abuse@nodak.edu NNTP-Posting-Date: 12 Sep 2001 22:42:41 GMT X-Newsreader: trn 4.0-test74 (May 26, 2000) Originator: mooney@dogbert.cc.ndsu.NoDak.edu (Tim Mooney) Xref: archiver1.google.com comp.unix.tru64:4869 comp.unix.solaris:64092 In article <3B963071.22E6D87A@umich.edu>, Virginia Rogers wrote: > > Hi, > > I recently discovered a neat utility called dxkeycaps on my AlphaServer DS20 > which is running Tru64 V5.0A. dxkeycaps allows you to interactively edit the > keyboard mapping. I used it to redefine the top row on the numeric keypad to > act like the PF1 - PF4 keys on a VT100 keyboard. Now I can telnet from the > alpha to a VMS system and the keypad works correctly in the editor (EDT). > dxkeycaps created a file (.dxkeycaps, in my home directory) which contained the > following lines used to redefine the keypad keys: > keycode 0x76 = KP_F1 KP_F1 > keycode 0x77 = KP_F2 KP_F2 > keycode 0x7E = KP_F3 KP_F3 > keycode 0x84 = KP_F4 KP_F4 > > Does anyone know if I can do the same thing in Solaris? Key remapping utilities have been around for years. `xmodmap' is pretty standard and generally works throughout X. Solaris also has some other utility for doing even console rearrangement of keys -- look at the /etc/init.d/keymap script, and the manpages for dumpkeys and loadkeys. Tim -- Tim Mooney mooney@dogbert.cc.ndsu.NoDak.edu Information Technology Services (701) 231-1076 (Voice) Room 242-J6, IACC Building (701) 231-8541 (Fax) North Dakota State University, Fargo, ND 58105-5164