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: kst@thomsoft.com (Keith Thompson) Subject: Re: How can I clear the screen? Date: 1996/03/30 Message-ID: #1/1 X-Deja-AN: 144955268 sender: news@thomsoft.com (USENET News Admin @flash) x-nntp-posting-host: pulsar references: <4jbr2n$djp@daily-planet.nodak.edu> <4jfqqv$ekh@news.pacifier.com> organization: Thomson Software Products, San Diego, CA, USA newsgroups: comp.lang.ada originator: kst@pulsar Date: 1996-03-30T00:00:00+00:00 List-Id: In <4jfqqv$ekh@news.pacifier.com> steved@pacifier.com@199.2.117.163 (Steve Doiel) writes: > Well, you don't describe your platform or environment, but the following > works in a text mode window using GNAT on OS/2. It isn't the most > elegant set of routines or methods, but they work for me. I believe they > rely on the ole ANSI.SYS (or equivalent for OS/2) driver. [spec and body of Terminal package deleted] This implementation assumes a terminal or emulator that accepts VT100-style control codes (also referred to as ANSI, since there's an ANSI standard for this). These days that's almost a safe assumption, since the vast majority of modern text-mode terminals and emulators, including xterm, at least have a mode in which they emulate a VT100. Full generality would require something like Unix's termcap, terminfo, or curses interface. -- Keith Thompson (The_Other_Keith) kst@thomsoft.com TeleSoft^H^H^H^H^H^H^H^H Alsys^H^H^H^H^H Thomson Software Products 10251 Vista Sorrento Parkway, Suite 300, San Diego, CA, USA, 92121-2718 This sig uses the word "Exon" in violation of the Communications Decency Act.