On Fri, Mar 01, 2002 at 10:54:24 -0500, Joe Kline wrote:
> Why no replies to:
> On 12-Jul-99 Stephen Shirley wrote:
> > Does anyone know what the Linux equiv of the Borland
> kbhit() in dos?
> >I need to check if there are more characters are waiting to
> be read in from
> >stdin. Also - what's the easiest way to read in _one_
> character from the
> >heyboard - ie. without needing to hit return afterwards.
>> I need this too!! Help.
> Joe Kline
How about this old chestnut. A dropin replacement for kbhit.
Caolan McNamara | caolan at skynet.iehttp://www.skynet.ie/~caolan | +353 86 8161184
Once my power is secure, I will destroy all those pesky time-travel devices
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!