delorie.com/archives/browse.cgi | search |
X-Authentication-Warning: | delorie.com: mail set sender to djgpp-bounces using -f |
From: | Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de> |
Newsgroups: | comp.os.msdos.djgpp |
Subject: | Re: strange bright/blink behavior |
Date: | 26 Sep 2003 12:52:13 GMT |
Organization: | Aachen University of Technology (RWTH) |
Lines: | 19 |
Message-ID: | <bl1cpt$f2e$1@nets3.rz.RWTH-Aachen.DE> |
References: | <GrWcb.349526$lK4 DOT 11170457 AT twister1 DOT libero DOT it> |
NNTP-Posting-Host: | acp3bf.physik.rwth-aachen.de |
X-Trace: | nets3.rz.RWTH-Aachen.DE 1064580733 15438 137.226.32.75 (26 Sep 2003 12:52:13 GMT) |
X-Complaints-To: | abuse AT rwth-aachen DOT de |
NNTP-Posting-Date: | 26 Sep 2003 12:52:13 GMT |
Originator: | broeker@ |
To: | djgpp AT delorie DOT com |
DJ-Gateway: | from newsgroup comp.os.msdos.djgpp |
Reply-To: | djgpp AT delorie DOT com |
Giorgio Medeot <gmedeot AT yahoo DOT it> wrote: > When I launch foo.exe, if the DOS prompt is located at the bottom of the > screen, so that executing foo.exe causes the screen to scroll, all new > lines that are printed also look as they had the blink bit set. I suspect that's because the effect of updating "ScreenAttrib" only takes place if you actually output a character. I think you should rather use one of the other <conio.h> functions instead of putch(), which take the attribute as one of their arguments, and leave ScreenAttrib alone. See, e.g., ScreenPutChar(). -- Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de) Even if all the snow were burnt, ashes would remain.
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |