delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/29/07:27:41

Date: Wed, 29 Nov 2000 11:50:06 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Graham Reeds <grahamr AT dtn DOT ntl DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Buffering text...
In-Reply-To: <MAQU5.18146$ea7.362305@news2-win.server.ntlworld.com>
Message-ID: <Pine.SUN.3.91.1001129114636.10519Q-100000@is>
MIME-Version: 1.0
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

On Tue, 28 Nov 2000, Graham Reeds wrote:

> > 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.
> 
> Okay here's the actual fragment:
[snip]
> It was all cprintf() but to no avail. I have since reverted the code back to
> it's original format and commented out the textcolor()'s.

You've shown the code, but didn't tell what exactly does it do wrong.
That makes it very hard to help you.

If you are still interested in solving the problem(s) you were relating 
to in the following excerpt from your previous message, please tell 
what does the code do that you don't expect:

  > 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?

- Raw text -


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