delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1999/10/11/08:59:49

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT sourceware DOT cygnus DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <19991011125753.21273.rocketmail@web115.yahoomail.com>
Date: Mon, 11 Oct 1999 05:57:53 -0700 (PDT)
From: Earnie Boyd <earnie_boyd AT yahoo DOT com>
Reply-To: earnie_boyd AT yahoo DOT com
Subject: Re: make, bash, or cygwin bug?
To: Kai Henningsen <kai AT cats DOT ms>, cygwin AT sourceware DOT cygnus DOT com
MIME-Version: 1.0

--- Kai Henningsen <kai AT cats DOT ms> wrote:
> On 8 Oct 99, at 13:41, Earnie Boyd wrote:
-8<-
> > Or, try SET CYGWIN=... nobinmode ... before starting bash.  The [no]binmode
> > switch controls the processing of the pipe and redirect fd's.  If you
> modify
> > this value after you start bash you effect the change only on pipes not
> redirects.
> 
> I happen to think this is the wrong type of fix. It's not piping in
> general that should be done in text mode (because there can
> certainly be binary data sent around in pipes - say, the pbm tools),
> but parsing stuff like `` or $(shell ...) (where we _know_ we're
> handling text).
> 
> Typically, these places already have some way to handle '\n' so as
> to make it work as white space. Under cygwin, this should
> probably be extended to '\r'. (This way may well be that later
> parsing routines handle '\n' like white space, not the place that
> takes the output from a program. OTOH, I can see no reason why
> parsing text should ever need to handle '\r' as something different
> from white space, so doing this change should not result in
> problems.)

Sounds interesting.  Any chance that you could submit patches?  Not having to
worry about \r\n line endings on the read would be great as long as if I wanted
them to be written by default that would still happen.


=====
Earnie Boyd <mailto:earnie_boyd AT yahoo DOT com>

Newbies, please visit
<http://www.freeyellow.com/members5/gw32/index.html>

(If you respond to the list, then please don't cc me)
__________________________________________________
Do You Yahoo!?
Bid and sell for free at http://auctions.yahoo.com

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