Path: utzoo!utgpu!water!watmath!clyde!rutgers!mit-eddie!uw-beaver!tektronix!tekcrl!tekgvs!toma From: toma@tekgvs.TEK.COM (Tom Almy) Newsgroups: comp.sys.ibm.pc Subject: that 101 key keyboard Message-ID: <2948@tekgvs.TEK.COM> Date: 9 Dec 87 18:36:45 GMT Reply-To: toma@tekgvs.UUCP (Tom Almy) Organization: Tektronix, Inc., Beaverton, OR. Lines: 33 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^)+@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