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. All keyboard customization is saved
to the user's
My Documents folder, in a
TinyTERM sub-folder. TinyTERM automatically loads this copy of
keyboard.dat if it exists.
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:
This argument does not use quotation marks, regardless of the path.
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:
- Command-line argument
- TPX file setting
- 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.