[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#155376: what is default editor in /bin



In article <[🔎] 20020804172842.GA9613@zionlth.org>,
Phillip Hofmeister  <plhofmei@zionlth.org> wrote:
>On Sun, 04 Aug 2002 at 10:10:17AM -0700, Craig Dickson wrote:
>> Is there any reason that nvi could not be moved to /bin and made
>> eligible for "root default editor" status? The nvi package Depends only
>> on libc6 and libncurses5, both of which live in /lib. Sure, nvi's binary
>> is nearly ten times the size of nano-tiny, but if I can still mount my
>> root partition, I'd rather use nvi than nano.
>I second that...a vast population of Unix Users and Admins use vi or a vi
>clone (like nvi).  When I started work at an ISP the first thing my boss
>told me was "learn how to use vi".

As has been mentioned in the various 'editor in /bin' threads
a couple of times before, we already have elvis-tiny for that
task. And it is tiny:

% ll /bin/elvis-tiny 
-rwxr-xr-x    1 root     root        67436 Jan 23  2002 /bin/elvis-tiny*

It comes with a /bin/vi wrapper that executes /usr/bin/vi if
it is present, and /bin/elvis-tiny otherwise.

The wrapper is small as well (it is a C program, not a script):

% ll /bin/vi
-rwxr-xr-x    1 root     root         3660 Jan 23  2002 /bin/vi*

Mike.



Reply to: