www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/12/04/06:51:50

From: "Graham Reeds" <grahamr AT dtn DOT ntl DOT com>
Newsgroups: comp.os.msdos.djgpp
References: <Pine DOT SUN DOT 3 DOT 91 DOT 1001129114636 DOT 10519Q-100000 AT is> <xhMV5.3698$0z DOT 50352 AT news2-win DOT server DOT ntlworld DOT com> <2593-Fri01Dec2000170725+0200-eliz AT is DOT elta DOT co DOT il> <uWYV5.5346$0z DOT 87309 AT news2-win DOT server DOT ntlworld DOT com> <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: <mxLW5.5524$uP1.103316@news6-win.server.ntlworld.com>
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" <eplmst AT lu DOT erisoft DOT se> 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


- Raw text -


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