[comp.sys.ibm.pc] Reassign Ctrl Key to Caps Lock Key ?

gong@cbnewsc.ATT.COM (jiechen.james.gong) (10/30/89)

Hi:

I use EMACS as my primary editor.  Emacs needs a lot of control key
enter.  Unfortunely, IBM/AT's control key is not localed right next
to the 'A' key which is really hard to get use to.  

Is they any one out there can tell me how to swap key assignment between
control key and caps lock key ( which is right next to the 'A' key ).

Following is the key assignment batch file I wrote, but it did work.

<esc>[0;58;0;29p    /* assign control key to caps lock key */
<esc>[0;29;0;58p    /* assign caps lock key to control key */

j.g.

toma@tekgvs.LABS.TEK.COM (Tom Almy) (11/01/89)

In article <4203@cbnewsc.ATT.COM> gong@cbnewsc.ATT.COM (jiechen.james.gong) writes:
>I use EMACS as my primary editor.  Emacs needs a lot of control key
>enter.  Unfortunely, IBM/AT's control key is not localed right next
>to the 'A' key which is really hard to get use to.  

>Is they any one out there can tell me how to swap key assignment between
>control key and caps lock key ( which is right next to the 'A' key ).

The following TSR, which I wrote and distribute freely, makes the caps lock
key into another caps lock key, and rightshift-caps lock into a caps lock
key.

I post this every time someone complains about that stupidly designed keyboard
(will IBM ever get it right?). My personal solution has been to buy Northgate
Omnikey/102 keyboards for the systems I use. Many clone keyboards have a switch
to exchange the control and caps lock keys. I recommend the purchase of
"correct" keyboards.

begin 666 kbdr.com
MZ0@`3P(`````"@"\FO_'!@4!F/^]_O^)+@<!_.AB`+@`3,TA`````(#\3W4O
M/#IU&P8NC@9^`";V!A<$`74"L!TNHGT`!_DN_RZ``#RZ=0PNH'T`!(#Y+O\N
M@`#Y+O\N@`!>6%I;'H[;M"7-(1__YK0US2&)V(S#P[H,`+@`,<TAZ'T`-$-!
M4%-,3T-+("T^($-44DPL("!224=(5%-(2494("L@0T%04TQ/0TL@+3X@0T%0
M4TQ/0TOH5P#H0@`+0GD@5&]M($%L;7GH10#'!GX```"X%0#HEO^C)`&)'B8!
MNB0!4KJ``%*Z/@!2Z%$`C,A0NH0`4KH5`%+H9/_I>/];B@<PY$-34`'#6%I3
MB=/I(0"X#0#H"0"X"@#I`P`!``"B(0*T0+D!`+HA`HL>'P+-(<.)P8G:BQX?
4`K1`S2'#6UE?7N,&C-B.P/.D_^.B
`
end

Tom Almy
toma@tekgvs.labs.tek.com
Standard Disclaimers Apply