Path: 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 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 >[s and starts the next with [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? [s and [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'