From a8e5938ec5d4cebccb22f338d0ee86d5c137090c Mon Sep 17 00:00:00 2001 From: Simon Perreault Date: Fri, 20 Apr 2001 17:26:14 +0000 Subject: FHS compliance notes git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@536 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689 --- chapter06/vim-inst.xml | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'chapter06') diff --git a/chapter06/vim-inst.xml b/chapter06/vim-inst.xml index 955aac2da..74ddfd688 100644 --- a/chapter06/vim-inst.xml +++ b/chapter06/vim-inst.xml @@ -35,3 +35,24 @@ documentation. + +FHS compliance notes + + +The FHS says that editors like vim should use /var/lib/<editor> for their +temporary state files, like temporary save files for example. If you wish vim to +conform to the FHS, you should use this command set instead of the one presented +above: + + +
+ ./configure --prefix=/usr --localstatedir=/var/lib/vim && + make && + make install && + cd /usr/bin && + ln -s vim vi && + mkdir /var/lib/vim +
+ +
+ -- cgit v1.2.3-54-g00ecf