home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / os / os2 / programm / 4856 < prev    next >
Encoding:
Text File  |  1992-09-09  |  782 b   |  25 lines

  1. Newsgroups: comp.os.os2.programmer
  2. Path: sparky!uunet!usc!wupost!darwin.sura.net!sgiblab!tsoft!dennis
  3. From: bbs.dennis@tsoft.sf-bay.org (Dennis Yelle)
  4. Subject: Does kbhit() work for anyone else?
  5. Message-ID: <q26uqB1w165w@tsoft.sf-bay.org>
  6. Sender: bbs@tsoft.sf-bay.org (BBS User)
  7. Organization: The TSoft BBS and Public Access Unix, +1 415 969 8238
  8. Date: Thu, 10 Sep 1992 02:28:13 GMT
  9. Lines: 14
  10.  
  11. I can't get kbhit() to return anything but a 0.
  12. No matter how many keys I type.
  13.  
  14. Also, if I do a getch() and then type a Ctrl-C, the
  15. process hangs.
  16.  
  17. Has anyone gotten either of these two functions to
  18. work properly under OS/2 2.0?
  19.  
  20. Does anyone have any other suggestions about how to deal
  21. with the keyboard successfully in C under OS/2 2.0?
  22.  
  23. --
  24. Dennis Yelle (bbs.dennis@tsoft.sf-bay.org)
  25.