| delorie.com/archives/browse.cgi | search |
| X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
| From: | Cesar Rabak <crabak AT acm DOT org> |
| Newsgroups: | comp.os.msdos.djgpp |
| Subject: | Using ANSI escape sequences with DJGPP |
| Date: | Tue, 27 Jul 2004 20:52:31 -0300 |
| Lines: | 28 |
| Message-ID: | <4106EABF.9080407@acm.org> |
| Mime-Version: | 1.0 |
| X-Trace: | news.uni-berlin.de m6y46giPWC6Chif5Awjv+AE0SlmehGkeZviPg7vukZ64+0KdM= |
| User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 5.1; pt-BR; rv:1.0.2) Gecko/20030208 Netscape/7.02 |
| X-Accept-Language: | pt-br, pt |
| To: | djgpp AT delorie DOT com |
| DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
| Reply-To: | djgpp AT delorie DOT com |
I testing a program under Windows XP [ver 5.1.2600] which was compiled
with DJGPP and mingw32.
The body of the test program is:
#include <stdio.h>
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?
TIA
--
Cesar Rabak
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |