[comp.sys.ibm.pc] Remap CONTROL & CAPS LOCK

john@wa3wbu.UUCP (John Gayman) (12/31/88)

   Does anyone know of a program which will allow me to remap the 
position of the CTRL and CAPS LOCK key on an enhanced keyboard ? I
want to swap the two one-for-one.

					John

-- 
John Gayman, WA3WBU              |           UUCP: uunet!wa3wbu!john
1869 Valley Rd.                  |           ARPA: john@wa3wbu.uu.net 
Marysville, PA 17053             |           Packet: WA3WBU @ AK3P 

ward@chinet.chi.il.us (Ward Christensen) (01/01/89)

In article <187@wa3wbu.UUCP> john@wa3wbu.UUCP (John Gayman) writes:
>
>   Does anyone know of a program which will allow me to remap the 
>position of the CTRL and CAPS LOCK key on an enhanced keyboard ? I
>want to swap the two one-for-one.
  I typed the following little program in from an old PC magazine, and
use it all the time on my enyukked keyboards to "fix" them.  The only
time it doesn't work is with Microsoft Windows, because it "gets in
lower" i.e. grabs the interrupt itself.
  To enter this, go into debug, type e100 then type the hex data that
is shown, and hit the space bar after every pair of characters.
  Then type "nctrlcaps.com<enter>" and "rcx c0" to set the length, then
w to write the file then q to quit.
 c:\sys\bin\CTRLCAPS.COM
 0100 E9A30043 6F707972 69676874 20313938  |i#.Copyright 198|
 0110 37205A69 66662D44 61766973 20507562  |7 Ziff-Davis Pub|
 0120 6C697368 696E6720 436F2E20 4D696368  |lishing Co. Mich|
 0130 61656C20 4A2E204D 6566666F 72741A00  |ael J. Meffort..|
 0140 00000000 9C501EB8 40008ED8 8A261700  |.....P.8@..X.&..|
 0150 E4603C1D 75132E80 3E430101 742B80F4  |d`<.u...>C..t+.t|
 0160 402EC606 430101EB 1C3C9D75 082EC606  |@.F.C..k.<.u..F.|
 0170 430100EB 143C3A75 0580CC04 EB073CBA  |C..k.<:u..L.k.<:|
 0180 751C80E4 FB882617 00E4618A E00C80E6  |u..d{.&..da.`..f|
 0190 6186E0E6 61FAB020 E6201F58 9DCF1F58  |a.`faz0 f .X.O.X|
 01A0 9D2EFF2E 3F01B809 35CD2189 1E3F018C  |....?.8.5M!..?..|
 01B0 064101BA 4401B809 25CD21BA A701CD27  |.A.:D.8.%M!:'.M'|
  After entering it, but before writing it out, you might type:
  d100 lc0
  to dump, then compare to what I have here.
  CAUTION - might be line noise screwing up a byte or two.  I'm a PC
user and only know there is something called "uuencode" but that's
about all.
  Sample debug sessions start:
  debug
 -e100
 xxxx:0100 <shows old value at 100>e9<space><old value @ 101>a3<space> etc