Pathway/iTS SCREEN COBOL Reference Manual (G06.24+, H06.03+, Pathway/iTS 1.0+)
Procedure Division
Compaq NonStop™ Pathway/iTS SCREEN COBOL Reference Manual—426750-001
6-96
TERMINALINFO Statement
•
IBM-PARTIAL-COLOR indicates whether the terminal supports three colors.
°
1 indicates that the terminal supports three colors.
°
0 indicates that the terminal does not support three colors.
•
IBM-FULL-COLOR indicates whether the terminal supports six colors.
°
1 indicates that the terminal supports six colors.
°
0 indicates that the terminal does not support six colors.
•
For the display attributes IBM-BASE-ATTR, IBM-FIELD-REVERSE, IBM-
FIELD-BLINK, IBM-FIELD-UNDERLINE, and IBM-FIELD-OUTLINE:
°
1 indicates that the terminal supports the attribute(s).
°
0 indicates that the terminal does not support the attribute(s).
IBM-BASE-ATTR indicates whether the terminal supports attributes supported by
the C00 and previous releases of Pathway for terminals in the IBM 3270 family.
IBM-FIELD-REVERSE indicates whether the terminal supports reverse video.
IBM-FIELD-BLINK indicates whether the terminal supports blinking video.
IBM-FIELD-UNDERLINE indicates whether the terminal supports underlining.
IBM-FIELD-OUTLINE indicates whether the terminal supports outlining.
If, for example, a SET MINIMUM-COLOR statement is executed, a value of 0 returned
by the TERMINALINFO statement in DEVICE-VIDEO-STATUS-COLOR indicates
that the terminal supports the required color display attributes. Similarly, if a SET
MINIMUM-ATTR statement is executed, a value of 1 returned by the
TERMINALINFO statement in DEVICE-VIDEO-STATUS-ATTR indicates that the
terminal supports the required highlight display attributes and some that are not
required.
Note the following considerations when you take action based on the TERMINALINFO
statement:
•
The default setting is IBM-BASE-ATTR with no color display attributes. This
default is equivalent to executing a SET MINIMUM-ATTR statement with IBM-
BASE-ATTR set to 1 and all other Working-Storage fields set to 0 and executing a
SET MINIMUM-COLOR statement with all the Working-Storage fields set to 0.
•
After issuing a SET MINIMUM-ATTR or SET MINIMUM-COLOR statement, you
can issue a TERMINALINFO statement for a terminal to determine the level at
which the terminal supports the required extended field attributes.
•
You can change the required attributes between DISPLAY BASE operations;
however, the TCP does not use attributes that the device does not support.