[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Nano-devel] Re: [Info-nano] Nano Feature Request?
From: |
Eitan Adler |
Subject: |
Re: [Nano-devel] Re: [Info-nano] Nano Feature Request? |
Date: |
Mon, 27 Jul 2009 20:48:14 +0000 |
User-agent: |
Mozilla (X11; U; FreeBSD i386; en-US; ) Gecko Thunderbird Mnenhy/0.7.6.666 |
Adam Wysocki via ArcaBit wrote:
> On Tue, 12 May 2009, Damien Joldersma wrote:
>
>> I would like to have nano, my favorite editor :), to help me handle my
>> permission problems. As in, if I open a file that I can't edit - can there
>> be some sort of visual cue letting me know that I can't write out the file
>> or possibly not even let me either change just read/view or (extreme) not
>> even open the file without prompting an "are you sure want to continue
>> editing? you won't be able to save" or possibly even a nifty way to
>> temporarily gain privleges via a sudo save or something, anything, just so
>> long as I don't loose my trivial edits! :D
>
> Hello,
>
> I decided to investigate it a bit more and made a small patch (attached)
> that will set the view mode if at least one file can't be written to. It
> can be suppressed with (also added) option -y (or --noview).
Can it be set for only that file?
Re: [Nano-devel] Re: [Info-nano] Nano Feature Request?,
Eitan Adler <=