From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: ANSI.SYS Date: Thu, 09 Apr 1998 18:25:24 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 25 Message-ID: <352D4AD4.5AC5@cs.com> References: <352D387E DOT 712A3DE1 AT sunlink DOT net> NNTP-Posting-Host: ppp228.cs.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Precedence: bulk Robert Robbins wrote: > > Hello, > In does the function textcolor require ANSI.SYS? > Since ANSI.SYS cannot be used under Windows 95 does > it make sense to include this function? Conio functions interface directly with the BIOS, so ANSI.SYS is not required. However, do not try the following: textcolor( BLUE ); printf( "This is blue.\n" ); stdio functions go through DOS, so your color settings will be ignored. Use conio display functions instead. FWIW, ANSI.SYS works perfectly well in a Win95 DOS box. -- --------------------------------------------------------------------- | John M. Aldrich | "Deductive logic is tautological; | | aka Fighteer I | there is no way to get a new truth | | mailto:fighteer AT cs DOT com | out of it." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------