TERM.MAP File
This Thoroughbred Basic file enables Thoroughbred Basic to associate terminal definitions with task-IDs. As an alternative to the standard terminal configuration method for associating a terminal table with a task ID, you can select a terminal table before you execute Thoroughbred Basic.
You can create the TERM.MAP file in the Thoroughbred Basic home directory and assign a permission set of rw-rw-rw to the new file. Then, you can use the following format to create records to specify terminal types:
V1[|V2|. . . Vn]:table
- V1
- is a terminal specification recognized by the operating system. For example, your operating system may recognize W60E-25 as a specification for the Wyse 60 terminal.
- |
- is the pipe character. This character separates each terminal specification.
- V2|. . . Vn
- are alternate specifications for the terminal specification contained by V1.
- :
- is a colon.
- table
- is the Thoroughbred Basic terminal table name specified in the TCONFIGW, TCONFIG8, or TCONFIG file.
Example
W60E-25|wy60-15|w601|wyse60-25:W60E
The example above specifies a set of recognized names for the Wyse 60 terminal and associates all of those names with the Thoroughbred Basic W60E terminal table.
You can find valid terminal designations in the file where your operating system stores information on terminal characteristics. Many UNIX systems store this information in the /etc/termcap or /etc/terminfo file.
You can specify the appropriate terminal table in the operating system by setting the TERM variable before you execute Thoroughbred Basic. For example, from your operating system prompt you can type:
TERM=vt220; export TERM
and press the Enter key. When you execute Thoroughbred Basic, it gets the contents of the TERM variable and checks TERM.MAP, which provides the name of a terminal table that the TCONFIG file will use.
TERM.MAP entries take precedence over the *NPSD or 8NPSD defaults. However, you can still use the *NPSD or 8NPSD utility to activate and load a terminal table specified in a TCONFIG file.
For more information on the *NPSD utility, please refer to the Thoroughbred Basic Utilities Manual. For more information on the 8NPSD utility, please refer to the Dictionary-IV Reference Manual. For more information on the standard method used to associate terminal tables with task IDs, please refer to How to Establish Terminals in Volume I of the Thoroughbred Basic Customization and Tuning Guide.
From the Customization and Tuning Guide: System Files, version 8.9.1. Open this page in the PDF