delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/11/24/07:56:29

From: hughw AT scoutsys DOT com (Hugh Winkler)
Subject: RE: B20: hang on pipe to grep
24 Nov 1998 07:56:29 -0800 :
Message-ID: <000501be1729$df953c30$0c0aa8c0.cygnus.gnu-win32@harry.scoutsys.com>
References: <3655AE90 DOT A6AD2F44 AT oranda DOT demon DOT co DOT uk>
Reply-To: <hughw AT scoutsys DOT com>
Mime-Version: 1.0
To: "'Gary V. Vaughan'" <gvaughan AT oranda DOT demon DOT co DOT uk>
Cc: <gnu-win32 AT cygnus DOT com>


Maybe you don't want binmode in CYGWIN?
I think bash & ash in b19, used to have hardwired text mode on stdin etc.
binmode would change that behavior.

Hugh Winkler
Scout Systems, Inc.

> -----Original Message-----
> From: owner-gnu-win32 AT cygnus DOT com [mailto:owner-gnu-win32 AT cygnus DOT com]On
> Behalf Of Gary V. Vaughan
> Sent: Friday, November 20, 1998 12:02 PM
> To: Geoffrey Noer
> Cc: gnu-win32 AT cygnus DOT com
> Subject: Re: B20: hang on pipe to grep
>
snip...
> I have an application which used to compile and work perfectly under
> b19.  I have upgraded to b20, and made all my mounts text!=binary, but
> also been careful to use O_BINARY for all the files, descriptors and
> pipes that are opened.  I also have CYGWIN='  tty binmode' in the
> environment before I launch the shell.


snip...
> Actually there is a bit more going on than this, but the
> bottom line is
> that it *did* work under b19 and aside from my no longer using binary
> mounts, and opening the pipes with O_BINARY, the only
> significant change
> is the upgrade to b20.  I noticed this problem without O_BINARY pipes
> and had thought that adding that option might fix it, so it has been
> tested (and fails) in both modes.
>


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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