In article <5ie3v9$...@baygull.rtd.com> d...@rtd.com (Don Yuniskis) writes:I haven't seen any terminals or terminal emulators that do this. This
> >Timeouts on the ESC characters? I hope you're referring to possibly
> >adding a longish delay after sending ESC from the keyboard "Esc" key
> >for compatibility with broken curses implementations.
> Typically, ESC must be followed by the remaining characters (well, at least
is generally a necessary function on the *host* side, not the
*terminal* side of communications. The data sent to terminals is
quite a bit different from the data sent to hosts. The worst part of
the data sent to hosts is that ESC is unfortunately used by a number
of applications, and this makes 7-bit C1 sequences ambiguous without a
timer. No such ambiguity exists on the terminal side of things.
> >Otherwise, this would be a bad thing to do. VT-series terminalsYes, it does wait forever. There's no reason for the host system to
> >operate by running a single state machine over the input, not by doing
> >a read-character/call-function type of implementation. If you can't
> Yes, but will (for example) a VT-100 wait "forever" after receiving
send a "bare" escape to a terminal -- ever. It would have no meaning.
> >handle a LF in the middle of a CSI, then the implementation is broken.No, it's not at all ignored, nor is it treated as a literal. If you
> Hmmm... I didn't realize LF was ignored in a CSI. I had assumed
send, for example, the sequence "ESC [ LF C", then the terminal will
move the cursor down one line (scrolling if necessary) and then to the
right one position (stopping at the right margin if necessary).
That's why you have to implement it with a centralized state machine,
(And ignoring this fact is why so many of the PC-based emulators that
Flow control is done at a conceptually lower layer. It can appear
You must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.