Lokyr
Documentation

esctest, after the second compatibility fixes

Measured on 2026-10-18 with just esctest, after the second compatibility fixes, against the run after the first. The full report, every failure with its reason, is in esctest-F1-46/report.txt.

What changed in the method

The whole run takes 40 seconds.

Result

496 of 533 applicable tests pass (93.1%), against 402 of 528 (76.1%) after the first fixes and the fixes of their review, with 34 known bugs of xterm left out.

StepTests it took
The special colors: OSC 5 and 105, and OSC 4 and 104 from 25612
The VT420's rectangles: DECCRA, DECERA, DECFRA, DECSERA24
The VT420's columns: DECIC, DECDC, DECBI, DECFI20
ISO protection (SPA and EPA), CBT past the left margin, the title stack, mode 41, DECBKM7
DECCOLM with modes 40 and 95, the resizes in cells (XTWINOPS 8 t, DECSLPP, DECSNLS), XTSAVE and XTRESTORE, xterm's title modes, OSC 52's base64 as xterm reads it14, 5 of them among those that the window's operations made applicable
The window's operations: iconify, move, resize in pixels, maximize, full screen, and the reports of the window and the display17

What fails still

CauseTestsWhy it stays
X11's other color spaces, CIEXYZ, CIEuvY, CIExyY, CIELab, CIELuv, TekHVC and RGBi, in OSC 4, the dynamic colors and the special ones21xterm reads them through Xlib's color management, whose results come from the measured intensity tables of one monitor that Xlib keeps: rgbi:0.5/0.5/0.5, half of each component, reads back as c1c1/bbbb/bbbb. Matching them would mean copying those tables for the test's sake; programs write colors as rgb: or #, which the terminal reads
DA and DA2, which tell a VT220 with ANSI colors, CSI ? 62 ; 22 c, and CSI > 1 ; 10 ; 0 c, as Ghostty does, where esctest's level 5 asks for xterm's VT520, its 13 attributes, type 64 and a version of 314 or more4Telling a VT520 and xterm's version would have programs that read them take the terminal for an xterm of that patch level, and turn on what that xterm has
DECRQM of modes that the terminal does not have: KAM, which locks the keyboard, SRM, local echo, DECPFF and DECPEX, the printer's, DECHEBM, the Hebrew keyboard, and DECNRCM, the national replacement character sets6It answers 0, a mode it does not know, rather than claim modes that do nothing; a keyboard that programs can lock, and local echo, are not wanted, and there is no printer
DECSCL's levels: esctest checks that level 2 has no DECRQM, level 3 no DECSLRM and level 4 no DECNCSM, and DECRQSS of DECSCL after a request for level 654The terminal does at every level what it does, and takes levels 61 and 62 alone, the VT220's that DA tells
Known bugs of xterm that Bolt does not share: DECSED and DECSEL leave ISO protection alone, as the tests ask, where xterm respects it2esctest fails them with "Should have failed", as it expects xterm's bug