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 10:55:47 -0400

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




reply via email to

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