Re: [dev] [st][PATCH v3] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-05-07 Thread Colona
Hi, On Sun, Apr 27, 2014 at 11:37:42AM +0200, Roberto E. Vargas Caballero wrote: From http://www.vt100.net/docs/vt510-rm/chapter4: *The VT510 ignores all following characters until it receives a SUB, ST, or any other C1 control character. So OSC, PM and APC sequence ends with

Re: [dev] [st][PATCH v3] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-05-07 Thread Roberto E. Vargas Caballero
+ term.esc = ~(ESC_STR_END|ESC_STR); Shouldn’t these flags be cleared only on SUB, CAN, ST, C1s and \a ? You are right. There are some 'break' that should be a return. Regards, -- Roberto E. Vargas Caballero

[dev] [st][PATCH v3] Cancel DCS with SUB, CAN, ESC or any CC1 code

2014-04-27 Thread Roberto E. Vargas Caballero
From http://www.vt100.net/docs/vt510-rm/chapter4: *The VT510 ignores all following characters until it receives a SUB, ST, or any other C1 control character. So OSC, PM and APC sequence ends with a SUB (it cancels the sequence and show a question mark as error), ST or any