delorie.com/archives/browse.cgi | search |
From: | "A. Sinan Unur" <asu1 AT cornell DOT edu> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: colored text in text mode |
Date: | Fri, 06 Dec 1996 06:34:12 -0500 |
Organization: | Cornell University |
Lines: | 20 |
Sender: | asu1 AT cornell DOT edu (Verified) |
Message-ID: | <32A804B3.AAF@cornell.edu> |
References: | <275252745D AT fs2 DOT mt DOT umist DOT ac DOT uk> |
NNTP-Posting-Host: | cu-dialup-0039.cit.cornell.edu |
Mime-Version: | 1.0 |
To: | "A.Appleyard" <A DOT APPLEYARD AT fs2 DOT mt DOT umist DOT ac DOT uk> |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
A.Appleyard wrote: > > In v1, and in v2, when writing to screen in the ordinary text mode by fprint() > etc, how can I tell the PC to start writing with such-and-such a foreground > and background color? you can't. fprint is defined by the ANSI standard. it may not be tweaked with at will. see the conio (console i/o) functions. you can find info in the 'info' files. (or, follow this: http://www.delorie.com/djgpp/doc/libc-2.01/libc_4.html) sinan. -- ******************************************************************* A. Sinan Unur WWWWWW |--O+O mailto:asu1 AT cornell DOT edu C ^ mailto:sinan AT econ DOT cit DOT cornell DOT edu \ ~/ http://www.bqnet.com/sinan/ *******************************************************************
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |