Terminal Guide

Secondary Device Attributes (DA2)

ESC1B[5B >3e p1 c63
urxvt
xterm
vte
konsole
linuxvc
p1 = 0

See terminal implementation specific information below

urxvt ( ✔ )

Always returns (p1 is ignored):

ESC1b [5b >3e 838 535 ;3b 939 535 ;3b 030 c63 

The urxvt source describes the history of responses for the rxvt line of history as:

first parameter is normally 0 for vt100, 1 for vt220, 'R' for rxvt, 'U' for rxvt-unicode != 7.[34] (where it was broken).

second parameter is xterm patch level for xterm, MMmmpp (e.g. 20703) for rxvt and Mm (e.g. 72 for 7.2) for urxvt <= 7.2, 94 for urxvt <= 8.3, and 95 for later versions.

xterm ( ✔ )

If p1 is zero the following sequence is returned to the application

ESC1b [5b >3e model ;3b version ;3b 030 c63 

Where version is the xterm version number (patch level) and model is derived from -ti / decTerminalID as follows:

< 2000
220
or not in this table
1
2402
32024
33018
34019
42041
51061
52064
52565

vte ( ✔ )

If p1 is not zero no reply is sent, otherwise:

Otherwise returns:

ESC1b [5b >3e 636 535 ;3b version ;3b 131 c63 

where version is major * 10000 + minor * 100 + micro.

konsole ( ✔ )

Always returns (p1 is ignored):

ESC1b [5b >3e 030 ;3b 131 131 535 ;3b 030 c63 

linuxvc ( ☹ )

🛈 Properly ignored in 5.x