delorie.com/archives/browse.cgi | search |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
List-Post: | <mailto:cygwin AT cygwin DOT com> |
List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
Sender: | cygwin-owner AT cygwin DOT com |
Mail-Followup-To: | cygwin AT cygwin DOT com |
Delivered-To: | mailing list cygwin AT cygwin DOT com |
From: | Laurent Pinchart <laurent DOT pinchart AT capflow DOT com> |
Organization: | Capflow |
To: | cygwin AT cygwin DOT com |
Subject: | Re: OpenSSH and WinCVS in Windows 9x |
Date: | Thu, 8 Aug 2002 20:48:14 +0200 |
User-Agent: | KMail/1.4.1 |
References: | <20020806140534 DOT 757a155a DOT steven DOT obrien2 AT ntlworld DOT com> <200208081932 DOT 25737 DOT laurent DOT pinchart AT capflow DOT com> <20020808175335 DOT GG11425 AT redhat DOT com> |
In-Reply-To: | <20020808175335.GG11425@redhat.com> |
MIME-Version: | 1.0 |
Message-Id: | <200208082048.14548.laurent.pinchart@capflow.com> |
X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g78IkA908542 |
> The problem is not in cygwin. If you are communicating with pipes > between non-cygwin application and a cygwin application and expecting > EOF notification on pipes you are not going to get it. Microsoft > doesn't provide any reliable way of finding that information on Windows > 9x. That's bad news :-( From the cygwin code (peek_pipe AT select DOT cc), I assume that PeekNamedPipe returns a negative value for lpTotalBytesAvail on EOF in win2k, and 0 in win9x. I'll write a simple application to check that tomorrow. BTW I looked at the putty code, and it uses a thread to read from stdin. Well, I still think it should be possible to get notified of such an event. feof() from mscvrt manages to do so... Laurent Pinchart -- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Bug reporting: http://cygwin.com/bugs.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |