st

simple terminal

git clone https://9o.is/git/st.git

commit ac7fe5f5421a54f54883ca25b9f3c5d8b4d2b0c9
parent 6e35f80b1388a69d9e6eb7f1f27621303c9f0661
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Fri, 20 Jun 2014 09:51:18 +0200

Add 8 bit version of DECID

DECID version for 7 bits environments already was implemented in st.
This patch adds the 8 bit version of it.

Diffstat:
Mst.c | 5++++-
1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/st.c b/st.c @@ -2408,7 +2408,10 @@ tcontrolcode(uchar ascii) { case 0x8f: /* TODO: SS3 */ case 0x90: /* TODO: DCS */ case 0x98: /* TODO: SOS */ - case 0x9a: /* TODO: DECID */ + break; + case 0x9a: /* DECID -- Identify Terminal */ + ttywrite(VT102ID, sizeof(VT102ID) - 1); + break; case 0x9b: /* TODO: CSI */ case 0x9c: /* TODO: ST */ case 0x9d: /* TODO: OSC */