Date: Mon, 27 Nov 2000 08:44:58 +0200 (IST) From: Eli Zaretskii X-Sender: eliz AT is To: Julian Hsiao 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, Julian Hsiao wrote: > > default: > > textcolor(LIGHTRED); > > printf("\n\nERROR: UNKNOWN OUTPUT TYPE\n"); > > exit(1); > > break; > > ... > > > > Nothing happens. Even setting the normal text to an arbitrary colour > > doesn't work. Not important, but hey, it would make a dull black box with > > a dull grey text seem more interesting:-) > > You need to add a line in your config.sys file: > > DEVICEHIGH=C:\WINDOWS\COMMAND\ANSI.SYS No. ANSI.SYS does not affect how DJGPP colors are working in any way. The conio functions (textcolor, cprintf, and others) do not use ANSI escape sequences to produce colors, they write directly to the video memory.