[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Are there two families of escapes sequences?

From: Paul Gilmartin
Subject: Re: Are there two families of escapes sequences?
Date: Mon, 27 Oct 2014 18:38:17 -0600
User-agent: Mozilla/5.0 (X11; SunOS i86pc; rv:6.0) Gecko/20110814 Thunderbird/6.0

On 10/27/14 13:28, legalize+jeeves wrote:
The \E] part is (see ECMA-48) an OSC (operating system command).
Ah... my eyes kept misreading it as \E[, not \E].
PMFJI, perhaps way late.  In my recollection, from trying to debug
a terminal emulator, decades ago:

o VT100 has two distinct modes:
  - one used by shell commands.
  - the other used by vi, etc.
  Curses may not need to deal with the former.  And:

o ESC sequences are time sensitive.  Vi uses ESC to exit text insertion
  mode, distinguishing that use from ESC sequences generated by arrow
  keys, etc. by the presence or absence of a pause after the ESC.  I
  can't imagine how this plays with the possibility that network packets
  may by happenstance be split right after the ESC.

-- gil

reply via email to

[Prev in Thread] Current Thread [Next in Thread]