comp.lang.ada
 help / color / mirror / Atom feed
From: Ted Dennison <dennison@escmail.orl.mmc.com>
Subject: Re: How can I clear the screen?
Date: 1996/03/29
Date: 1996-03-29T00:00:00+00:00	[thread overview]
Message-ID: <315C574C.294C@escmail.orl.mmc.com> (raw)
In-Reply-To: Pine.SOL.3.92.960329152609.24383A-100000@hanto.dtek.chalmers.se

Hung Huynh wrote:
> I understand that your CSI is equal to  ESC & "[" , but why does the
> output of the string "ESC[2J" cause a screen clear? Does it have something
> to do with ANSI?

It has everything to do with ANSI/VT100. If the text display this is
being written to supports ANSI/VT100/VT220 etc., then this will clear
the screen. If it does not, then you will likely see some random
garbage with a "2J" at the end.

-- 
T.E.D.          
                |  Work - mailto:dennison@escmail.orl.mmc.com  |
                |  Home - mailto:dennison@iag.net              |
                |  URL  - http://www.iag.net/~dennison         |




  reply	other threads:[~1996-03-29  0:00 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1996-03-27  0:00 How can I clear the screen? Jason Powell
1996-03-29  0:00 ` steved
1996-03-29  0:00   ` Hung Huynh
1996-03-29  0:00     ` Ted Dennison [this message]
1996-03-30  0:00   ` Keith Thompson
1996-03-31  0:00     ` Hung Huynh
1996-04-02  0:00       ` Michael A. Packer
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox