Re: [dev] [st][dev 1/4] Add 8 bit version of DECID
On June 25, 2014 8:00:30 PM CEST, "Roberto E. Vargas Caballero" <k0ga_AT_shike2.com> wrote:
>DECID version for 7 bits environments already was implemented in st.
>This patch adds the 8 bit version of it.
>---
> st.c | 4 +++-
> 1 file changed, 3 insertions(+), 1 deletion(-)
>
>diff --git a/st.c b/st.c
>index f8f262a..4813524 100644
>--- a/st.c
>+++ b/st.c
>_AT_@ -2419,7 +2419,9 @@ tcontrolcode(uchar ascii) {
> case 0x8f: /* TODO: SS3 */
> case 0x90: /* TODO: DCS */
> case 0x98: /* TODO: SOS */
>- case 0x9a: /* TODO: DECID */
>+ case 0x9a: /* DECID -- Identify Terminal */
>+ ttywrite(VT102ID, sizeof(VT102ID) - 1);
>+ break;
> case 0x9b: /* TODO: CSI */
> case 0x9c: /* TODO: ST */
> case 0x9d: /* TODO: OSC */
Careful, all the previous cases will fall through.
Received on Wed Jun 25 2014 - 21:53:13 CEST
This archive was generated by hypermail 2.3.0
: Wed Jun 25 2014 - 22:00:09 CEST