From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,4e21fd44965dc356,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1993-02-11 11:42:26 PST Newsgroups: comp.sys.dec Path: sparky!uunet!pmafire!news.dell.com!swrinde!sdd.hp.com!spool.mu.edu!agate!dog.ee.lbl.gov!hellgate.utah.edu!math.utah.edu!news.math.utah.edu!odekirk From: odekirk@math.utah.edu (Elizabeth Odekirk) Subject: Switching caps-lock and control keys Sender: news@math.utah.edu Date: Thu, 11 Feb 1993 19:42:26 GMT Distribution: comp.sys.dec Organization: Department of Mathematics, University of Utah Message-ID: I am trying to change my control and caps lock key, with very limited success. I am on a VAXstation 3100 running VMX and motif. I have an LK201 keyboard. I have tried changing it with xkeycaps and xmodmap using the file: ! ! Swap Caps_Lock and Control_L ! remove Lock = Caps_Lock remove Control = Control_L keysym Control_L = Caps_Lock keysym Caps_Lock = Control_L add Lock = Caps_Lock add Control = Control_L (this is the file recommended by the xmodmap man page). This will switch the keys, but the lock key will still lock in place, turning on the caps-lock key. Now when I press lock, control is turned on until I press the lock key again. Ctrl key is now caps, but does not lock, so it is essentially a shift key. When I shift the two keys on a DECstation running Ultrix using an LK201 keyboard, the switch works the way it should. In the files DECW$SM_KEYBOARD.dat and DECW$SM_GENERAL.DAT, I commented out the line: /*sm.lock_state: caps*/ and that did not make a difference. Help. If anyone knows the secret to this, please e-mail to me and I will post the answer(s). Elizabeth S. Odekirk eodekirk@mystic.sim.es.com