delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/10/18/09:22:29

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
X-Envelope-Sender-Is: Andrej DOT Borsenkow AT mow DOT siemens DOT ru (at relayer goliath.siemens.de)
From: "Andrej Borsenkow" <Andrej DOT Borsenkow AT mow DOT siemens DOT ru>
To: "Earnie Boyd" <earnie_boyd AT yahoo DOT com>, "Jonathan Kamens" <jik AT curl DOT com>,
<cygwin AT sources DOT redhat DOT com>
Subject: RE: [cgf: Re: rxvt SEGV (Win98, 1.1.5s/2000-10-08)]
Date: Wed, 18 Oct 2000 17:21:21 +0400
Message-ID: <000701c03906$4e8993c0$21c9ca95@mow.siemens.ru>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook IMO, Build 9.0.2416 (9.0.2911.0)
In-reply-To: <20001018130952.24124.qmail@web119.yahoomail.com>
X-MimeOLE: Produced By Microsoft MimeOLE V5.50.4133.2400
Importance: Normal

> > HKEY_CURRENT_USER\Software\Cygnus Solutions\Cygwin\mounts v2
> >   (default) = `/cygdrive'
> >   cygdrive flags = 0x00000020
>
> I notice that your /cygdrive variable is set to process in text mode (DOS
> sytle) line endings.
>

I have exactly the same after clean Cygwin reinstall (removing all registry
entries). So, it must be default.

>
> The problem is that if you process files in and out of your home
> directory they
> will have \r\n line endings while all of the other devices have \n line
> endings.  I assume from the fact that you have all mount points in
> binary mode
> that you really want to process all files in binary mode.  To change the
> /cygdrive pseudo mount point to binary mode do `mount -s -b
> --change-cygdrive-prefix /cygdrive'.
>

But then _all_ io from DOS devices will be in binary mode? IMHO that may cause
other problems.

Do you mean to say, that the default for text vs binary is set by this option?

Actually, I think, defaults are correct. This way you get binary IO on
explicit mounts (when you now, that all files are in Unix format) and text IO
everywhere else.

 Thank you for interesting comment anyway

-andrej


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