delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/11/27/01:46:29

Date: Mon, 27 Nov 2000 08:44:58 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Julian Hsiao <madoka AT novastar DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Buffering text...
In-Reply-To: <madoka-A6A001.22131426112000@news.supernews.com>
Message-ID: <Pine.SUN.3.91.1001127084438.15394F-100000@is>
MIME-Version: 1.0
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

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019