[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Control chars during an escape sequence
From: |
Tim Allen |
Subject: |
Re: Control chars during an escape sequence |
Date: |
Wed, 7 Aug 2019 10:23:07 +1000 |
User-agent: |
Mutt/1.10.1 (2018-07-13) |
On Tue, Aug 06, 2019 at 06:02:35PM -0500, Bryan Christ wrote:
> The reason I ask is because the the string which accompanies the OSC
> "set window title" sequence is often terminated by 0x7 (bell) so that
> seems to be an issue. In the "vttest" scenario, only "backspace" and
> "vertical tab" are injected into the escape string. Is that because
> they're the only two that are permissible?
The vt100.net state diagram[1] says that all control characters inside
an OSC sequence are ignored, except for ESC (which starts a new
sequence), CAN, and SUB (which are both "executed", and I think cancel
the sequence). On the other hand, it doesn't say anything about BEL
executing the sequence, only ST (0x9C).
[1]: https://vt100.net/emu/dec_ansi_parser