Enhanced History Logging
When the host application sends the Erase in Display (ED) command sequence to erase a portion of the emulator screen, the contents can be logged into the VT history window before being erased. To enable this functionality, select the History Logging – Enhanced option, when configuring the VT session parameters.
The format of the host application ED command is
ESC [ Ps J
, where Ps
is
one of the following values:
- 0
- Erases the screen contents from the cursor position to the end of the screen. This is the default setting.
- 1
- Erases the screen contents from the beginning of the screen up to and including the cursor position.
- 2
- Erases the entire screen contents.
When the ED command setting is 0 or 1, and History Logging – Enhanced is enabled, then the portion of the screen that is about to be erased will be logged into the history window before being erased. When the parameter value is 2, the entire screen contents are logged into the history window before being erased, regardless of whether enhanced history logging is enabled.