capsmap - DOS TSR for remapping caps lock
Capsmap is a DOS Terminate and Stay Resident program, for remapping caps lock to any other key. It does this by taking control of the keyboard interrupt, and either modifying the BIOS keyboard flag bytes (for modifier keys), or appending scancodes to the BIOS keyboard buffer, when it detects a caps lock press/release. This remapping trick will work for most DOS programs which use either BIOS or DOS calls to get keyboard input. It will not work however for any programs which access the keyboard directly, like most games. Written by John Tsiombikas and available in the public domain. You can find it on the Capsmap GitHub.