🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.os2.programmer
Article #937

Does kbhit() work for anyone else?

#937
From: Dennis Yelle
Date: Thu, 10 Sep 1992 02:28
14 lines
806 bytes
I can't get kbhit() to return anything but a 0.
No matter how many keys I type.
 
Also, if I do a getch() and then type a Ctrl-C, the
process hangs.

Has anyone gotten either of these two functions to
work properly under OS/2 2.0?

Does anyone have any other suggestions about how to deal
with the keyboard successfully in C under OS/2 2.0?

--
Dennis Yelle (bbs.dennis@tsoft.sf-bay.org)
Technical Details
Message-ID: <q26uqB1w165w@tsoft.sf-bay.org>
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!darwin.sura.net!sgiblab!tsoft!dennis

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.os2.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!usc!wupost!darwin.sura.net!sgiblab!tsoft!dennis
From: bbs.dennis@tsoft.sf-bay.org (Dennis Yelle)
Subject: Does kbhit() work for anyone else?
Message-ID: <q26uqB1w165w@tsoft.sf-bay.org>
Sender: bbs@tsoft.sf-bay.org (BBS User)
Organization: The TSoft BBS and Public Access Unix, +1 415 969 8238
Date: Thu, 10 Sep 1992 02:28:13 GMT
Lines: 14