[comp.sys.mips] CapsLock/CTRL Switch ???

dalton@mit-caf.MIT.EDU (Timothy J. Dalton) (04/16/91)

We just upgraded our RS2030 to RISC/OS 4.51 and following the update, 
the Caps Lock and CTRL keys were somehow logically switched.

How do I set the keys back to where I expect to find them ?

Thanks,

	Tim


+============================================================================+
|                              Timothy J. Dalton                             |
+============================================================================+
| Materials Etching Technologies Laboratory          dalton@caf.mit.edu      |
| Department of Chemical Engineering                 tjdalton@athena.mit.edu | 
| Massachusetts Institute of Technology              dalton@mit-caf.uucp     |
+============================================================================+

trevc@tecate.mips.com (Trevor Cotton) (04/17/91)

In article <5992@mit-caf.MIT.EDU>, dalton@mit-caf.MIT.EDU (Timothy J. Dalton) writes:
|> We just upgraded our RS2030 to RISC/OS 4.51 and following the update, 
|> the Caps Lock and CTRL keys were somehow logically switched.
|> 
|> How do I set the keys back to where I expect to find them ?
|> 
|> Thanks,
|> 
|> 	Tim
|> 
|> 

Changing the value of the PROM keyswtch variable will switch the meanings.

-- 
--trevc--

cheung@sra.co.jp (Cheung Wah Kheang) (04/17/91)

In article <5992@mit-caf.MIT.EDU> dalton@mit-caf.UUCP (Timothy J. Dalton) writes:
>We just upgraded our RS2030 to RISC/OS 4.51 and following the update, 
>the Caps Lock and CTRL keys were somehow logically switched.
>
>How do I set the keys back to where I expect to find them ?
>

Add the following lines into your .xsession/.xinitrc script:

	#
	#Switch Caps_Lock and Control_L
	#
	xmodmap -e "remove Lock = Caps_Lock"		\
		-e "remove Control = Control_L"		\
		-e "keysym Control_L = Caps_Lock"	\
		-e "keysym Caps_Lock = Control_L"	\
		-e "add Lock = Caps_Lock"		\
		-e "add Control = Control_L"


-------------------------------------------------------------
					cheung@sra.co.jp