From cd2f7f0340a0ecf15ed8ba99c1e71dcd25cfec0a Mon Sep 17 00:00:00 2001 From: Dan Nichilson Date: Wed, 12 Jul 2006 00:32:00 +0000 Subject: [PATCH] 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 --- chapter01/changelog.xml | 11 +++++++++++ chapter06/vim.xml | 7 +++++-- general.ent | 4 ++-- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/chapter01/changelog.xml b/chapter01/changelog.xml index 163754648..e3e4dabab 100644 --- a/chapter01/changelog.xml +++ b/chapter01/changelog.xml @@ -35,6 +35,17 @@ --> + + July 12, 20006 + + + [dnicholson] - Added commands to create the vi to vim + man page symlink in all available languages. Closes ticket + #1811. Thanks to Alexander Patrakov. + + + + July 11, 2006 diff --git a/chapter06/vim.xml b/chapter06/vim.xml index 245f421d5..4d67ad037 100644 --- a/chapter06/vim.xml +++ b/chapter06/vim.xml @@ -113,10 +113,13 @@ rm -f /usr/share/vim/vim70/tutor/tutor.??.* Many users are used to using vi instead of vim. To allow execution of vim when users habitually enter vi, create a - symlink for both the binary and the man-page: + symlink for both the binary and the man page in the provided + languages: ln -sv vim /usr/bin/vi -ln -sv vim.1 /usr/share/man/man1/vi.1 +for L in "" fr it pl ru; do + ln -sv vim.1 /usr/share/man/$L/man1/vi.1 +done By default, Vim's documentation is installed in /usr/share/vim. The following symlink diff --git a/general.ent b/general.ent index 4f1235be6..c4a092129 100644 --- a/general.ent +++ b/general.ent @@ -1,6 +1,6 @@ - - + +