Sequences
Primary Device Attributes (DA1)
This is used to report operating VT level and supported extensions, e.g. Sixel.
Escape Code | Explanation |
---|---|
CSI c or CSI 0 c | CSI is ESC [ , a.k.a. ^[[ . This is a Primary Device Attributes (DA1) request. |
CSI ? 64 ; Ps1 ; ... Psn c | Standard DA1 response format. Ps1 to Psn represents specific features. |
CSI ? *level* ; 1 ; 2 ; 6 ; 9 ; 15 c | with level = 60 + (decTerminalID / 100) (default 64) |
CSI ? 1 ; 2 c | VT100 |
CSI ? 1 ; 0 c | VT101 |
CSI ? 6 v | VT102 |
Note: Spaces are added for readability. They do not exist in actual DA1 escape codes.
References:
- https://github.com/KDE/konsole/commit/2d93fed82aa27e89c9d7301d09d2e24e4fa4416d#diff-0d4b7240b969dc3d1f694d7e7a8c71a1a318f1f928acbbf1b27d809e65a56c8fR682
- See https://vt100.net/docs/vt510-rm/DA1.html for a list of extension codes.
Modes
Synchronized Updates (DECSET/DECRST 2026)
See https://gitlab.freedesktop.org/terminal-wg/specifications/-/merge_requests/2 for the canonical specification.