delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2003/08/12/11:15:05

From: Hans-Bernhard Broeker <broeker AT physik DOT rwth-aachen DOT de>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: ATT assembler question
Date: 12 Aug 2003 15:01:33 GMT
Organization: Aachen University of Technology (RWTH)
Lines: 33
Message-ID: <bhavgd$hmn$1@nets3.rz.RWTH-Aachen.DE>
References: <bh80cs$p9k$1 AT nets3 DOT rz DOT RWTH-Aachen DOT DE> <20030812104431 DOT 28413 DOT 00000342 AT mb-m10 DOT aol DOT com>
NNTP-Posting-Host: acp3bf.physik.rwth-aachen.de
X-Trace: nets3.rz.RWTH-Aachen.DE 1060700493 18135 137.226.32.75 (12 Aug 2003 15:01:33 GMT)
X-Complaints-To: abuse AT rwth-aachen DOT de
NNTP-Posting-Date: 12 Aug 2003 15:01:33 GMT
Originator: broeker@
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Sterten <sterten AT aol DOT com> wrote:

> I went to the /info directory, put everything there in one big
> file and searched this file for keywords.

That's an utterly silly way of using the Info pages.  Use a proper
info reader instead, and you'll get to actually use indices and
structured lookup.

> No referrence to kbhit from any of the 4 other mentioned functions.

There may be no cross-link to it, but it *is* mentioned on the conio
functional category page, see?

The real problem was that you obviously read *none* of the docs before
(or you would have found out the details of _bioskey), not that you
read them but didn't find the relevant parts.

>  >So what?  Did it really not occur to you that you can't have it both
>  >ways --- being informed about new keypresses, but still ignoring keys
>  >pressed a while ago?   

> The program below seems to do exactly that :

It doesn't.  If you use it as is, it ignores no keypress.  It doesn't
check what key was pressed, either.  I.e. if there are 5 old
key-presses sitting in the queue, the next 5 invocations of this if()
construct _will_ execute the body, regardless of whether the pressed
key was <ESC> or something else, and regardless of when those key
presses happened.
-- 
Hans-Bernhard Broeker (broeker AT physik DOT rwth-aachen DOT de)
Even if all the snow were burnt, ashes would remain.

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019