DECSNLS—Set Lines Per Screen
Set the maximum lines that can be displayed on the screen.
Format
CSI 9/11 |
Pn 3/n |
* 2/10 |
| 7/12 |
Description
The terminal supports three different font heights, which allows 26, 42, or 53 data lines to be displayed on the screen or 25, 41, or 52 data lines to be displayed on the screen, plus a status line. The different character fonts are:
80/26 | 132/26 | 80/42 | 132/42 | 80/53 | 132/53 | |
---|---|---|---|---|---|---|
Cell Width | 10 | 6 | 10 | 6 | 10 | 6 |
Cell Height | 16 | 16 | 10 | 10 | 8 | 8 |
Notes on DECSNLS
- When 26 Line per Screen/72 Hz/Overscan is selected, the cell size changes from 10 × 16 (6 × 16) to 10 × 13 (6 × 13).
- When 42 lines or 53 lines are selected, users can only select either overscan feature or 72 Hz refresh rate, not both.
Valid Combinations
The terminal has the following valid combinations:
Lines Per Screen | Refresh Rate | Overscan |
---|---|---|
26 | 72 Hz | No |
26 | 72 Hz | Yes |
26 | 60 Hz | No |
26 | 60 Hz | Yes |
42 | 72 Hz | No |
42 | 60 Hz | No |
42 | 60 Hz | Yes |
53 | 72 Hz | No |
53 | 60 Hz | No |
53 | 60 Hz | Yes |
If an invalid combination is selected, the terminal automatically returns to a valid combination according to the following priority order:
- Lines Per Screen
- Refresh Rate
- Overscan
Examples
The current combination is 26 lines/72 Hz/Overscan. If you attempt to assign 42 lines per screen, then the terminal becomes 42 lines/72 Hz/No Overscan.
The current combination is 42 lines/60 Hz/Overscan. If you attempt to assign 72 Hz refresh rate, then the terminal becomes 42 lines/72 Hz/No Overscan.
The current combination is 53 lines/72 Hz/No Overscan. Any attempt to enable Overscan is invalid.