From 612bf9ef4fae349dbd485a8ef4b6009bd1385627 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Mon, 18 Nov 2019 12:41:10 +0100 Subject: [PATCH] csi: adjust reply to primary DA Report us as being VT220, as VT420 causes vttest to send a DECRQSS. This is a DCS request that we don't implement (there's no DCS handling *at all* - all DCS strings are ignored). Should be ok as no one appears to care about this one. Other terminals report a much lower level (urxvt for example, replies with vt100. We used to reply with vt102, which also was fine). --- csi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/csi.c b/csi.c index 379fa2a4..bf5cca7b 100644 --- a/csi.c +++ b/csi.c @@ -353,7 +353,7 @@ csi_dispatch(struct terminal *term, uint8_t final) * - 28 Rectangular editing. * - 29 ANSI text locator (i.e., DEC Locator mode). */ - const char *reply = "\033[?64;6;15;16;17;22;28c"; + const char *reply = "\033[?62;6;15;17;22;28c"; term_to_slave(term, reply, strlen(reply)); break; }