SET TERM
Load a Terminal Table
This directive is used to reconfigure the terminal on channel 0 by loading a Terminal Table from a TCONFIG file.
Syntax
Section titled “Syntax”SET TERM string-value [,err=line-ref|,ERC=error-code]string-value- a string specifying the name of the Terminal Table to load.
line-ref- is the program line number or label to branch to if an error is produced.
error-code- is a programmer-defined error code. Valid values are positive or negative whole numbers.
Remarks
Section titled “Remarks”This directive is generally available starting with release level 8.5.
This directive loads the Terminal Table specified by string-value into memory replacing the existing table. The table is loaded from the same file, either TCONFIG8 or TCONFIGW, which was used when Basic was first started.
Specifying a non-existent table will produce ERR=11.
If the original TCONFIG file is not available when this directive is executed, ERR=12 will result. Actions by other users, such as record extracted, may also produce errors.
For more information on the terminal table see the Basic Customization and Tuning Guide Volume II - System Files.
Examples
Section titled “Examples”SET TERM "VT220"Sets the terminal table to DEC VT220.
SET TERM "WINNTCON"Sets the terminal table to Windows console.
See also
Section titled “See also”*NPSD Utility
From the Thoroughbred Basic Language Reference, Volume III: R–Z, version 8.9.1. Open this page in the PDF