delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2001/07/17/15:03:42

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
Message-ID: <3B548B79.50C9C09E@etr-usa.com>
Date: Tue, 17 Jul 2001 13:01:13 -0600
From: Warren Young <warren AT etr-usa DOT com>
Organization: -ENOENT
X-Mailer: Mozilla 4.77 [en] (Windows NT 5.0; U)
X-Accept-Language: en
MIME-Version: 1.0
To: Cygwin-L <cygwin AT cygwin DOT com>
Subject: Re: What does Dos mode vs unix mode mean when you install cygwin
References: <EF45EA07AEA2D2118E920008C7B14102066B2B88 AT mvex02 DOT mv DOT intuit DOT com>

"Castle, Eric" wrote:
> 
> just how cygwin, including processing files in perl, uses either \r\n or \n
> for line termination?

Yes, and how text files are created, by default.

> I don't recall the old installer program (called full.exe) ask that question
> back on B18.

It's a fairly new feature.

> Any recomendation on which type to use? I've been choosing "dos" but not
> sure what that is really doing vs choosing unix.

I've had perl scripts copied over from the Linux box break because I was
using chop() to get rid of line endings instead of chomp().  If you tell
Cygwin to expect Unix line endings, that problem doesn't occur, but
then, maybe you have a lot of DOS text files already.  If I try to use
Cygwin on my Visual C++ source files, for example, I need to be using
DOS text mode.

That's why you're given a choice -- one answer isn't right for everyone.

Hmmm, an *ix lover at Intuit...so when's Quicken for Linux coming out? 
:)
-- 
= Warren -- ICBM Address: 36.8274040 N, 108.0204086 W, alt. 1714m

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.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