Terminal Guide

Request Mode (RQM)

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

Query current state of a given mode (not 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 modes 1, 5, 7, 10, 11, 13, 14, 15, 16, 17, 18, 19 as 3 🛈 xterm reports mode 3 as 2.

vte ( ✔ )

🛈 vte reports modes 1, 2, 3, 5, 6, 7, 8, 9, 10, 11, 13, 14, 15, 16, 17, 18, 19, 20, 22, 30, 31, 32, 33, 34, 36, 37, 38 as 3 🛈 vte reports modes 21, 35, 40, 42 as 4