From: Julian Hsiao Newsgroups: comp.os.msdos.djgpp Subject: Re: Buffering text... Date: Sun, 26 Nov 2000 22:13:14 -0500 Organization: Carnegie Mellon University Message-ID: References: User-Agent: MT-NewsWatcher/3.0 (PPC) X-Complaints-To: newsabuse AT supernews DOT com Lines: 34 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com In article , "Graham Reeds" 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