Re: LESS for reading, and VI for editing, but not working anymore
On Fri, 01 Jul 2005 15:10:12 +0200
Sebastian Haglund <bosen@home.se> wrote:
> On Fri, 2005-07-01 at 14:43 +0200, Benedek Frank wrote:
> > Here are all my variables, generated by "env". I dont see those in
> > there, but VI still wont load from less.
> > ....
>
> I found this old entry in the Debian changelog for less:
>
> ------ >% --------------------
> less (332-2) unstable; urgency=low
>
> * Quote the arguments to lesspipe so that it can handle filenames
> with
> special characters such as '#'. Suggestion from Richard Braakman.
> Thanks, Richard! (Bug #11859)
> * Recompile with libc6. (Bug #11695)
> * Use update-alternatives to register less(1) as /usr/bin/pager at
> level
> 77. (Bug #12474)
> * Told less(1) to use /usr/bin/editor if the envar EDITOR isn't set.
> Changed defines.h.in to not redefine EDIT_PGM and removed checking
> the
> VISUAL envar for the program to use.
> * Register bug on less since it should depend on -something-
> installing
> /usr/bin/editor but nothing I've seen does yet.
>
> -- Darren Stalder <torin@daft.com> Tue, 23 Sep 1997 01:23:28 -0700
>
> ------ %< --------------------
>
>
> It uses /usr/bin/editor when EDITOR is not set.
> You can change it by running update-alternatives --config editor
That explains it why it happened. Yes, when I ran this command it showed
MC' edit as default. I reset it, and now it is beautiful Thanks.
Ben
>
> /Sebastian
>
>
>
>
> --
> To UNSUBSCRIBE, email to debian-laptop-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
>
>
>
Reply to: