From: "bowman" Newsgroups: comp.os.msdos.djgpp References: <37207CDC DOT B71F192B AT mdh DOT se> Subject: Re: kbpeek() in DJGPP - C version only.. Lines: 16 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 5.00.2014.211 X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2014.211 Message-ID: Date: Fri, 23 Apr 1999 10:07:52 -0600 NNTP-Posting-Host: 208.4.224.49 X-Trace: newsfeed.slurp.net 924883704 208.4.224.49 (Fri, 23 Apr 1999 11:08:24 CDT) NNTP-Posting-Date: Fri, 23 Apr 1999 11:08:24 CDT To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com Dan Levin wrote in message news:37207CDC DOT B71F192B AT mdh DOT se... > > that returns the ASCII code of the top charcter in the kb buffer. The > more ANSI C, the better - but I suppose you'll have to go down to > __dos_int() calls, at the least...or is assembler the only solution...? enter 'info libc a bioskey' at the dos prompt. bioskey(1) returns 0 is no key is available, or the key. the key is not removed from the buffer. not ANSI, not POSIX