| www.delorie.com/archives/browse.cgi | search |
| 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: | Sat, 31 May 2003 09:13:01 -0500 |
| Message-Id: | <200305311413.h4VED13o025979@tigris.pounder.sol.net> |
| X-Authentication-Warning: | tigris.pounder.sol.net: rodmant set sender to nicebounce AT trodman DOT com using -f |
| To: | cygwin AT cygwin DOT com |
| From: | nicebounce AT trodman DOT com (Tom Rodman) |
| X-note: | 1G0!G/usr/sbin/sendmail -v -t -fnicebounce AT trodman DOT com # for less traceable mail |
| References: | <001601c324fc$16d4f700$6500a8c0 AT ufo> |
| <002901c32504$947701f0$78d96f83 AT pomello> | |
| Mime-Version: | 1.0 |
| Subject: | Re: Should PERLIO=no_crlf be the default on Cygwin? |
| In-reply-to: | Your message of "Fri, 30 May 2003 17:19:48 +0200." |
| <68785452711 DOT 20030530171948 AT familiehaase DOT de> |
--------
Gerrit:
Your plan to make PERLIO=no_crlf a default sounded great,
but:
bash-2.05b$ uname -r;perl -v|grep 'This is'
1.3.22(0.78/3/2)
This is perl, v5.8.0 built for cygwin-multi-64int
bash-2.05b$ printf "\r\n\n"|PERLIO=no_crlf perl -pe '1;'|od -a
0000000 cr nl cr nl
0000004
What am I missing, it's still broke. PERLIO=raw works fine
though..
bash-2.05b$ printf "\r\n\n"|PERLIO=stdio perl -pe '1;'|od -a
0000000 cr nl nl
0000003
bash-2.05b$ printf "\r\n\n"|PERLIO=raw perl -pe '1;'|od -a
0000000 cr nl nl
0000003
thanks much/regards,
--
Tom Rodman
pls run for my address:
perl -e 'print unpack("u", "\.\=\$\!T\<F\]D\;6\%N\+F\-O\;0H\`");'
On Fri 5/30/03 17:19 +0200 "Gerrit P. Haase" wrote:
>Hallo Max,
>
<snipped>
>> 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;)
>
>Comments?
>
>I'll upload an updated release soon if there are no objections.
>
>
>Gerrit
>--
>=^..^=
<snipped>
--
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/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |