X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f From: Hans-Bernhard Broeker 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: References: 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 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 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.