Terminal Guide

Request Mode (?) (DECRQM)

ESC1B[5B ?3f mode $24 p70
xterm
vte
mode = none

Query current state of a given mode (prefixed with ?3f ).

This only allows querying one mode per invocation.

For modes that are switchable the following replies are sent to the application:

For other modes the terminal responds with one of the following:

xterm ( ✔ )

🛈 xterm reports mode 8 as 3 🛈 xterm does not allow switching modes 13 and 14, but uses response 1 and 2 to report configuration.

vte ( ✔ )

🛈 vte reports modes 4, 10, 11, 12, 13, 14, 16, 18, 19, 30, 34, 35, 36, 38, 41, 42, 43, 44, 45, 46, 53, 57, 58, 60, 67, 68, 69,73, 80, 81, 83, 84, 85, 90, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 106, 108, 109, 110, 111, 112, 113, 114, 115, 116, 117, 1005, 1010, 1011, 1034, 1035, 1037, 1039, 1040, 1041, 1042, 1043, 1044, 1050, 1051, 1052, 1053, 1060, 1061, 2001, 2002, 2003, 2005, 2006, 2017, 7700, 7711, 7727, 7728, 7730, 7766, 7767, 7783, 7786, 7787, 7796, 8452, 8428 as 3 🛈 vte reports modes 2, 8, 61, 64, 112, 1021, 1046, 1070, 2016 as 4