delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/26/15:57:08

From: "Graham Reeds" <grahamr AT dtn DOT ntl DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001126130620 DOT 4375B-100000 AT is>
Subject: Re: Buffering text...
Lines: 32
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.50.4133.2400
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Message-ID: <ZyeU5.13957$vA4.255725@news6-win.server.ntlworld.com>
Date: Sun, 26 Nov 2000 20:40:16 -0000
NNTP-Posting-Host: 62.254.79.144
X-Complaints-To: abuse AT ntlworld DOT com
X-Trace: news6-win.server.ntlworld.com 975271225 62.254.79.144 (Sun, 26 Nov 2000 20:40:25 GMT)
NNTP-Posting-Date: Sun, 26 Nov 2000 20:40:25 GMT
Organization: ntlworld News Service
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

"Eli Zaretskii" <eliz AT is DOT elta DOT co DOT il> wrote in message
news:Pine DOT SUN DOT 3 DOT 91 DOT 1001126130620 DOT 4375B-100000 AT is...

>
> On Sun, 26 Nov 2000, Graham Reeds wrote:
>
> > Libc-202 (is there a newer version??)
>
> The latest version of the DJGPP library is 2.03.  I suggest to upgrade,
> since there were several bugs in v2.02 related to color text output.

I actually was referring to my local copy of the C library reference that is
on DJ Delories' site - it hasn't been updated since '98.  I actually have
2.03.

> Use cprintf instead of printf (and "\r\n" instead of "\n").  printf
> doesn't pay attention to what textcolor does.

Okay done that.  Now I get colour but the formatting is incorrect.  I don't
always terminate I have several char's printf()'d out and then terminated at
the end of the loop - could that be the reason?

Ah well, it would of been nice, but since it is debug code, it will have to
do to be grey and dull:-(

--

Stay Lucky, Graham "Mournblade" Reeds.
ICQ No.:  30514803
http://homepage.dtn.ntl.com/grahamr


- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019