Date: Wed, 29 Nov 2000 11:50:06 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Graham Reeds cc: djgpp AT delorie DOT com Subject: Re: Buffering text... In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 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?