Эх сурвалжийг харах

Provide vi to vim man page symlinks for all languages. Closes #1811.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@7656 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Dan Nichilson 19 жил өмнө
parent
commit
cd2f7f0340

+ 11 - 0
chapter01/changelog.xml

@@ -35,6 +35,17 @@
       </itemizedlist>
     </listitem>
 -->
+    <listitem>
+      <para>July 12, 20006</para>
+      <itemizedlist>
+        <listitem>
+          <para>[dnicholson] - Added commands to create the vi to vim
+          man page symlink in all available languages. Closes ticket
+          #1811. Thanks to Alexander Patrakov.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
     <listitem>
       <para>July 11, 2006</para>
       <itemizedlist>

+ 5 - 2
chapter06/vim.xml

@@ -113,10 +113,13 @@ rm -f /usr/share/vim/vim70/tutor/tutor.??.*</userinput></screen>
     <para>Many users are used to using <command>vi</command> instead of
     <command>vim</command>. To allow execution of <command>vim</command>
     when users habitually enter <command>vi</command>, create a
-    symlink for both the binary and the man-page:</para>
+    symlink for both the binary and the man page in the provided
+    languages:</para>
 
 <screen><userinput>ln -sv vim /usr/bin/vi
-ln -sv vim.1 /usr/share/man/man1/vi.1</userinput></screen>
+for L in "" fr it pl ru; do
+    ln -sv vim.1 /usr/share/man/$L/man1/vi.1
+done</userinput></screen>
 
     <para>By default, Vim's documentation is installed in <filename
     class="directory">/usr/share/vim</filename>. The following symlink

+ 2 - 2
general.ent

@@ -1,6 +1,6 @@
 <?xml version="1.0" encoding="ISO-8859-1"?>
-<!ENTITY version "SVN-20060711">
-<!ENTITY releasedate "July 11, 2006">
+<!ENTITY version "SVN-20060712">
+<!ENTITY releasedate "July 12, 2006">
 <!ENTITY milestone "6.2">
 <!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->