Presentation space
The presentation space is a data structure that contains an element for each row and column position in the session window (but not including the last row of the session window, which is used for the Operator Information Area). The size of the presentation space depends on the size of the session window. For example, if the session window has 24 rows and 80 columns, then the size of the presentation space is 24 * 80 = 1920.
The position of the elements in the presentation space corresponds
serially to the row and column positions in the session window, reading
from left to right, top to bottom. For example, if the session window
has 80 rows and 25 columns, then row and column positions
are as shown in Correspondence of row and column
location in the presentation space:
Host On-Demand uses the presentation space to store the characters
that are to be displayed in the session window. Each element in the
presentation space is used to store one character (and information
about that character, such as intensity). For example, if the string
Message
appears
at row 1 and column 1 of the session window, then rows
and columns correspond to the positions shown in Layout when 'Message' appears in row 1,
column 1:
Although you normally will not need to use them, Formulas for calculating values
related to presentation space shows the formulas for calculating various
values. The meanings of the symbols used in these formulas are as
follows:
row
- A row location in the session windowcol
- A column location in the session windowpos
- A position in the presentation spaceNUMROWS
- The number of rows in the session window, not including the last row used for the Operator Information Area (OIA)NUMCOLS
- The number of columns in the session window
Value: | Formula for calculating: |
---|---|
Size of the PS |
|
row |
|
col |
|
pos |
|