From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 30733 invoked by alias); 8 Jul 2003 13:36:55 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 30724 invoked from network); 8 Jul 2003 13:36:54 -0000 Received: from unknown (HELO mailout2.bigpond.com) (139.134.6.19) by sources.redhat.com with SMTP; 8 Jul 2003 13:36:54 -0000 Received: from bigpond.com ([192.168.115.90]) by mailout2.bigpond.com (Netscape Messaging Server 4.15) with ESMTP id HHPKHK01.J7W; Tue, 8 Jul 2003 23:36:56 +1000 From: Dean Scarff To: "Hannu E K Nevalainen (garbage mail)" , cygwin@cygwin.com Message-ID: <6ef126f6a0.6f6a06ef12@bigpond.com> Date: Tue, 08 Jul 2003 14:12:00 -0000 MIME-Version: 1.0 Content-Language: en Subject: Re: CRLF to LF Issue X-Accept-Language: en Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: 7bit X-SW-Source: 2003-07/txt/msg00435.txt.bz2 On July 3 at 2003 0:49, "Hannu E K Nevalainen (garbage mail)" wrote: > > FYI... :-} > > I've been in this situation since 1985 or so... (Amiga user since > then.AmigaOS uses LF EOL. Also been using MS "OS'es" since before > '85). > "My way" has been: > 1) Keep each OS clean of files not having the default line ending > 2) Make sure to always CONVERT files _at the very moment_ they're > transferred > Im sure that must be convenient ;) > Sidenote: > There is several ways to accomplish "2)" on the Amiga: > a) Enable CrossDOS (AmigaDOS file system for vfat) internal > conversion b) dos2unix-like utilities > c) Use an editor that manages files undependent of EOL style Bingo. If you're using Cygwin you've got access to vim, emacs, nano, all of which support variations to the line terminator. Richard mentioned before that "The source code is designed to ONLY be used in MS-Windows, so I'm not interested in porting between Unix/MS- Windows." There's plenty of good editors (especially the ones intended for development) for windows that can handle LF as EOL. ConTEXT is quite nice if you go for 'free'/shareware. I use LF for all my sources, whether they're unix or not. As (I think?) you say, internal CRLF'ing and vice versa is just going to have problems where internal conversion doesn't behave as the user expects (read: cant read the user's mind). Cheers, Dean Scarff -- 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/