From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) on polar.synack.me X-Spam-Level: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00,INVALID_MSGID autolearn=no autolearn_force=no version=3.4.4 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 103376,1852c21ee9dc8fb1 X-Google-Attributes: gid103376,public From: Ted Dennison Subject: Re: How can I clear the screen? Date: 1996/03/29 Message-ID: <315C574C.294C@escmail.orl.mmc.com>#1/1 X-Deja-AN: 144885436 references: <4jbr2n$djp@daily-planet.nodak.edu> <4jfqqv$ekh@news.pacifier.com> content-type: text/plain; charset=us-ascii organization: Lockheed Martin Marine Systems mime-version: 1.0 newsgroups: comp.lang.ada x-mailer: Mozilla 2.01 (X11; I; HP-UX A.09.01 9000/750) Date: 1996-03-29T00:00:00+00:00 List-Id: 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 |