X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f Message-ID: <000801c1b447$16bf5480$b95b560c@ws1> From: "Warren Simmons" To: Subject: ansi escape codes do not work using DJGPP gpp command Date: Tue, 12 Feb 2002 22:29:54 -0600 MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_NextPart_000_0005_01C1B414.CAFFEC80" X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 5.00.2919.6600 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600 Reply-To: djgpp AT delorie DOT com This is a multi-part message in MIME format. ------=_NextPart_000_0005_01C1B414.CAFFEC80 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable To Whom It may Concern: This is a post for the djgpp forum or a question that perhaps one of you = could answer. I use the ansi escape codes for various screen functions. To clear the = screen I #include and include the line: printf("\33[2J"); = wherever I want the screen to clear. It works on GNU g++ (Linux) but = when I use it with DJGPP (gpp -Wall somefile.cpp) the outpu of the .exe = at that point will print to the screen the following: --[2Jthen the = cout from the next line. How can I get around this. I use this to clear = the screen. I have a locate x,y function the uses ansi escape code. Its = very useful. Also...can djgpp print out the acsii extended character set = (128 to 256 symbols)? wsimmons AT uab DOT edu wlsimmons AT worldnet DOT att DOT net ------=_NextPart_000_0005_01C1B414.CAFFEC80 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
To Whom It may Concern:
This is a post for the djgpp forum or a = question=20 that perhaps one of you could answer.
I use the ansi escape codes for various = screen=20 functions. To clear the screen I #include <stdio.h> and include = the=20 line:  printf("\33[2J"); wherever I want the screen to clear. It = works on=20 GNU g++ (Linux) but when I use it with DJGPP (gpp -Wall somefile.cpp) = the outpu=20 of the .exe at that point will print to the screen the following: =20 --[2Jthen the cout from the next line. How can I get around this. I use = this to=20 clear the screen. I have a locate x,y function the uses ansi escape = code. Its=20 very useful. Also...can djgpp print out the acsii extended character set = (128 to=20 256 symbols)?
wsimmons AT uab DOT edu
wlsimmons AT worldnet DOT att DOT net=
 
------=_NextPart_000_0005_01C1B414.CAFFEC80--