delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/06/02/14:28:53

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 14:28:16 -0400
To: "'cygwin AT sourceware DOT cygnus DOT com'" <cygwin AT sourceware DOT cygnus DOT com>
Subject: Re: text / binary mounts (sorry)
Message-ID: <20000602142816.H1589@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: <200006021734 DOT KAA06876 AT cygnus DOT com>
Mime-Version: 1.0
User-Agent: Mutt/1.2i
In-Reply-To: <200006021734.KAA06876@cygnus.com>; from rdparker@butlermfg.com on Fri, Jun 02, 2000 at 12:30:31PM -0500

On Fri, Jun 02, 2000 at 12:30:31PM -0500, Parker, Ron wrote:
>> > > set CYGWIN=binmode causes even unmounted directories and 
>> files to be
>> > > accessed in binary mode.  You can set this in autoexec.bat 
>> > for Win9x or in
>> > > the System Control Panel applet for NT/2000.
>> > > 
>> > 
>> > Are you sure of this, Ron?  AFAIK CYGWIN=binmode only affects 
>> > the pipes and
>> > redirection and not file I/O.  BTW CYGWIN=binmode is the default.
>> 
>> ITIWTW, I thought it worked that way, however a quick test 
>> shows I am wrong.  I would have sworn CYGWIN=binmode used to 
>> apply to all file opens.
>> 
>> Sorry for the confusion.
>
>So is there anyway to have 'echo Hello>//h/junk' produce a 6-byte file?

Yes.  You use the mount command that was mentioned previously in this thread.

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