delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2003/05/30/12:08:03

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/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
Message-ID: <007101c326c2$c1f8e110$78d96f83@pomello>
From: "Max Bowsher" <maxb AT ukf DOT net>
To: "Gerrit P. Haase" <gp AT familiehaase DOT de>
Cc: <cygwin AT cygwin DOT com>
References: <001601c324fc$16d4f700$6500a8c0 AT ufo> <002901c32504$947701f0$78d96f83 AT pomello> <68785452711 DOT 20030530171948 AT familiehaase DOT de>
Subject: Re: Should PERLIO=no_crlf be the default on Cygwin?
Date: Fri, 30 May 2003 16:47:21 +0100
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165
X-Cam-ScannerAdmin: mail-scanner-support AT ucs DOT cam DOT ac DOT uk
X-Cam-AntiVirus: Not scanned
X-Cam-SpamDetails:

Gerrit P. Haase wrote:
> Hallo Max,
>
>>>> Since Cygwin runs on Windows and Windows is a DOS system the PERLIO
>>>> layer crlf is default.
>
>> Ugh. Some of use Cygwin to *escape* Windows!
>
>> Is there any way to tell perlio "just let the system (i.e. cygwin) handle
>> things"?
>> That would be a nice default.
>
> I need to patch the sources to do this, but it is no major problem,
> I'm already testing with the patched version and it seems to be the
> best solution to make no_crlf the default for Cygwin, it is also no
> problem then to pull it in everytime it is needed with PERLIO=crlf.
>
> This will save me a lot of trouble responding to the questions why
> Perl writes CRLF by default and that it breaks scripts.  I guess to
> support the other five guys who want Perl to actually write CRLF's
> will be easier;)

I know very little about perlio, but wouldn't defaulting to stdio cause Perl
to obey Cygwin mount modes?


Max.


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