nano-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Nano-devel] DOS/Mac text conversion


From: Bill Soudan
Subject: Re: [Nano-devel] DOS/Mac text conversion
Date: Fri, 01 Oct 2004 11:38:46 -0400

On Fri, 2004-10-01 at 11:24, Mike Frysinger wrote:

> that's what it's supposed to do
> 
> if the file is DOS, read/save it as DOS and dont convert it to UNIX ...

That's fine, then I guess it's not broken, though I can say personally
I'll never use the option -- why would I want to see ^M at the end of
each line?  And why would I want to manually enter carriage returns (is
this even possible in nano?) at the end of each new line I add?

> i guess what you're looking for is to be read any format and always save it 
> as 
> DOS format ... in that case, what Dwayne suggested with alias's would 
> probably be best

I'm looking for the ability to edit any text file without nano changing
the format on me, and without having to worry about what kind it is. 
This is how the standard vi and emacs editors work.

So this means

1) if dos, convert to unix before reading it into nano, and when saving,
write back out in dos format
2) if mac, convert to unix before reading it into nano, and when saving,
write back out in dos format.

Bill




reply via email to

[Prev in Thread] Current Thread [Next in Thread]