home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #26 / NN_1992_26.iso / spool / comp / os / os2 / programm / 6248 < prev    next >
Encoding:
Internet Message Format  |  1992-11-07  |  1.5 KB

  1. Path: sparky!uunet!vnet.ibm.com
  2. From: francis@vnet.ibm.com (Tim Francis)
  3. Message-ID: <19921106.073209.811@almaden.ibm.com>
  4. Date: Fri, 6 Nov 92 10:31:56 EST
  5. Subject: Questions about certain C functions in C Set/2
  6. Newsgroups: comp.os.os2.programmer
  7. References: <manne.720991382@Minsk>
  8. Reply-To: francis@vnet.ibm.com
  9. Organization: IBM Canada Lab, WorkFrame/2 development
  10. Disclaimer: This posting represents the poster's views, not those of IBM
  11. Lines: 25
  12.  
  13. In article <manne.720991382@Minsk>,
  14. manne@Minsk.docs.uu.se (Magnus L|vkvist) writes:
  15. >
  16. >I'm writing an VIO (if that's what a character based app able to run in a
  17. >window is called) app using C Set/2.
  18. >
  19. >I've noticed that kbhit() and getche() are only present in the migration
  20. >libraries and the documentation sounds like "don't use the migration libraries
  21. >for new programs".
  22. >
  23. >Well, what should I use instead? I don't want a PM app and I don't want to
  24. >press RETURN. Should I use an OS/2 API like some category 4 Keyboard Control
  25. >IOCtl Command?
  26. >
  27. >Why isn't kbhit() and getche() supported in the IBM C extensions and only in
  28. >the migration libraries?
  29. >
  30. >/Magnus
  31.  
  32. The original, poorly conceived plan for C Set/2 was to support some functions
  33. (such as kbhit()) only temporarily, to aid migration from other compilers.
  34. It has now been realized that the need for these functions is not going
  35. to go away, and so as of the next release (available now in beta form
  36. for members of the DAP) the migration library is going to be folded
  37. into the extension library.   -tim
  38.