Porting getch() and kbdhit() ???

Chris Faylor cygwin@sourceware.cygnus.com
Tue Aug 17 19:55:00 GMT 1999

On Tue, Aug 17, 1999 at 06:11:36PM -0400, Lincoln, W. Terry wrote:
>Those two functions are not POSIX now, are they?  Sounds DOS/WINDOZISH to me
>Cygwin is for porting Unix(POSIX) apps to Win32.

Well, that's only partly true.  I have no qualms about including stuff
that people need in Cygwin.  Since these two functions have been
requested repeatedly, I'd certainly consider applying a patch which adds
this functionality to cygwin.

There.  I've asked for contributions.  That should kill this thread.


>>From: Philippe Noel [ mailto:pnoel@socoint.com ]
>>Sent: Tuesday, August 17, 1999 4:21 PM
>>I'm currently trying to port a source code that use getch() and
>>kbdhit() under Linux.
>>It really do not seems to be supported by Cygwin.  Is there a reason
>>for this?
>>And, is there a way to do the same thing as this (very common) code
>>under Cygwin?
>>if( kbdhit() ) key = getch();

Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com

More information about the Cygwin mailing list