DECSLPP—Set Lines Per Page
This control function sets the number of lines for each page in page memory.
Default: One session—6 pages of 24 lines
Format
CSI 9/11 |
Pn 3/n |
t 7/4 |
Parameters
Pn
Sets the lines per page according to the numeric parameter.
Description
If the number of lines specified is not one of the values supported by the implementation, then the next higher supported number of lines per page is assumed. If the number of lines specified exceeds the maximum number supported, then the maximum number supported is used. The valid Pn values are 24, 25, 36, 41, 42, 48, 52, 53, and 72.
The VT510 supports three pages of off-screen memory in the following configurations:
- 3 pages × 24 lines (default)
- 2 pages × 25 lines
- 2 pages × 36 lines
- 1 pages × 41 lines
- 1 pages × 42 lines
- 1 pages × 48 lines
- 1 pages × 52 lines
- 1 pages × 53 lines
- 1 pages × 72 lines
Notes on DECSLPP
- If you switch to a smaller page size, then data that was on the larger page may be split across the smaller pages. To avoid confusion, make sure you set the lines/page before you enter data into page memory.
- DECSLPP usually does not change the top and bottom scrolling margins. If, however, you change the page size so that the current scrolling margins exceed the new page size, then the terminal resets the margins to the page limits.