| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| content-class: | urn:content-classes:message |
| MIME-Version: | 1.0 |
| 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: | <ACAAE6BD7520AB4CB2744D1D1BAD3A2BA144B8@jupiter.insideai.com> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| Thread-Topic: | Using ANSI escape sequences with DJGPP |
| Thread-Index: | AcR0ViGjxne1oBBHSv+nZYfOivPdTwAT8gDA |
| From: | "John Bond" <Jbond AT ai-logix DOT com> |
| To: | <djgpp AT delorie DOT com> |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id i6SDOJIw009548 |
| Reply-To: | djgpp AT delorie DOT com |
> From: Cesar Rabak <crabak AT acm DOT org>
> 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
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |