Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: odekirk@math.utah.edu (Elizabeth Odekirk)
Subject: Switching caps-lock and control keys
Date: Thu, 11 Feb 1993 19:42:26 GMT	[thread overview]
Message-ID: <ODEKIRK.93Feb11124226@magna.math.utah.edu> (raw)


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





                 reply	other threads:[~1993-02-11 19:42 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox