[suggest] Re: nvi 1.79
Mikel Ward
mikel at mikelward.com
Thu Jan 10 08:42:31 CET 2008
Hi Christoph
The RPM just sets up the proper symlinks in /etc/alternatives in case
the user decides to use alternatives. It doesn't touch /bin/vi.
For that to happen, you'd need to run something like:
# mv /bin/vi /bin/vim
# alternatives --install /etc/alternatives/vi vi /bin/vim 100 \
--slave /etc/alternatives/vi.1.gz vi.1.gz /usr/share/man/man1/vi.1.gz
# ln -s /etc/alternatives/vi /bin/vi
# alternatives --set vi /bin/nvi
In any case, vi will only ever be invoked by the user, and the behavior
of nvi versus vim-minimal is quite similar, so it won't break anything
(compared to changing /bin/sh to zsh for example). Debian already
have /bin/vi as an alternative.
Note that this nvi package doesn't rely on any files under /usr, so I
could install nvi and nview in /bin and give the user nvi for use in a
recovery situation where /usr is unavailable.
More information about the suggest
mailing list