Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Switching caps-lock and control keys
@ 1993-02-11 19:42 Elizabeth Odekirk
  0 siblings, 0 replies; only message in thread
From: Elizabeth Odekirk @ 1993-02-11 19:42 UTC (permalink / 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





^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1993-02-11 19:42 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1993-02-11 19:42 Switching caps-lock and control keys Elizabeth Odekirk

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