From: "Graham Reeds" Newsgroups: comp.os.msdos.djgpp References: 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: 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" 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