> In the example above "\033]" part is the 7-bit spelling of an OSC > (Operating System Command) command, but there's a 8-bit spelling > "\x9d" for it too. Also, the "\007" terminator is actually > non-standard, the standard VT terminator is ST (String Terminator) > that has 7-bit spelling "\033\\", and 8-bit spelling "\x9c".
PS: See https://vt100.net/docs/vt220-rm/contents.html and https://vt100.net/docs/vt220-rm/chapter4.html for vt200 commands. https://vt100.net/docs/vt220-rm/chapter4.html#T4-2 in particular for 7-bit and 8-bit spellings. "CSI" from that table is the ubiquitous \e[ prefix in both commands sent to the terminal and received from the terminal (e.g. when arrow keys are pressed). https://github.com/xterm-x11/xterm-snapshots/blob/master/ctlseqs.txt for discussion of xterm extended comamnds, including the one to set the window title, and its handling of C1 controls. "OSC" or \e] prefix and the extended xterm commands are documented there. https://vt100.net/docs/vt220-rm/chapter4.html#S4.15.1 is where ST "String Terminator" (that can be used by OSC along with the BEL chracter) is documented. -uwe _______________________________________________ busybox mailing list busybox@busybox.net https://lists.busybox.net/mailman/listinfo/busybox