Date: Sun, 26 Nov 2000 13:09:01 +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 Sun, 26 Nov 2000, Graham Reeds wrote: > 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. > says textcolor() would do just the job, yet when I try to colour > some text with: > > ... > default: > textcolor(LIGHTRED); > printf("\n\nERROR: UNKNOWN OUTPUT TYPE\n"); > exit(1); > break; > ... > > Nothing happens. Use cprintf instead of printf (and "\r\n" instead of "\n"). printf doesn't pay attention to what textcolor does.