Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jtkohl From: jtkohl@MIT.EDU (John T Kohl) Newsgroups: comp.sys.dec Subject: Re: keyboard remapping on DECstation 3100 Message-ID: Date: 22 Feb 91 00:42:25 GMT References: <16896@milton.u.washington.edu> Sender: news@athena.mit.edu (News system) Organization: MIT Project Athena Lines: 43 In-Reply-To: iho@cac.washington.edu's message of 21 Feb 91 20:40:17 GMT In article <16896@milton.u.washington.edu> iho@cac.washington.edu (Il Oh) writes: > I have a DECstation 3100. I really hate the placement of the < and > > keys. ... Better yet, is there a way to do this remapping > globally for all applications running on it? yes. This is the file I use daily (on an X11R4 server, but should work fine with DECwindows): ! $Source: /afs/athena.mit.edu/user/j/jtkohl/lib/X11/RCS/Xmodmap,v $ ! $Author: jtkohl $ ! $Header: /afs/athena.mit.edu/user/j/jtkohl/lib/X11/RCS/Xmodmap,v 1.9 89/12/19 09:41:10 jtkohl Exp Locker: jtkohl $ ! ! To use this file: /lib/cpp -P < thisfilename | xmodmap - ! #ifdef i386 ! assume losing PS/2 unix keysym BackSpace = Delete #endif ! Make the caps lock key a control key. Otherwise, it gets in the way. clear Lock add Control = Caps_Lock ! ! Define F1 on the LK201 to be the escape key, and F9 on the RT to be ! the escape key. This provides "finger macro" compatibility between the ! keyboards. #if defined(vax) || defined(mips) ! 86 is the F1 key on the LK201 keycode 86 = Escape ! 177 is the Compose Character key on the LK201 ! this is needed to insure that it's really a meta key keycode 177 = Meta_L keysym comma = comma less keysym period = period greater #endif #ifdef ibm032 ! 71 is the F9 key on the RT keycode 71 = Escape #endif -- John Kohl or Digital Equipment Corporation/Project Athena (The above opinions are MINE. Don't put my words in somebody else's mouth!) Brought to you by Super Global Mega Corp .com