[ale] FAQ: I need to fake DOS' kbhit(), getch()

Christopher S. Adams toiletduk at penguinpowered.com
Thu Jul 27 17:29:59 EDT 2000


i think getch() is part of ncurses, dunno about kbhit()

Chris

----- Original Message -----
From: "John Mills" <jmills at tga.com>
To: ale at ale.org
To: "Atlanta Linux Enthusiasts" <ale at ale.org>
Sent: Thursday, July 27, 2000 16:51
Subject: [ale] FAQ: I need to fake DOS' kbhit(), getch()


>
> I've inherited a MSWin console application which tests for operator
> keystroke input while repeatedly calling a service routine, then exits on
> a keystroke. Could someone please remind me how to fake those DOS-style
> tests in UNIX/Linux, or suggest a library with exports these
> Borland/MS-style functions? I have seen this, but draw a blank at present.
>
> I could use Stevens' APUE/Ch.11 examples, but a handy-dandy interface lib
> would be great!
>
> TIA-
>
>    John Mills
>    Sr. Software Engineer
>    TGA Technologies, Inc.
>    100 Pinnacle Way, Suite 140
>    Norcross, GA 30071-3633
>    e-mail: jmills at tga.com
>    Phone: 770-441-2100 ext.124 (voice)
>           770-449-7740 (FAX)
>
> --
> To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message
body.

--
To unsubscribe: mail majordomo at ale.org with "unsubscribe ale" in message body.





More information about the Ale mailing list