Mail Archives: djgpp/2000/11/26/22:27:14
In article <HJ3U5.12106$ea7 DOT 247266 AT news2-win DOT server DOT ntlworld DOT com>,
"Graham Reeds" <grahamr AT dtn DOT ntl DOT com> wrote:
> Cheers, that's improved performance no end. Also I've found
> _setcursortype() to get rid of the flickery cursor!
>
> While browsing through conio.h for other helpful functions, I thought I'd
> 'funk' up my debug output by using colours. Libc-202 (is there a newer
> version??) 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. 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
or replace 'DEVICEHIGH' with 'DEVICE'; my ANSI.SYS file is in the
C:\WINDOWS\COMMAND\ directory, maybe it's in a different different
directory in Win98se.
Julian Hsiao
madoka AT novastar DOT com
- Raw text -