aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim-inst.xml
diff options
context:
space:
mode:
authorSimon Perreault <nomis80@videotron.ca>2001-04-20 17:26:14 +0000
committerSimon Perreault <nomis80@videotron.ca>2001-04-20 17:26:14 +0000
commita8e5938ec5d4cebccb22f338d0ee86d5c137090c (patch)
tree46ef7c6f61abb5c9dc37a81051939eb1b0968350 /chapter06/vim-inst.xml
parent094f9e11fbb5109009443e2a26b2aaf850c6fafe (diff)
FHS compliance notes
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@536 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim-inst.xml')
-rw-r--r--chapter06/vim-inst.xml21
1 files changed, 21 insertions, 0 deletions
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.
</sect2>
+<sect2>
+<title>FHS compliance notes</title>
+
+<para>
+The FHS says that editors like vim should use /var/lib/&lt;editor&gt; 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:
+</para>
+
+<blockquote><literallayout>
+ <userinput>./configure --prefix=/usr --localstatedir=/var/lib/vim &amp;&amp;</userinput>
+ <userinput>make &amp;&amp;</userinput>
+ <userinput>make install &amp;&amp;</userinput>
+ <userinput>cd /usr/bin &amp;&amp;</userinput>
+ <userinput>ln -s vim vi &amp;&amp;</userinput>
+ <userinput>mkdir /var/lib/vim</userinput>
+</literallayout></blockquote>
+
+</sect2>
+