DECRSTS—Restore Terminal State
This sequence restores the terminal to a previous state specified in a terminal state report (DECTSR).
Applications can use DECRSTS to restore the terminal to a previous operating state specified in a terminal state report.
|D . . . D
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.