delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin-developers/2000/06/04/18:29:34

Mailing-List: contact cygwin-developers-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-developers-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin-developers/>
List-Post: <mailto:cygwin-developers AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-developers-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-developers-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin-developers AT sourceware DOT cygnus DOT com
From: Chris Faylor <cgf AT cygnus DOT com>
Date: Sun, 4 Jun 2000 18:29:27 -0400
To: cygwin-dev <cygwin-developers AT sourceware DOT cygnus DOT com>
Subject: Re: text / binary mounts (sorry)
Message-ID: <20000604182927.F1298@cygnus.com>
Reply-To: cygwin-developers AT sourceware DOT cygnus DOT com
Mail-Followup-To: cygwin-dev <cygwin-developers AT sourceware DOT cygnus DOT com>
References: <20000602214630 DOT B3577 AT cygnus DOT com> <3730 DOT 000604 AT logos-m DOT ru>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <3730.000604@logos-m.ru>; from deo@logos-m.ru on Sun, Jun 04, 2000 at 05:32:08PM +0400

On Sun, Jun 04, 2000 at 05:32:08PM +0400, Egor Duda wrote:
>Saturday, 03 June, 2000 Chris Faylor cgf AT cygnus DOT com wrote:
>CF> On Fri, Jun 02, 2000 at 04:41:27PM -0500, Parker, Ron wrote:
>>>> Since the //h usage is deprecated, I'm not going to worry too 
>>>> much about this.
>>>
>>>The larger point, IMHO, is that, 'echo Hello>//machine/sharename/filename'
>>>also produces 7 bytes. This leads me to the question of, "How does one
>>>default UNC file access to binary mode?"  I know it works if the UNC path is
>>>mounted and you access it via the mount point, but what should happen when
>>>going directly to the UNC path?
>
>CF> Right now, the same thing happens as has happened for the last three or
>CF> four years with cygwin.  It defaults to text mode.
>
>btw,  do  you  think  there should be a way to control this. something
>like CYGWIN=filebinmode ? if yes, i'm ready to submit a patch.
>
>hmm,   "filebinmode"  seems  a  bit  confusing,  but  don't  see  more
>descriptive word.

I'd rather not complicate the text mode logic right now.  DJ is talking
about an improvement to cygwin that may change things for the better.

cgf

- Raw text -


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