Comment 9 for bug 1297051

Revision history for this message
Egmont Koblinger (egmont-gmail) wrote :

Could you please try the 2nd patch? It should fix RI, OSC and friends.

What's the terminator character used by VMS when emitting an OSC sequence? The terminator can be either a BEL ('\a', ASCII 7) or an ST, whereas the ST has two version: the 7-bit clean ESC \, and the C1 counterpart 0x9C.

With my current patch vte accepts any of these:
ESC ] ..... BEL
ESC ] ..... ESC \
0x9D ..... BEL
0x9D ..... 0x9C

but doesn't recognize mixed C0-C1 usage:
ESC ] ..... 0x9C
0x9D ..... ESC \

I hope it's good enough and noone would be stupid enough to use the two mixed with each other.