To provide the ability to reconfigure the number of back pages in an active mvTerm session, the Page Size property page has a new Number of Pages edit field. This edit field has a corresponding spin control to allow the user to click the up or down arrow to automatically adjust the value of the edit field up or down. The user can either enter a value in the edit field or click the corresponding spin control until the desired value is displayed in the edit field for the requested number of back pages. The number specified for the Number of Pages edit field has a minimum value of 1 (no back pages), a default value of 2 (one back page), and a maximum value of 10 (nine back pages).
If the Number of Pages edit field is set to a value of 1, mvTerm allocates a screen buffer containing only 1 screen page with the number of rows specified in the Page Depth edit field.
NOTE |
The mvTerm session functions as though there were no back pages. |
No scroll bars are displayed and all menu entries, toolbar buttons, special keyboard key sequences, and UMESSAGE handling for scrolling to selected screen buffer positions is disabled.
If the Number of Pages edit field is set to a value greater than 1 and less than the maximum, mvTerm allocates a screen buffer containing the number of rows derived from the calculation of multiplying the values in the Number of Pages and Page Depth edit fields.
To obtain the number of back pages from the most recently active mvTerm session to a new mvTerm session, a new field has been added to the user profile corresponding to the Number of Pages edit field. When the Number of Pages edit field is adjusted, the corresponding field in the user profile is adjusted. When a new mvTerm session is started, the screen buffer is automatically allocated according to the new field in the user profile.
To obtain the number of back pages from a previously active mvTerm session whose configuration parameters were saved by selecting the Session > Save menu entry into an mvTerm session that is opened by selecting the Session > Open menu entry, a new field has been added to the configuration file (.vtm) corresponding to the Number of Pages edit field. When the Session > Save menu entry is selected, the Number of Pages field in the configuration file is updated. When an mvTerm session is started by selecting the Session > Open menu entry, the screen buffer is automatically allocated according to the new field in the configuration file.
See Also