www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/05/21/12:29:48

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <B3953869CBF8D211A1E50004AC4C1B5402F3F9@ULTIMATE2>
From: "Lincoln, W. Terry" <terryl AT ultimatetechnology DOT com>
To: "'ki AT home DOT email DOT ne DOT jp'" <ki AT home DOT email DOT ne DOT jp>
Cc: "'Cygwin Mailing List'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: RE: B20.1: It takes hitting RET key twice to make select() recogn
ize input from stdin
Date: Fri, 21 May 1999 12:23:28 -0400
X-Mailer: Internet Mail Service (5.5.2448.0)

BTW,

I am using B20 and the problem you mention has always existed for as long as
I have used it.


W. Terry Lincoln - Senior Engineer                 \     \   _   /
Ultimate Technology Corporation                     \     \ |J| /
a Tridex Company (NASDAQ:trdx)                       \     _|E|_
ICQ# 39362285 <http://wwp.icq.com/39362285>           \   |_ S _|
Email:   <mailto:WTerryLincoln AT engineer DOT com>           \    |U|
WWW1:  <http://www.AngelFire.com/ny/TerryLincoln>       \ / |S| \
WWW2:  <http://www.geocities.com/Eureka/Concourse/7326>  \  | |
================================================ ~~~~~
Opinions expressed do not represent the management of UTC.


> -----Original Message-----
> From: Kazuhisa Ichikawa [mailto:ki AT home DOT email DOT ne DOT jp]
> Sent: Friday, May 21, 1999 10:42 AM
> To: cygwin AT sourceware DOT cygnus DOT com
> Subject: B20.1: It takes hitting RET key twice to make select()
> recognize input from stdin
> 
> 
> 
> Hi,
> 
> Under cygwin b20.1, select() does not correctly detect input 
> from stdin. That is,
> if I type a character and hit RET key once, select() returns 
> 0 as the number of
> bits set in the bit masks. If I hit the RET key the second 
> time, select()
> correctly returns 1.
> 
> To reproduce the problem, just compile the attached test case 
> and run it as:
> 
>         gcc -g -o select_test.exe select_test.c
>         ./select_test.exe
> 
> This same program, when compiled and run on Solaris 2.5.1, 
> behaves correctly. That
> is, select() correctly returns 1 when I type a character and 
> hit RET key once. I
> don't have to hit RET key twice.
> 
> Here is the output from cygcheck -s -v -r under my cygwin environment:
> 
 8< snip 8< snip 8<
> -- 
> Kazuhisa Ichikawa
> Kawasaki Japan
> ki AT home DOT email DOT ne DOT jp
> 

--
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