delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/22/10:05:59

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
Date: Mon, 22 Jul 2002 16:03:36 +0200
From: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Reply-To: "Gerrit P. Haase" <freeweb AT nyckelpiga DOT de>
Organization: Esse keine toten Tiere
X-Priority: 3 (Normal)
Message-ID: <81876324317.20020722160336@familiehaase.de>
To: Greg Matheson <lang AT ms DOT chinmin DOT edu DOT tw>
CC: cygwin AT cygwin DOT com
Subject: Re: perl & \n (was: perl-5.8.0 breaks code "working" on 5.6.1 over "\n"
In-Reply-To: <20020722150604.A85877@ms.chinmin.edu.tw>
References: <20020722150604 DOT A85877 AT ms DOT chinmin DOT edu DOT tw>
MIME-Version: 1.0

Greg schrieb:

> This is a followup to my email about differences between the way
> perl-5.8.0 and perl-5.6.1 handle \n. This is a cygwin problem
> but also one about portable code.

Just a few little questions:

[...]

> In any case, with the aim being to write portable code that also
> works on cygwin whether you are using 5.6.1 or 5.8.0, what do we
> suggest to developers? I don't think you want to force a binary
> file mail message format on cygwin users, because this would mean
> you couldn't use Windows applications.

notepad is the only application on earth that cannot handle \n as a
linefeed as every other editor does.  Which other applications did I
missed to hate?

> I also don't think developers are keen on sprinkling binmode all
> through their IO routines either, especially when it won't help
> solve Win32 problems.

I assume you have not set PERLIO env variable?

Have you also tried your experiments with:
1. PERLIO=perlio
2. PERLIO=stdio
3. PERLIO=

Would be interesting to see if it makes a difference.


Gerrit
-- 
=^..^=


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