Re: BLFS-12.3, ch. "Vim-9.1.1166": questionable statement in "Installation of Vim / Note"
| Newsgroups | gmane.linux.lfs.beyond.devel |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 2025-06-02 at 18:21 -0500, Bruce Dubbs wrote: > On 6/2/25 3:04 PM, Rainer Fiebig ([email protected] via blfs-dev Mailing List) wrote: > > The following statement in above mentioned Note is not quite correct, I > > think: > > > > "If you recompile Vim to link against X and your X libraries are not on > > the root partition, you will no longer have an editor for use in > > emergencies." > > > > Even if Vim cannot be used, there still would be *sed*, at least in an > > LFS/BLFS-system. And in an emergency sed might be enough to save your > > day - if you think of that possibility. So I think that sed should be > > mentioned in the Note, like in > > > > "...you will no longer have an editor other than sed for use in > > emergencies." > > > > Alternatively, "editor" should be defined more clearly. > > I need to update vim to sync with LFS anyway, so I'll clarify at that time. Technically we can also use awk -i inplace or patch (someone can manually write a patch if they know how it works and have some spare time) or bash or Python scripts etc. Or just another editor installed like Ed. And today BLFS uses a merged-usr scheme, thus it's highly likely X libraries are just in the root partition (unless a partition is mounted on /opt and XORG_PREFIX is /opt/X11). So maybe this should be just reworded to "you'll no longer be able to use Vim if the X libraries are broken or inaccessible." -- Xi Ruoyao <[email protected]> School of Aerospace Science and Technology, Xidian University -- http://lists.linuxfromscratch.org/sympa/info/blfs-dev Unsubscribe: See the above information page