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,b9911fa80cbcf7a8 X-Google-Attributes: gid103376,public From: kst@sd.aonix.com (Keith Thompson) Subject: Re: SunOS Clear Screen Date: 1997/03/03 Message-ID: #1/1 X-Deja-AN: 222789846 Sender: news@thomsoft.com (USENET News Admin @flash) X-Nntp-Posting-Host: pulsar References: <5f65m9$re3@news.cict.fr> Organization: Aonix, San Diego, CA, USA Newsgroups: comp.lang.ada Originator: kst@pulsar Date: 1997-03-03T00:00:00+00:00 List-Id: In <5f65m9$re3@news.cict.fr> doucet@ripolin.laas.fr (Jean-Etienne Doucet,149,6323) writes: [...] > All the Ada compilers I've worked with (including Gnat) on a Sparc with SunOS > clear the screen by simply calling Ada.Text_IO.New_Page. > > Curiously, the usual & "[2J" sequence doesn't seem to work... That's odd. Ada.Text_IO.New_Page typically prints a formfeed (control-L) character. That will clear the screen and home the cursor on a Sun console (i.e., a Sun graphics monitor being used as a text terminal, not running any window system), but not on most other modern terminals or emulators. What terminal or emulator are you using? -- Keith Thompson (The_Other_Keith) kst@sd.aonix.com <*> TeleSo^H^H^H^H^H^H Alsy^H^H^H^H Thomson Softw^H^H^H^H^H^H^H^H^H^H^H^H^H Aonix 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2706 "Humor is such a subjective thing." -- Cartagia