🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.terminals
Article #882

Re: ANSI codes on a VT220

#882
From: Peter D. Smith
Date: Fri, 14 Dec 1990 23:39
21 lines
1599 bytes
In article <0094126C.75A51C60@MAPLE.CIRCA.UFL.EDU> sirotto@OAK.CIRCA.UFL.EDU (Mike Cerrato) writes:
>I created an ANSI animation file on an IBM using TheDraw.  When it saves the
>file, it sometimes has to split the lines.  To do this, it ends the line with a
><esc>[s and starts the next with <esc>[u.  I assume these codes mean save the
>current cursor position and move to the stored position respectively.  Is there
>an equivalent set of codes for the VT220?  <esc>[s and <esc>[u don't seem to
>work.

What terminal uses ESC[s and ESC[u?  The BBN Software Products Escape Sequence
Cross Index lists them as setting left and right margins (LN03 and VT420)
and setting tab stops (LN03) and various programmable strings like the
programmable keys, answerback messages, and latent expression (HDS GVT).
Nothing is mentioned re: their functionality on the VT220.

The general ANSI sequence for save/restore cursor is ESC#7 and ESC#8
respectively.  They don't work on some printers and on some of the SUN
consoles (and, of course, non-DEC-compatible terminals).


					Peter D. Smith
					'The above answer scares me'
Technical Details
Message-ID: <61594@bbn.BBN.COM>
Path: arc1-ca.pugleaf.net!utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!rutgers!hsdndev!bbn.com!pdsmith
References: <0094126C.75A51C60@MAPLE.CIRCA.UFL.EDU>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!attcan!telly!lethe!torsqnt!news-server.csri.toronto.edu!rutgers!hsdndev!bbn.com!pdsmith
From: pdsmith@bbn.com (Peter D. Smith)
Newsgroups: comp.terminals
Subject: Re: ANSI codes on a VT220
Message-ID: <61594@bbn.BBN.COM>
Date: 14 Dec 90 23:39:13 GMT
References: <0094126C.75A51C60@MAPLE.CIRCA.UFL.EDU>
Sender: news@bbn.com
Reply-To: pdsmith@spca.bbn.com (Peter D. Smith)
Organization: Bolt Beranek and Newman Inc., Cambridge MA
Lines: 21