Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Unsubscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Date: Tue, 17 Aug 1999 22:57:06 -0400 From: Chris Faylor To: "'Cygwin Mailing List'" Subject: Re: Porting getch() and kbdhit() ??? Message-ID: <19990817225706.B2983@cygnus.com> Reply-To: cygwin AT sourceware DOT cygnus DOT com Mail-Followup-To: 'Cygwin Mailing List' References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: ; from Lincoln, W. Terry on Tue, Aug 17, 1999 at 06:11:36PM -0400 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 AT socoint DOT 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 AT sourceware DOT cygnus DOT com