delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2008/12/19/10:41:29

X-Recipient: archive-cygwin AT delorie DOT com
X-Spam-Check-By: sourceware.org
Date: Fri, 19 Dec 2008 10:40:38 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Rationale for line-ending recommendation?
Message-ID: <20081219154038.GA4467@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <877i5wlwc3 DOT fsf AT mcbain DOT luannocracy DOT com> <494BA2DB DOT 5000101 AT byu DOT net>
MIME-Version: 1.0
In-Reply-To: <494BA2DB.5000101@byu.net>
User-Agent: Mutt/1.5.16 (2007-06-09)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com

On Fri, Dec 19, 2008 at 06:34:19AM -0700, Eric Blake wrote:
>According to David Abrahams on 12/18/2008 7:42 PM:
>>Can anyone explain why the installer began recommending using *nix line
>>ending conventions?
>
>Because Unix line endings work out of the box with more programs, and
>because it is faster, and because it gets a lot more testing.  And
>mainly because doing it globally is wrong - text mode mounts are useful
>for a subset of directories, but not all directories.  In fact, the 1.7
>setup.exe removes that option altogether, so that you have to
>explicitly select text mode for the directories where it will be useful
>to you by changing your /etc/fstab.
>
>>DOS-compatible endings have always "just worked" for me and I've heard
>>of lots of problems doing it the now-recommended way.
>
>Usually it's the other way around - people have problems when using
>CR-LF line endings with applications that expect LF line endings; it is
>that case where mounting that particular directory as text mode helps
>things out.  Using a binary mount instead of a text mount means that
>you don't create problematic files in the first place.

And, strangely enough, some of the problems were even mentioned by
someone who apparently likes CRLF line endings.

This came up on IRC in the same way too.

"I don't see why they don't use CRLF line endings."

"Me too!  It makes no sense!"

"I know!  They only seem to affect XYZ."

"I know!  And ABC too."

"You're right!  And apparently QWERTY doesn't work either."

"Exactly!  So it's a mystery why they don't just make it the default.
I never have any problems."

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


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