+---------------------------------------------+ | Caps Lock / Control Key Swap for Windows NT | +---------------------------------------------+ Author: James Kittock Interval Research Corp. kittock@interval.com Version: 1.0 of February 5, 1996 CONTENTS 0. Disclaimer 1. What is this? 2. Compatibility notes 3. How do I install it? 4. How do I uninstall it? 5. How does it work? 6. What support is available? 0. DISCLAIMER This software is provided AS IS. The author and Interval Research Corp. disclaim all warranties as to this software, whether express or implied, including without limitation any implied warranties of merchantability, fitness for a particular purpose, functionality, data integrity or protection. 1. What is this? This package will install a new keyboard layout on your Windows NT machine that swaps the Caps Lock and Control keys (note: it only affects the left Control key on keyboards with multiple Control keys). This is very useful to lessen the damage to your left pinkie when using UNIX-inspired software, especially Emacs. This keyboard layout can be selected using the "International" control panel just like any other keyboard layout. 2. Compatibility notes This package has been successfully tested with Windows NT 3.5 and Windows NT 3.5.1. It has not been tested with any other version of Windows NT. It will not work with Windows '95, which uses a different system for keyboard layouts. 3. How do I install it? Since you are reading this file, you have probably already expanded the archive. There are two remaining phases of the installation, as follows. First, run the batchfile SETUP.BAT, which will replace the file "layout.inf" in your system directory C:\WINNT35\SYSTEM32. If your 32-bit system directory is not on this path, please edit SETUP.BAT accordingly. SETUP.BAT will backup "layout.inf" to "layout.inf.original." If that file already exists, it will abort with an error message; this is to ensure that SETUP.BAT doesn't accidentally overwrite your copy of your original "layout.inf" file. Second, once you have run SETUP.BAT, start the Control Panel and choose "International." In the list of keyboard layouts, you should see a new option "US-Caps Lock/Control swap". Select this option and close the control panel. NT will prompt for the path of the installation disks. Instead, give it the full pathname where you extracted the archive. NT will then install the new keyboard layout, and you are all set. 4. How do I uninstall it? The keyboard layout and modified version of layout.inf occupy only about 20K of disk space, so it is unlikely that you will want to uninstall them to save space. Also, you can always stop using the new keyboard layout by switching to another one in the "International" control panel. However, if you decide to get rid of the installation altogether, do the following a) in directory C:\WINNT35\SYSTEM32 (or wherever your 32-bit system lives) delete layout.inf and replace it with layout.inf.original. b) in the same location, delete KBDSWAP.DLL 5. How does it work? The file "layout.inf" tells NT about the various keyboard layouts that are available and where to find them. The version included with this package adds information on the swapped keyboard layout to the stock version of "layout.inf" The file "KBDSWAP.DLL" implements the swapped keyboard layout. It was created by byte-editing the standard KBDUS.DLL to swap the entries for the (left) Control and the Caps Lock keys. KBDUS.DLL is copied into the correct location when you choose the new layout and go through the control panel's installation routine. The file "DISK7.W" fools NT into thinking the subdirectory where you extracted the archive is one of the installation disks. Note that it may not be enough to simply copy KBDSWAP.DLL to the correct place in the system directory because the control panel's installation routine also makes some modifications to the Registry. 6. What support is available? This is freeware & you get what you pay for, i.e., there is no support for this package. If you have questions, try one of the Windows NT newsgroups.