MAP1 TRMCHR’MAP
MAP2 TRMCHR’FLAGS,F,6
MAP2 TRMCHR’ROWS,F,6
MAP2 TRMCHR’COLS,F,6
MAP2 TRMCHR’COLORS,F,6
MAP2 TRMCHR’FORE,F,6
MAP2 TRMCHR’BACK,F,6
MAP2 TRMCHR’WINROW,F,6
MAP2 TRMCHR’WINCOL,F,6
MAP2 TRMCHR’TSLSIZ,F,6 ! (optional)
MAP2 TRMCHR’BSLSIZ,F,6 ! (optional)
MAP2 TRMCHR’BSSSIZ,F,6 ! (optional)
The individual fields are described in the following table.
Symbol |
Description |
TRMCHR’FLAGS |
Returns the sum of flags from the following table. |
TRMCHR’ROWS |
The number of rows currently displayed. |
TRMCHR’COLS |
The number of columns currently displayed. |
TRMCHR’COLORS |
The number of colors the terminal supports. Monochrome terminals will report 0. |
TRMCHR’FORE |
The current foreground color. Monochrome terminals will report 0. The color values are: 0 Black, 1 White, 2 Blue, 3 Magenta, 4 Red, 5 Yellow, 6 Green, 7 Cyan |
TRMCHR’BACK |
The number of the current background color (same color values as TRMCHR’FORE). |
TRMCHR’WINROW |
The number of rows in the current dialog. If initially set to -1 and the terminal is ATE, the operation is performed on the ATE workstation instead of within the server job. |
TRMCHR’WINCOL |
The number of columns in the current dialog. |
TRMCHR'TSLSIZ |
(optional A-Shell extension) Length of top status line |
TRMCHR'BSLSIZ |
(optional A-Shell extension) Length of bottom status line |
TRMCHR'BSSSIZ |
(optional A-Shell extension) Length of bottom shifted status line |
The following table defines the TRMCHR'FLAGS bits.
Value |
trmchr'flags Meaning |
&h00000001 |
Alternate page support |
&h00000002 |
Block fill support |
&h00000004 |
Column insert/delete support |
&h00000008 |
Multiple color support |
&h00000010 |
Function key translation support |
&h00000020 |
Is an Alpha Micro terminal |
&h00000040 |
Has a status line |
&h00000080 |
Horizontal split screen support |
&h00000100 |
Erase to end of line support |
&h00000200 |
Erase to end of screen support |
&h00000400 |
Underscore attributes support |
&h00000800 |
Blinking support |
&h00001000 |
Dim video support |
&h00002000 |
Reverse video support |
&h00004000 |
Character insert/delete support |
&h00008000 |
Line insert/delete support |
&h00010000 |
Local printer support |
&h00020000 |
Settable 80/132 column support |
&h00040000 |
Selectable smooth scroll support |
&h00080000 |
Has box drawing commands |
&h00100000 |
Has "mode" type attributes |
&h00200000 |
Has AM-70 style color commands |
&h00400000 |
Has "no space" attribute commands |
&h00800000 |
Variable number rows and columns |
&h01000000 |
Enhanced tab(-1,192) support |
&h02000000 |
A-Shell GUI extensions |