Path: utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!tut.cis.ohio-state.edu!snorkelwacker!bu.edu!bucsf.bu.edu!austin From: austin@bucsf.bu.edu (Austin H. Ziegler, III) Newsgroups: comp.sys.ibm.pc Subject: Re: Want to remap ` and ESC keys on XT Message-ID: Date: 27 Feb 90 08:15:20 GMT References: <1755@borabora.omni.com> <578@massey.ac.nz> <9799@batcomputer.tn.cornell.edu> Sender: news@bu.edu.bu.edu Distribution: usa Organization: Boston University College of Engineering Lines: 36 In-reply-to: braner@batcomputer.tn.cornell.edu's message of 25 Feb 90 20:41:50 GMT >>>>> On 25 Feb 90 20:41:50 GMT, braner@batcomputer.tn.cornell.edu (Moshe >>>>> Braner) said: Moshe> In the book DOS POWER TOOLS by the editors of PC Mag (highly Moshe> recommended!) there is a utility (in the accompanying disk) called Moshe> IBMFIX. It swaps the ctrl and capslock keys. It is a small .com Moshe> file so it should be easy to patch it to swap ` and esc instead. Moshe> (It is a TSR that traps the keyboard interrupt.) I recommend many of the utilities in the book (especially INSTALL and REMOVE) but I do not recommend IBMFIX. The description of the program is that it swaps the LEFT-Control and CAPSLOCK keys, but it switches BOTH control keys with the capslock. So, if you don't want TWO CapsLock keys, don't use this program. Further, it uses a different sort of check for this swap than another. It is far easier to install ANSI.SYS or one of its replacements and use the following sequence to swap the keys: [27;"`";p[96;27;p where is character 27. That should swap the keys physically. The alternate method is to redefine the output character translation (this may work only in NANSI.SYS) using this sequence: [27;96y[96;27y Hope this helps, just my two bytes, austin -- +--------------------------------------------------------------------------+ | The surgeon general of the United States of America has determined that | | reading USENET turns your brain to jelly, leaving nothing to claim or to | | disclaim. +--------------------------------------------------------------+ +-----------+ Austin Ziegler austin@bucsf.bu.edu or austin@buengf.bu.edu | | 700 Commonwealth Box 2094, Boston, Massachusetts 02215 BUENG '93 | +--------------------------------------------------------------------------+