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: Dwayne Rightler
Subject: Re: [Nano-devel] DOS/Mac text conversion
Date: Fri, 1 Oct 2004 10:34:48 -0500 (CDT)
User-agent: SquirrelMail/1.4.2

I looked at the source for 1.2.4 and a patch to make it work that way
would be easy to write.  I'm not saying it would be accepted into the main
tree, but you could always use it on your own machine. :)

-Dwayne

Bill Soudan said:
> 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
>
>
> _______________________________________________
> Nano-devel mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/nano-devel
>





reply via email to

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