DECRSTS—Restore Terminal State
This sequence restores the terminal to a previous state specified in a terminal state report (DECTSR).
Programming Tip
Applications can use DECRSTS to restore the terminal to a previous operating
state specified in a terminal state report.
Format
DCS 9/0 |
Ps 3/n |
$ 2/4 |
p 7/0 |
D . . . D ... |
ST 9/12 |
Parameters
Ps
indicates the format of the data string (D . . . D).
Ps | Data String Format |
---|---|
0 | Error, restore ignored |
1 | Selects the format of the terminal state report (DECTSR) |
D ... D
is a data string that contains the restored information. This string is identical to
the data string used by the report you are restoring.
Notes on DECRSTS
- If there is an invalid value in the DECRSTS sequence, then the terminal ignores the rest of the sequence. This action may leave the terminal in a partially restored state.
- Software should not expect the format of the terminal state report (DECTSR) to be the same for all terminals.