The keyboard may be remapped to suit specific needs for each user. In addition, more than one keyboard mapping may be set up, and keyboard mappings may be distributed to other PCs. This document addresses keyboard mapping in Windows versions of TERM and TinyTERM.
To change the keyboard scheme
From the TinyTERM 3.x or TERM 7.x Configure menu, select Keyboard. The Keyboard Select dialog box is then displayed.
In TinyTERM 4.x, from the Edit menu select Session Properties, then the Keyboard tab.
From the drop-down list, select the keyboard scheme to load. To have the selected scheme take effect, click the OK button. To leave the keyboard scheme as is, click the Cancel button.
Edit
To edit an existing keyboard scheme, select it and click the Edit button. In TinyTERM 3.x or TERM 7.x, it will be saved under the same name automatically. In TinyTERM 4.x, click the Save As button when done editing, then give the same name it had before.
After clicking the Edit button, the Keyboard Editor dialog box comes up. Some of the buttons in this dialog box are described below. The more obvious buttons — such as Cancel — are not described in the interest of document length.
Create a new keyboard scheme
To create a new keyboard mapping scheme in TinyTERM 3.x or TERM 7.x, type a description in the Keyboard Scheme edit field and click the Edit button. In TinyTERM 4.x, click the Save As button and give the scheme a new name.
The keyboard editor
All the keys in the keyboard edit window accept several actions:
- Any key can be dragged and dropped on any other key to change the destination key to send the sequence of the source key. The label on the destination key will change to the new value, and the font will be bold to show that the key has been changed.
- Any key can be clicked on and the key name will appear in the Keyname list box for manual editing.
- When the Alt, Shift or Ctrl key is clicked, the keyboard will redraw to display the keys modified by the selected key. Shift and Ctrl may be combined, but Alt is used alone. Keys that do not display a value are generally not mappable, except for the space bar.
The key chart
Clicking the Chart Open button opens the TCS chart. Characters from the chart can be dragged to keys in the keyboard editor. The target key will be set to the value of the character dragged and dropped. Each page of the TCS chart can be viewed by clicking the buttons labeled 1, 2, 3 and 4 on the right side of the chart.
The functions chart can be displayed by clicking the F Button. TinyTERM functions can be dragged from this chart to any key.
Set button
This button can be used to set or apply the contents of the Value Viewer text box to the selected key.
The Reset button
Clicking this button resets the selected key to its default value.
The Clipboard
The Clipboard is a temporary holding area for keys and values. Use the clipboard to drag keys and values from modified keys to unmodified keys and to drag keys and values from unmodified keys to modified keys. More information is available here.
Copy keyboard mappings
To copy keyboard mappings to other PCs running TinyTERM 3.x or TERM 7.x, simply copy the current .tap file and the keyboard.dat file to a network or floppy drive. The files can then be copied onto the other PCs.
For TinyTERM 4.x, simply copy the keyboard.dat file. No other files are needed for the keyboard schemes.
Common macro values
Macro |
Meaning |
Keyboard |
\E or ^[ |
Escape |
Esc |
^M or \r |
Enter or carriage return |
Enter |
\n or ^J |
line feed |
Ctrl-J |
^ |
control |
Ctrl |
\x## |
hex string |
(n/a) |
Example
Typing Ctrl-E in TinyTERM 3.x executes the internal command ECMD by default. To remap Ctrl-E to the value ^E, do the following:
- Open the Keyboard Editor.
- After selecting the correct keyboard scheme, click the Edit button.
- Click the CTRL key on the keyboard map.
- Click the key labeled FN1 where the E key should be.
- Notice under Keyname that “^E” is displayed, and in Value is shown “<ECMD>”.
- Remove <ECMD> in the Value box.
- Click the Chart Open button.
- Click on the club symbol in the chart (5th symbol on the first row), then drag the symbol to the Value Viewer box. The club symbol on an ASCII chart is the same as ^E.
- The club symbol will be displayed in the Value Viewer box. The Value will display “<517>”, which is the internal TCS value.
- Click the Set button, then click OK. Typing Ctrl-E will now send ^E.
You can also view this information in a screencast by clicking here.