From: "John M. Aldrich" Newsgroups: comp.os.msdos.djgpp Subject: Re: Screen Colors Date: Sun, 03 May 1998 13:44:23 -0400 Organization: Two pounds of chaos and a pinch of salt. Lines: 18 Message-ID: <354CACF7.3090@cs.com> References: <6ii4dn$nut AT nnrp2 DOT farm DOT idt DOT net> NNTP-Posting-Host: ppp111.cs.net 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 Thomas Beauchamp wrote: > > How do I change the text and background colors in standard test mode? Use the conio.h functions, such as textcolor(), textbackground(), and textattr(). You can look up the full set of conio functions in the libc docs ("info libc func conio"). Please note that conio and stdio functions are incompatible; you should not mix them without considering the results. In particular, color changes will have no effect on text printed via printf(), putchar(), puts(), etc. -- --------------------------------------------------------------------- | John M. Aldrich | "Be wary of strong drink. It can | | aka Fighteer I | make you shoot at tax collectors-- | | mailto:fighteer AT cs DOT com | and miss." | | http://www.cs.com/fighteer | - Lazarus Long | ---------------------------------------------------------------------