delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/08/23/00:24:50

From: cgf AT cygnus DOT com (Christopher G. Faylor)
Subject: Re: mounts, ls, and filename completion
23 Aug 1998 00:24:50 GMT :
Message-ID: <6rnngi$ijm$1@cronkite.cygnus.com>
References: <199808201932 DOT VAA07488 AT weiser DOT saale-net DOT de> <3 DOT 0 DOT 5 DOT 32 DOT 19980821092501 DOT 009bd100 DOT cygnus DOT gnu-win32 AT pop DOT ma DOT ultranet DOT com>
X-Newsreader: trn 4.0-test63 (15 March 1998)

In article <3 DOT 0 DOT 5 DOT 32 DOT 19980821092501 DOT 009bd100 DOT cygnus DOT gnu-win32 AT pop DOT ma DOT ultranet DOT com>,
Larry Hall <lhall AT rfk DOT com> wrote:
>At 07:32 PM 8/20/98 GMT, Michael Weiser wrote:
>Personally, I agree with Earnie.  I don't see any reason why pipes, etc
>need to be text mode.  Anyway, at the moment, we're stuck with what comes
>from Cygnus by default, which means pipes are text mode.  Assuming that
>we will not get agreement on the subject of making pipes binary for good,
>I think a switch would be the next best alternative (perhaps the current 
>binmode switch could be used?)  However, currently with the source 
>distributed with b19.x, pipes ARE text.  There is no facility for making 
>them binary.  It is hard-coded.  I'll make a change to the bash source to 
>check the binmode switch if nobody objects that this is bad pragmatically...

I wouldn't bother.  In the next release of cygwin, the pipe() function will
honor the CYGWIN32=[no]binmode automatically.

I'll try taking the setmode out of bash and see if anyone hollers here.
-- 
cgf AT cygnus DOT com             "Everything has a boolean value, if you stand
http://www.cygnus.com/      far enough away from it."  -- Galena Alyson Canada

- Raw text -


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