[comp.windows.x] xset [-]k

RWS@ZERMATT.LCS.MIT.EDU (Robert Scheifler) (10/30/87)

Yes, it's undocumented and buggy (uses a keysym where it should be using
a keycode).  We should probably just rip the code out rather than fixing
it, since you can instead do

	xmodmap -l
or
	xmodmap +l Caps_Lock

Note that this doesn't, strictly speaking, switch the key between
up/down and toggle, as was possible in X10 (but which was a complete
crock).  It switches the key between being used as the Lock modifier and
not being as a modifier.  A side-effect on various systems will be to
switch the toggle behavior.