Skip to content

Esctest support and misc fixes from that

esctest (fork with konsole support at https://invent.kde.org/ninjalj/esctest.git) is a test suite for terminal emulators by George Nachman.

This MR adds support for DECRQCRA (checksum rectangular area) and CSI 18 t (report the size of the text area in characters), which are needed by esctest.

The MR also includes some fixes prompted by running esctest against konsole.

In this MR, DECRQCRA is disabled at compile-time by default, and has to be explicitly enabled with the ENABLE_DECRQCRA option. This is because it allows reading any part of the screen. VTE likewise requires running with the option --test-mode, and then shows "WARNING: Test mode enabled. This is insecure!". xterm allows disabling it via disallowedWindowOps.

Edited by Luis Javier Merino

Merge request reports