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