This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

RE: B20: hang on pipe to grep




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@cygnus.com [mailto:owner-gnu-win32@cygnus.com]On
> Behalf Of Gary V. Vaughan
> Sent: Friday, November 20, 1998 12:02 PM
> To: Geoffrey Noer
> Cc: gnu-win32@cygnus.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]