Skip to content

TERMINAL-TYPE

FUNCTION

This Script-IV variable contains the name of the current terminal type.

SYNTAX

TERMINAL-TYPE

NOTES

  • This variable contains an 8-character name that specifies the name of the terminal table selected from the *NPSD Utility or the Terminal Configurator Utility. The terminal table specifies the operating characteristics of a terminal.

EXAMPLES

IF TERMINAL-TYPE = "WY0050" THEN
PRINT "A WYSE-50 TERMINAL"
ELSE
IF TERMINAL-TYPE = "IBMXMONO" THEN
PRINT "AN IBM-PC MONITOR"
ENDIF
ENDIF

SEE ALSO

Description of *NPSD Utility in the Thoroughbred Basic Utilities Manual, description of Terminal Configurator Utility in the Dictionary-IV Reference Manual.

From the Script-IV Language Reference, version 8.9.1. Open this page in the PDF