Mailing-List: contact cygwin-help@sourceware.cygnus.com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie.com@sourceware.cygnus.com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin@sourceware.cygnus.com>
List-Help: <mailto:cygwin-help@sourceware.cygnus.com>,
	<http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner@sourceware.cygnus.com
Delivered-To: mailing list cygwin@sourceware.cygnus.com
From: "Philippe Noel" <pnoel@socoint.com>
To: "Cygwin-List" <cygwin@sourceware.cygnus.com>
Subject: Porting getch() and kbdhit() ???
Date: Tue, 17 Aug 1999 16:20:35 -0400
Message-ID: <001401bee8ed$f6ebe320$400010ac@philippe.socoint.com>
MIME-Version: 1.0
Content-Type: text/plain;
	charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2377.0
X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal

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

