This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Porting getch() and kbdhit() ???


Hi all,

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();



Thanks,

P H I L I P P E   N O E L
Socomar International (1995) inc.


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]