public inbox for cygwin@cygwin.com
 help / color / mirror / Atom feed
From: Dean Scarff <D_Scarff@telstra.com>
To: "Hannu E K Nevalainen (garbage mail)"
	<garbage_collector@telia.com>,
	cygwin@cygwin.com
Subject: Re: CRLF to LF Issue
Date: Tue, 08 Jul 2003 14:12:00 -0000	[thread overview]
Message-ID: <6ef126f6a0.6f6a06ef12@bigpond.com> (raw)



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/

             reply	other threads:[~2003-07-08 13:36 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-07-08 14:12 Dean Scarff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2003-06-30 16:05 Richard Bland
2003-07-02 16:50 ` Hannu E K Nevalainen (garbage mail)
2003-06-27 13:03 Richard Bland
2003-06-26 20:09 John Vincent
2003-06-26 16:42 Richard Bland
2003-06-26 12:29 Richard Bland
2003-06-26 16:21 ` Igor Pechtchanski
2003-06-30 13:31 ` Corinna Vinschen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=6ef126f6a0.6f6a06ef12@bigpond.com \
    --to=d_scarff@telstra.com \
    --cc=cygwin@cygwin.com \
    --cc=garbage_collector@telia.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).