In an emergency mode, basic vi knowledge, like basic stream editing, is
pretty much required.  Take any major distribution and many only ship
busybox in various emergency modes.  And busybox is pretty much only sed
and vi.**

That's why most recovery tools look for VISUAL, and if it cannot be found,
call 'vi' and, if that is not found, 'busybox vi'.  Spend any time on
GitHub on these various projects and you'll find lots of
tickets/remediations addressing tools written by developers who expect nano
or something else to be available, when it's not.

- bjs

**P.S.  In a few cases that busybox is not built with vi (to save space),
among other things, ViM or the full version is included in the emergency
mode, possibly another editor or two -- hence why it is removed from
busybox, as the full version exists.  E.g., Fedora and RHEL emergency modes
in more recent years.

On Mon, Jul 29, 2019 at 6:57 PM Alessandro Selli <[email protected]>
wrote:

> On 30/07/19 at 00:02, Simone Piccardi wrote:
> > Il 29/07/19 22:52, Alessandro Selli ha scritto:
> >>
> >> LPI is the reference certification for many BSD people, too, and maybe
> >> also of what are left of Solaris sysadmins, and backw^W faithful to the
> >> old ways like they are vi is of paramount importance to them.  Maybe
> >> also most AIX people would go for LPI for a widely known and appreciated
> >> Unix certification.
> >>
> >
> > I don't think the underline kernel or basic utilities make all that
> > differences on the role of using a specific editor to modify
> > configurations files, so I still don't see any reason for this
> > "paramount importance" also for Solaris or BSD.
>
>
>   Their systems by default come with vi and, IIRC, many BSDs only vi.
>
>   Fpsense cannot have anything else than vi, for instance.
>
>
> > Also in those systems is still far more important to know more about
> > text filters than about the syntax of a specific editor.
>
>
>   I never questioned that.  I argued against vi's removal.
>
>
> >> Plus, mostly for historical reasons, vi must be available on any Unix
> >> system and in fact AFAIK it is, even in distros that install nano by
> >> default.  People better be aware of it.  Junior sysadmins often have to
> >> put their hands on system other sysadmins, may be gray-bearded and bald
> >> ones, have setup up to their likes. On these systems the VISUAL variable
> >> might be set to vi, and VISUAL overrides EDITOR, as you well know!  ;-)
> >>
> >
> > This is a reason to add the VISUAL variable to the list of the used
> > terms and concentrate on the setup for choosing a preferred editor,
> > not a reason to require an higher vi proficiency.
>
>
>   I never argued in favour of a "higher vi proficiency".  In fact I
> wrote I find the current content of vi excessive.
>
>
>   Bye,
>
>
> --
> Alessandro Selli <[email protected]>
> VOIP SIP: [email protected]
> Chiave firma e cifratura PGP/GPG signing and encoding key:
>   BA651E4050DDFC31E17384BABCE7BD1A1B0DF2AE
>
>
> _______________________________________________
> lpi-examdev mailing list
> [email protected]
> https://list.lpi.org/mailman/listinfo/lpi-examdev
_______________________________________________
lpi-examdev mailing list
[email protected]
https://list.lpi.org/mailman/listinfo/lpi-examdev

Reply via email to