[comp.binaries.ibm.pc] v11i024: fixkey, put Cntl where it belongs

ibmbin-request@crdgw1.crd.ge.com (03/25/91)

Checksum: 3770166918  (Verify with "brik -cv")
Posting-number: Volume 11, Issue 024
Submitted-by: zlraa@marlin.jcu.edu.au
Archive-name: fixkey/part01


[ I have tried this, and it works very well for me! -w.e.d ]

submitter's commentary:

The following is a description of what the programs do, and is an edited 
excerpt from the .doc file

FIXKPC version 2.3 and FIXKAT version 2.2 documentation

FIXKPC and FIXKAT are small TSRs for those who, like me, use a laptop like
the Toshibas which has a keyboard whose lower left looks like:

Ctrl
Shift
Alt   CapsLock

while the keyboard on their desktop is the "improved" IBM-standard, which
looks like:

CapsLock
Shift
Ctrl    Alt

*I*, at any rate, have lots of trouble alternating between these
arrangements:  I constantly press caps lock for Ctrl on the desktop, and Alt
for Ctrl on the laptop.  I rarely actually want to lock caps anyway.  The
combination of these two TSRs gives me keyboards that function the same on
both machines.

FIXKPC runs on the laptop or any other PC-XT compatible machine, and FIXKAT
runs on any AT-compatible machine.  I suggest running them early in your TSR
load sequence.  They both eat only a couple of hundred bytes, and make life
a *lot* easier, at least for me.  Their results are:

LAPTOP KEYBOARD AFTER RUNNING FIXKPC:

Ctrl
Shift
Ctrl    Alt

Now, wherever your fingers go looking for the Ctrl key, they'll find it.
The Alt key is in the same relative position it occupies on an "improved" AT
style keyboard.  Where's Caps Lock?  The key labelled Caps lock will toggle
caps lock as usual *IF* you press either Shift key first, and hold it down
while pressing Caps Lock.

You can return the keyboard to its standard arrangement, which may be
necessary for entering Alt-xxx extended keycodes with the numeric keypad
under some BIOSes, by pressing the real Ctrl key, then the Right_shift key
simultaneously.  Pressing them again toggles the translation back on.

--------

That fixes the laptop keyboard.  To fix the desktop keyboard, use FIXKAT.
Again, it seems to work fine as the first TSR installed.  After running it,
the AT keyboard becomes:

DESKTOP AT KEYBOARD AFTER RUNNING FIXKAT:


Ctrl
Shift
Ctrl    Alt

The *same* arrangement as the laptop.  Again, you'll never put the keyboard
in Caps Lock while searching for the Ctrl key.  Also, as in FIXKPC, pressing
either Shift key and then the caps lock simultaneously toggles caps lock on
and off, and pressing the real Ctrl key and then the Right_shift key
simultaneously toggles the keyboard translation off and on.

Ross Alford
zlraa@marlin.jcu.edu.au

Department of Zoology
James Cook University
Townsville, Qld 4811
Australia



[
Checksums obtained with the 4.3BSD "sum" or System V "sum -r" command.

checksum     size (bytes)  file (between BEGIN--cut and END--cut lines)
   45210         4811      part01

checksum     size (bytes)  file
   22253         3470      fixkey.zoo

-- bill
]

fixkey part01/01
BEGIN--cut here--cut here
begin 644 fixkey.zoo
M6D]/(#(N,#`@07)C:&EV92X:``#<I\3]*@```-;___\"``%9#0``-0`!W*?$
M_0(!3P(``'$```!'%DE=-H0'`@``W@$```$```````````!F:7AK870N8V]M
M`.B?"@!_"<<`````````````0"DC*```TQT#X,'!!T#\GM3)`<A'L0`QZ$C@
MT8'.$!Z=Z!CA88-."QZVZ,!8!X(CG1$@Z9C@H8-.$1ZZZ&CAH8+."QZJZ,B@
M2"<#1CH</N13!Z`H`&,&AD%<YP2ITI'KD!);"D1J@)'=D!I;:DWKU77/&FZ-
MN*"ATH@$8'58UPOIL:6V&KZ-4>>`VZ^H8'5:1\HLQ#J=&DZE:ZGA0[IV#3P<
MB0CIX76!8,"((;FH+@,":"5H%F(&,$>?#;``0"L)9UP5:G!.Y.%(`$8&D@30
M-2``ZA*<=2D+8$_8`T^Q"$Q3]XE.`"&X`,3@;"0)EB5!J("P4T8."!DN9.@`
M`:+)&S)IS*0I0P:$&3EOVH!HCH5RC"59&B@8\@9.'CEISJ"A`P+%F!0@Q)`#
M#CAP1P4:Z84Q!PA'N``"$F&XP48:;H"0Q(7R>0>>>&.$04<:;[BQ(!1UB#'A
M&"`0D2"%`>:0`PP@B)$'"%*\,<>"03@8!!MFO"$'&?)1(4>$<[#A81D+#A$&
M'',P\<88:X#00@L^@#`$%5(P(1]W7';)W11HA.>1DDPZ":645%JY9)-/KB'?
M$'3(P48+4N2WWQ=S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