This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Re: Porting getch() and kbdhit() ???
- To: "'Cygwin Mailing List'" <cygwin@sourceware.cygnus.com>
- Subject: Re: Porting getch() and kbdhit() ???
- From: Chris Faylor <cygwin@sourceware.cygnus.com>
- Date: Tue, 17 Aug 1999 22:57:06 -0400
- References: <B3953869CBF8D211A1E50004AC4C1B5402F436@ULTIMATE2>
- Reply-To: cygwin@sourceware.cygnus.com
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.
-chris
>>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