From: "Graham Reeds" Newsgroups: comp.os.msdos.djgpp References: <2593-Fri01Dec2000170725+0200-eliz AT is DOT elta DOT co DOT il> <90fbot$rds$1 AT antares DOT lu DOT erisoft DOT se> Subject: Re: Buffering text... Lines: 30 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: Mon, 4 Dec 2000 11:49:04 -0000 NNTP-Posting-Host: 62.254.76.157 X-Complaints-To: abuse AT ntlworld DOT com X-Trace: news6-win.server.ntlworld.com 975930578 62.254.76.157 (Mon, 04 Dec 2000 11:49:38 GMT) NNTP-Posting-Date: Mon, 04 Dec 2000 11:49:38 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 "Martin Stromberg" wrote in message news:90fbot$rds$1 AT antares DOT lu DOT erisoft DOT se... > Graham Reeds (grahamr AT dtn DOT ntl DOT com) wrote: > : I put '\r\n' inside each of the cprintf(), and hey presto! - one long line > : of darkgrey periods punctuated every now and then by coloured letters. Seems > : like the cprintf() doesn't buffer (correct terminology?) the text until the > : '\r\n' arrives at the end of the loop. Removing the '\n' stops all apart > : from output apart from text that is issued from within another module with > : printf() - and that is coloured darkgrey. I've tried changing colour and > : using just printf() but that don't work, so why does it work when it is > : exiting? > > Mixing cprintf() and printf() doesn't work well. I know that has been said before, but I was just saying what my results were. -- Stay Lucky, Graham "Mournblade" Reeds. ICQ No.: 30514803 http://homepage.dtn.ntl.com/grahamr