delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/02/22:50:59

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
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
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Fri, 2 Jun 2000 22:50:08 -0400
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: text / binary mounts (sorry)
Message-ID: <20000602225008.A1967@cygnus.com>
Reply-To: cygwin AT sourceware DOT cygnus DOT com
Mail-Followup-To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
References: <1DB8BA4BAC88D3118B2300508B5A552CD92556 AT mail DOT fitlinxx DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <1DB8BA4BAC88D3118B2300508B5A552CD92556@mail.fitlinxx.com>; from db3l@fitlinxx.com on Fri, Jun 02, 2000 at 10:45:00PM -0400

On Fri, Jun 02, 2000 at 10:45:00PM -0400, David Bolen wrote:
>Chris Faylor [cgf AT cygnus DOT com] writes:
>
>> It only affects stdin/stdout behavior when the program is run from the
>> Windows command shell.
>
>Well, it also happens for me when a process is started up from an NT service
>(that is not a Cygwin service) which has no bearing on a command shell, or
>actually any NT application (even if while the application was started from
>a shell, the process it is creating will have no interaction with that
>shell)  (That might be synonymous with what you mean by "command shell" I'm
>not sure).

Ok.  I simplified too much.  To be precise, if a cygwin application is
invoked from a non-cygwin application then CYGWIN=binmode controls the
text mode endings of stdin/stdout/stderr.

This is to allow some measure of control over what shows up in the file since
there is no way for cygwin to know if stdout refers to a file on a "binmode"
directory or not when it is started from an application that doesn't honor
cygwin's mount tables.

cgf

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