X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" X-MimeOLE: Produced By Microsoft Exchange V6.0.6249.0 Subject: RE: Using ANSI escape sequences with DJGPP Date: Wed, 28 Jul 2004 09:24:17 -0400 Message-ID: X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Using ANSI escape sequences with DJGPP Thread-Index: AcR0ViGjxne1oBBHSv+nZYfOivPdTwAT8gDA From: "John Bond" To: Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by delorie.com id i6SDOJIw009548 Reply-To: djgpp AT delorie DOT com > From: Cesar Rabak > Newsgroups: comp.os.msdos.djgpp > Date: Tue, 27 Jul 2004 20:52:31 -0300 > > int main(void) > { > puts("\033[2J"); > return 0; > } > > When run from a cmd window, the DJGPP version clears the screen, whereas > the windows console version not. > > I looked for this information in the FAQ and could not find anything about. > > My theory is that in some way, the runtime for DJGPP manages to create a > more 'DOS' environment (calling command.com which will load ANSI.NT). > > Am I correct? I compiled and ran on Win2K {Microsoft Windows 2000 [Version 5.00.2195]}. All I saw was: ?[2J -John Bond