delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2011/12/31/18:31:34

X-Recipient: archive-cygwin AT delorie DOT com
X-SWARE-Spam-Status: No, hits=-1.9 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_NONE
X-Spam-Check-By: sourceware.org
X-Mail-Handler: MailHop Outbound by DynDNS
X-Report-Abuse-To: abuse AT dyndns DOT com (see http://www.dyndns.com/services/mailhop/outbound_abuse.html for abuse reporting information)
X-MHO-User: U2FsdGVkX18eYfxs/Hj91rzeZ0dE/cjM
Date: Sat, 31 Dec 2011 18:31:09 -0500
From: Christopher Faylor <cgf-use-the-mailinglist-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Fwd: CRLF
Message-ID: <20111231233109.GA3446@ednor.casa.cgf.cx>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <jdmp00$dso$1 AT dough DOT gmane DOT org> <jdna2f$cqu$1 AT dough DOT gmane DOT org> <CAGHJv4cccBsX3=Mw3CykKXbyqZctONt0hUf6mUO_52RxsGXW=g AT mail DOT gmail DOT com> <CAGHJv4e2=c6Vm6Lu0W78rR1zVx7w1N_Ajs5Py+nfDnX1oRiCdg AT mail DOT gmail DOT com> <Pine DOT BSM DOT 4 DOT 64L DOT 1112311952120 DOT 14351 AT herc DOT mirbsd DOT org> <CAGHJv4fgtM+QCFnrGb0pD-FT5A3R0hwOV8uF+4C_xEmtr_+dzQ AT mail DOT gmail DOT com> <jdo0dg$7p2$1 AT dough DOT gmane DOT org>
MIME-Version: 1.0
In-Reply-To: <jdo0dg$7p2$1@dough.gmane.org>
User-Agent: Mutt/1.5.20 (2009-06-14)
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Unsubscribe: <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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

On Sat, Dec 31, 2011 at 01:55:58PM -0800, Andrew DeFaria wrote:
>On 12/31/11 13:32, Chris Sutcliffe wrote:
>> Below please find the response from Thorsten (the mksh developer)
>> regarding CRLF.
>I must say, then why bother with this offbeat mksh? His answers are 
>unconvincing ("I keep everything the same no matter what! Even if it's 
>better to do it differently"). If you just want a ksh Cygwin's got one. 

mksh is "Cygwin's ksh".

I can't really blame someone for not wanting to hack their code to handle
CRLF, especially knowing the ugliness (i.e., lseek()) that needs to go
on in the Cygwin DLL to handle this.  I wish, in retrospect, I hadn't
been talked into having "text mode" there in the first place.

I'm entiredly convinced that it isn't worth the time to retrofit
support for CRLF into something that doesn't already support it given
the existence of easy methods to convert CRLF -> LF.  And, maybe
I'm missing something but it seems like Thorsten even provided an
interesting workaround so it doesn't seem like he's being even a tiny
bit unreasonable.

cgf

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019