delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/08/17/22:56:23

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>,
<http://sourceware.cygnus.com/ml/#faqs>
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 <cygwin AT sourceware DOT cygnus DOT com>
To: "'Cygwin Mailing List'" <cygwin AT sourceware DOT cygnus DOT com>
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' <cygwin AT sourceware DOT cygnus DOT com>
References: <B3953869CBF8D211A1E50004AC4C1B5402F436 AT ULTIMATE2>
Mime-Version: 1.0
X-Mailer: Mutt 0.95.6i
In-Reply-To: <B3953869CBF8D211A1E50004AC4C1B5402F436@ULTIMATE2>; 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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019