[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Help-nano] Dos/ Mac/ Unix text files: Save after Edit
From: |
Chris Allegretta |
Subject: |
Re: [Help-nano] Dos/ Mac/ Unix text files: Save after Edit |
Date: |
Thu, 27 Mar 2008 12:11:22 -0400 |
User-agent: |
Mutt/1.5.17+20080114 (2008-01-14) |
Hello Fergus,
I think this is a philosophical issue. Generally text editors only
convert file format enough to allow you to edit a file. Im not sure
it's the editor's job to change the file format on the end user, at
least without being told explicitly to do so. If you are saying you use
nano as your dos conversion utility, you can still save an originally
DOS-formatted file in unix format by toggling DOS format off before
saving, using Meta-D at the save prompt.
Alternatively if you're using the Win32 version of nano and it's not
properly loading or saving files, please let me know as that would
definiely be a bug.
On Mon, Mar 24, 2008 at 05:16:14PM +0000, Fergus wrote:
> I cannot make sense of the underlying logic for Save As (Dos-terminated
> or Mac-terminated or Unix-terminated) after editing text
> files using versions of nano after v.1.3.4 up to and including the
> current v.2.0.7 and test v.2.1.0.
>
> In version 1.3.4 the default is to save files Unix-terminated,
> irrespective of their format before editing. If required the switch -D
> will force save files Dos-terminated, the switch -M will force save
> files Mac-terminated and the switch -N will force save files in the
> original format.
>
> This seems -- and is -- so good: consistent and well thought out.
>
> Thereafter in more modern versions including those currently on offer
> (i) this behaviour is compromised in that what is offered is less
> versatile and (ii) there is a switch
>
> -N (--noconvert)
> Disable automatic conversion of files from DOS/Mac format
>
> which seems irrelevant/ illogical -- or plain wrong --because in these
> versions automatic conversion is already disabled. There seems, in fact,
> no way to save a file Unix-terminated unless it starts off that way.
>
> I am sticking with v.1.3.4 in order to achieve the excellent behaviours
> described here, but I guess I must be missing out on the other
> advantages and modifications attaching to later versions. Would it be
> possible by some means to request the developers to revert to the
> excellent behaviours of v.1.3.4 in versions presented after 2.1.0? (I
> have tried writing to address@hidden but so far without achieving
> a response. I must be expressing myself badly: sorry! I hope this
> communication is clearer.)
>
> Best wishes and thank you,
>
> Fergus
>
>
>
>
> _______________________________________________
> Help-nano mailing list
> address@hidden
> http://lists.gnu.org/mailman/listinfo/help-nano
Chris A
--
Chris Allegretta http://www.asty.org
v4sw7CUPYhw5ln6pr5Pck4ma7u7Lw0m6g/l7DUi5e6t5Ab6THen7g6Ma29s5r3p-4 hackerkey.com
signature.asc
Description: Digital signature