From: Jason Green Newsgroups: comp.os.msdos.djgpp Subject: Re: blinking characters Date: Fri, 28 Jul 2000 19:08:10 +0100 Organization: Customer of Energis Squared Lines: 17 Message-ID: References: NNTP-Posting-Host: modem-180.argon.dialup.pol.co.uk Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Trace: news8.svr.pol.co.uk 964807791 25994 62.136.17.180 (28 Jul 2000 18:09:51 GMT) NNTP-Posting-Date: 28 Jul 2000 18:09:51 GMT X-Complaints-To: abuse AT theplanet DOT net X-Newsreader: Forte Agent 1.7/32.534 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com "Kurt Aistinger" wrote: > Hi! > I recently downloaded DJGPP and now I have a question about making > characters blink: How can I do it? :-) > In TurboC++ there just was a color named BLINK. You gave a function as the > color-parameter BLINK and the text was blinking. > How can this be done with DJGPP? The function you need is textattr(), type "info libc a textattr" to read the documentation. Example ------- /* blinking white on blue */ textattr(BLINK | (BLUE << 4) | WHITE);