The keyboard.dat File

All default and custom keyboard layouts in TinyTERM are saved in the keyboard.dat file. The default location for this file is the folder TinyTERM is installed into, normally:

C:\Program Files (x86)\Century\TinyTERM

On 32-bit versions of Windows, C:\Program Files replaces C:\Program Files (x86).

Changes are not saved to this file, however. Instead, all keyboard customization is saved to the user's Documents or My Documents folder, in a TinyTERM sub-folder. TinyTERM automatically loads this copy of keyboard.dat if it exists. This allows individual users to customize keyboard layouts as desired.




Selecting an Alternate Keyboard File

You can select a custom keyboard.dat file from the TinyTERM command line. This overrides the default and user copies of the file. The syntax is:

"C:\Program Files (x86)\Century\TinyTERM\tt.exe" -keyboard "C:\path\to\keyboard.dat"

The quotation marks on the keyboard path are only required if the path includes a space.

The keyboard file is also available as a TPX file setting, in the [term.emu] section. That syntax is:

keyboardfile=C:\path\to\keyboard.dat

This argument does not use quotation marks, regardless of the path.




Priority

The command-line and TPX arguments may be used together or independently. If they point to different files, or if one of the files is missing or otherwise inaccessible, the arguments are used in this order:

  1. Command-line argument
  2. TPX file setting
  3. User's Documents\TinyTERM folder
  4. Default copy



Saving Keyboard Changes

Regardless of how keyboard.dat is loaded, edits are always saved to the user's Documents\TinyTERM\keyboard.dat file. This protects the default files from accidental changes, whether loaded automatically, from the command line, or as a TPX setting.


Back to Windows documentation index


Back to TinyTERM Plus for Windows documentation index