Mail Archives: djgpp/2000/11/27/01:46:29
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.
- Raw text -