X-Recipient: archive-cygwin AT delorie DOT com X-SWARE-Spam-Status: No, hits=-2.4 required=5.0 tests=AWL,BAYES_00,DKIM_ADSP_CUSTOM_MED,FREEMAIL_FROM,NML_ADSP_CUSTOM_MED,RP_MATCHES_RCVD,SPF_HELO_PASS,TW_CG X-Spam-Check-By: sourceware.org To: cygwin AT cygwin DOT com From: Franz Fehringer Subject: Re: Fwd: CRLF Date: Sun, 01 Jan 2012 09:45:11 +0100 Lines: 36 Message-ID: References: <20111231233109 DOT GA3446 AT ednor DOT casa DOT cgf DOT cx> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:9.0) Gecko/20111222 Thunderbird/9.0.1 In-Reply-To: <20111231233109.GA3446@ednor.casa.cgf.cx> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: 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 Hi Christopher, What is this "interesting workaround"? Most probably we will use bash with "set -o igncr" btw. Best regards Franz Am 01.01.2012 00:31, schrieb Christopher Faylor: > 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