delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/03/07/11:22:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sources DOT redhat DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sources DOT redhat DOT com>
List-Help: <mailto:cygwin-help AT sources DOT redhat DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT sources DOT redhat DOT com
Delivered-To: mailing list cygwin AT sources DOT redhat DOT com
Date: Wed, 7 Mar 2001 11:19:24 -0500
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Broken stdio using sh.exe?
Message-ID: <20010307111924.G18117@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <0056890023357703000002L932*@MHS>
Mime-Version: 1.0
User-Agent: Mutt/1.3.11i
In-Reply-To: <0056890023357703000002L932*@MHS>; from robert.jan.schutten@philips.com on Wed, Mar 07, 2001 at 01:10:33PM +0100

On Wed, Mar 07, 2001 at 01:10:33PM +0100, robert DOT jan DOT schutten AT philips DOT com wrote:
>I was under the impression that the reading of text or binary mode of pipes and 
>non-file devices is controlled by setting CYGWIN to binmode ar nobinmode
>(where the default is binmode), see the Cygwin User's Guide:
>http://www.cygwin.com/cygwin-ug-net/using-textbinary.html#AEN669
>rule c, which states:
>" Pipes and non-file devices are opened in binary mode, except if the CYGWIN 
>  environment variable contains nobinmode."
>
>If there is the intention to change bash to work like sh works now, then I am in trouble....
>Also this seems to contradict the rule mentions in the Cygwin User's Guide.

bash != cygwin
sh != cygwin

The default for the Cygwin DLL has nothing to do with the decisions that a
program like bash or ash may make for its defaults.

cgf

--
Want to unsubscribe from this list?
Check out: http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


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