Roland Mainz writes:
> > The multiline option only works for terminals for which \E[A causes
> > the cursor to move up one line.  I suspect that this is not the case
> > for the terminal in your example.
> 
> AFAIK all the terminal emulators shipped with Solaris (e.g. "dtterm",
> "xterm", "gnome-terminal" and "konsole"), the native Solaris console on
> SPARC and the Solaris/x86 console support that sequence (AFAIK it is

Not if you switch to Tek mode.  ;-}

> from vt100 or earlier (vt52 ?!)).

No, not VT52.  That was pre-ANSI and used "ESC A" for the cursor-up
command.  The VT100 and up used ANSI sequences, which include "CSI A"
for cursor-up.  CSI can be rendered in 8-bit mode as hex 9B, or as
"ESC [" in 7-bit mode.

The terminal emulators in Solaris are roughly VT102 (including
scrolling commands that the VT100 didn't have).  But only roughly;
there are many differences among the various implementations and
between them and a real DEC VTxxx series terminal.  (Function key
assignment and usage is one quite large area of difference.)

In any event, it'd sort of be nice to use the system libraries to get
the _right_ terminal sequences, just for those who are stuck using
oddball devices.

-- 
James Carlson, KISS Network                    <james.d.carlson at sun.com>
Sun Microsystems / 1 Network Drive         71.232W   Vox +1 781 442 2084
MS UBUR02-212 / Burlington MA 01803-2757   42.496N   Fax +1 781 442 1677

Reply via email to