Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com X-AuthUser: gerrit:koeln.convey.de Date: Fri, 30 May 2003 20:04:30 +0200 From: "Gerrit P. Haase" Organization: Esse keine toten Tiere X-Priority: 3 (Normal) Message-ID: <82795334190.20030530200430@familiehaase.de> To: "Max Bowsher" CC: cygwin AT cygwin DOT com Subject: Re: Should PERLIO=no_crlf be the default on Cygwin? In-Reply-To: <007101c326c2$c1f8e110$78d96f83@pomello> References: <001601c324fc$16d4f700$6500a8c0 AT ufo> <002901c32504$947701f0$78d96f83 AT pomello> <68785452711 DOT 20030530171948 AT familiehaase DOT de> <007101c326c2$c1f8e110$78d96f83 AT pomello> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Hallo Max, Am Freitag, 30. Mai 2003 um 17:47 schriebst du: > 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? I would prefer to have it like it is on Unix, read and write back what you get, never do any conversion, why should I do a LF -> CRLF conversion for someone who lives on a text mount? Why should I do the conversion backwards? If someone on a binmode mount want to have his CRLF's, why should a tool change this (besides the d2u or u2d tools) if not explicitly forced to do so (export PERLIO=crlf). Gerrit -- =^..^= -- 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/