| delorie.com/archives/browse.cgi | search |
| Date: | Sun, 26 Nov 2000 13:09:01 +0200 (IST) |
| From: | Eli Zaretskii <eliz AT is DOT elta DOT co DOT il> |
| X-Sender: | eliz AT is |
| To: | Graham Reeds <grahamr AT dtn DOT ntl DOT com> |
| cc: | djgpp AT delorie DOT com |
| Subject: | Re: Buffering text... |
| In-Reply-To: | <HJ3U5.12106$ea7.247266@news2-win.server.ntlworld.com> |
| Message-ID: | <Pine.SUN.3.91.1001126130620.4375B-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, Graham Reeds wrote:
> Libc-202 (is there a newer version??)
The latest version of the DJGPP library is 2.03. I suggest to upgrade,
since there were several bugs in v2.02 related to color text output.
> 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.
Use cprintf instead of printf (and "\r\n" instead of "\n"). printf
doesn't pay attention to what textcolor does.
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |