Date: Sun, 26 Nov 2000 23:42:19 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: "Graham Reeds" Message-Id: <7458-Sun26Nov2000234219+0200-eliz@is.elta.co.il> X-Mailer: Emacs 20.6 (via feedmail 8.3.emacs20_6 I) and Blat ver 1.8.6 CC: djgpp AT delorie DOT com In-reply-to: (grahamr AT dtn DOT ntl DOT com) Subject: Re: Buffering text... References: Reply-To: djgpp AT delorie DOT com Errors-To: nobody AT delorie DOT com X-Mailing-List: djgpp AT delorie DOT com X-Unsubscribes-To: listserv AT delorie DOT com Precedence: bulk > From: "Graham Reeds" > Newsgroups: comp.os.msdos.djgpp > Date: Sun, 26 Nov 2000 20:40:16 -0000 > > > > > 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. I announced a couple of weeks ago that djdoc203.zip is available from SimTel.NET mirrors. There you will find the v2.03 library docs in HTML format (I understand that this is the reference you are using). Of course, djdev203.zip comes with an updated v2.03 libc reference in Info format, so you could use that. (There were many improvements in the docs between v2.02 and 2.03, so you miss a lot by using the old documentation.) > > 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? Sorry, I don't understand what you are trying to tell here. I think it will be much easier to talk and help you if you post a short code fragment where you have this kind of problems, and explain what you want it to do and what it actually does.