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:02:24 -0500 (CDT)
User-agent: SquirrelMail/1.4.2

I don't know what shell you use, but for bash you could always do
something like:

alias nano-dos='nano -D'

That would solve your problem as long as you could remember to use the
nano-dos command instead of nano when editing win32 text files.

-Dwayne


Bill Soudan said:
>
> On Thu, 2004-09-30 at 23:03, Rocco Corsi wrote:
>> Using the "--noconvert" can be configured in the ~/.nanorc configuration
>> file.  See "man nanorc"
>>
>> (e.g. set noconvert)
>>
>> This appears to be available in version 1.2.3, so it shouldn't be a
>> problem for you.  Not 100% sure where the file should be in Cygwin, I
>> assume you are using Cygwin.
>
> I did try noconvert.  It didn't do what I (and I guess everyone else)
> expected -- it seems to mean 'don't even convert the file from DOS
> format to UNIX format before I load it into the buffer, so now there's
> carriage returns at the end of each line'.
>
> An example:
>
> $ unix2dos someFile.txt
> $ nano --noconvert someFile.txt
>
> (buffer reads)
> aoeu^M
> aoeu^M
> aoeu^M
> aoeu^M
> ^M
>
> I'm using Fedora Core 2.  Maybe the bug here then is noconvert is
> broken?
>
> 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]