toma@tekgvs.TEK.COM (Tom Almy) (12/10/87)
I just got a system with a 101 key keyboard and started going crazy with the bad placement of the caps lock key right where every other keyboard puts ctrl. So I wrote the following terminate and stay resident program which fixes things up. It makes the caps lock into yet another control key and the otherwise useless F12 into a caps lock key. I was considering mapping the other control keys into Alt, and those Alt keys into Esc, but I thought that might be too confusing. This program takes a mere 240 bytes away when placed in your autoexec.bat file. Most of the space is used by DOS for system administration. To make it as small as possible I relocate the code into the program segment prefix. The actual "stay resident" part is written in assembler, while the loader portion is in compiled Forth (sources on request). ; Use uudecode to unpack the program begin 666 kbd.com MZ0@`,@(`````"@"\FO_'!@4!F/^]_O^)+@<!_.A=`+@`3,TA`````(#\3W4J M/#IU"+`=^2[_+H``/+IU"+"=^2[_+H``/%AU"+`Z^2[_+H``/-AU`K"Z^2[_ M+H``7EA:6QZ.V[0ES2$?_^:T-<TAB=B,P\.Z#`"X`#'-(>AE`")#05!33$]# M2R`M/B!#5%),+"`@1C$R("T^($-!4%-,3T-+Z%$`Z#P`"T)Y(%1O;2!!;&UY MZ#\`N!4`Z*[_HR0!B1XF`;HD`5*Z@`!2NCD`4NA1`(S(4+J$`%*Z%0!2Z'S_ MZ9#_6XH',.1#4U`!PUA:4XG3Z2$`N`T`Z`D`N`H`Z0,``0``H@0"M$"Y`0"Z D!`*+'@("S2'#B<&)VHL>`@*T0,TAPUM97U[C!HS8CL#SI/_C ` end Tom Almy {major hubs}!tektronix!tekgvs!toma toma@tekgvs.TEK.COM