Terminal MODEL 6 support: Difference between revisions
m (Created page with "The <var class="product">Sirius Mods</var> adds support for terminal models beyond the standard Mod 2 (24 X 80), Mod 3 (32 X 80), Mod 4 (43 X 80), and Mod 5 (27 X 132). The new t...") |
mNo edit summary |
||
Line 40: | Line 40: | ||
34 rows and 142 columns. | 34 rows and 142 columns. | ||
To enable model 6 support, the <var>[[SIRTERM]]</var> system parameter | To enable model 6 support, the <var>[[SIRTERM parameter|SIRTERM]]</var> system parameter | ||
must be set in the CCAIN stream. | must be set in the CCAIN stream. | ||
Revision as of 20:18, 19 November 2012
The Sirius Mods adds support for terminal models beyond the standard Mod 2 (24 X 80), Mod 3 (32 X 80), Mod 4 (43 X 80), and Mod 5 (27 X 132). The new terminal models are supported by setting the terminal model to 6:
RESET MODEL 6
There is really no such thing as a Model 6 terminal, but setting the terminal
model to 6 tells Model 204 to issue a Write Structured Field Query
to the
terminal to have the terminal indicate its geometry (number of rows and
columns) to Model 204.
In this way, Model 204 can dynamically set a terminal's geometry,
whether it's one of the standard geometries (Mod 2, 3, 4, or 5) or not.
Many terminal emulators allow alternate 3270 sizes to be set.
This makes it possible to set the terminal geometry to match the optimal
combination of font size and physical screen size for a particular workstation,
rather than trying to set the emulator font size to work well with one of a
limited number of screen geometries.
Unfortunately, the standard User Language screen definitions don't allow the defining of fields that extend beyond column 79. However, $ScrHide, $ScrSize, and $ScrWide (described in the Sirius Functions Reference Manual) make it possible for User Language screens to take advantage of columns beyond column 79. In addition, these functions make it possible to dynamically modify screen definitions to allow a single screen definition to work with an arbitrary variety of screen sizes. While these functions are a bit awkward to use and somewhat limited, they are not unreasonable for building dynamic scrolling screens — scrolling screens being particularly suited for larger screen geometries.
To facilitate User Language applications for varying screen sizes, the VIEW command for the MODEL parameter has been enhanced to show the screen geometry in addition to the model number for model 6 terminals:
> V MODEL MODEL 6 34*142 TERMINAL MODEL
Issuing $view for the above terminal returns a 6 34*142
, from
which a User Language application can readily determine that the screen has
34 rows and 142 columns.
To enable model 6 support, the SIRTERM system parameter must be set in the CCAIN stream.
If a terminal is using a non-standard screen geometry via model 6 support, the Model 204 editor and command line will correctly use the available screen space. Many UL/SPF subsystems such as SirScan, SirMon, and SirPro will also take advantage of the additional available screen space.