aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/vim.xml
diff options
context:
space:
mode:
authorManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-18 21:11:00 +0000
committerManuel Canales Esparcia <manuel@linuxfromscratch.org>2007-09-18 21:11:00 +0000
commit0445a3d50660d84f11d095db0177078f4f5cd8a0 (patch)
tree0a498ecf0a0714891f5c4576bc508558268283a8 /chapter06/vim.xml
parenta7a02386b4c83ed74790c1918c80f1fffc3af472 (diff)
Added remap attributes to userinput tags in packages pages.
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@8389 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/vim.xml')
-rw-r--r--chapter06/vim.xml27
1 files changed, 15 insertions, 12 deletions
diff --git a/chapter06/vim.xml b/chapter06/vim.xml
index 22b9523cf..a1f4d32fd 100644
--- a/chapter06/vim.xml
+++ b/chapter06/vim.xml
@@ -58,7 +58,7 @@
the upstream maintainers since the inital release of Vim-&vim-version;:
</para>
-<screen><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
<para>This version of Vim installs translated man pages and places
them into directories that will not be searched by Man-DB. Patch Vim
@@ -66,17 +66,17 @@
ultimately allows Man-DB to transcode the page into the desired format
at run-time:</para>
-<screen><userinput>patch -Np1 -i ../&vim-mandir-patch;</userinput></screen>
+<screen><userinput remap="pre">patch -Np1 -i ../&vim-mandir-patch;</userinput></screen>
<para>Finally, change the default location of the
<filename>vimrc</filename> configuration file to <filename
class="directory">/etc</filename>:</para>
-<screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
+<screen><userinput remap="pre">echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h</userinput></screen>
<para>Now prepare Vim for compilation:</para>
-<screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
+<screen><userinput remap="configure">./configure --prefix=/usr --enable-multibyte</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
@@ -96,16 +96,19 @@
<para>Compile the package:</para>
-<screen><userinput>make</userinput></screen>
+<screen><userinput remap="make">make</userinput></screen>
- <para>To test the results, issue: <userinput>make test</userinput>. However,
- this test suite outputs a lot of binary data to the screen, which can cause
- issues with the settings of the current terminal. This can be resolved by
- redirecting the output to a log file.</para>
+ <para>To test the results, issue:</para>
+
+<screen><userinput remap="test">make test</userinput></screen>
+
+ <para>However, this test suite outputs a lot of binary data to the screen,
+ which can cause issues with the settings of the current terminal. This can
+ be resolved by redirecting the output to a log file.</para>
<para>Install the package:</para>
-<screen><userinput>make install</userinput></screen>
+<screen><userinput remap="install">make install</userinput></screen>
<para>Many users are used to using <command>vi</command> instead of
<command>vim</command>. To allow execution of <command>vim</command>
@@ -113,7 +116,7 @@
symlink for both the binary and the man page in the provided
languages:</para>
-<screen><userinput>ln -sv vim /usr/bin/vi
+<screen><userinput remap="install">ln -sv vim /usr/bin/vi
for L in "" fr it pl ru; do
ln -sv vim.1 /usr/share/man/$L/man1/vi.1
done</userinput></screen>
@@ -124,7 +127,7 @@ done</userinput></screen>
class="directory">/usr/share/doc/vim-&vim-version;</filename>, making
it consistent with the location of documentation for other packages:</para>
-<screen><userinput>ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
+<screen><userinput remap="install">ln -sv ../&vim-docdir;/doc /usr/share/doc/vim-&vim-version;</userinput></screen>
<para>If an X Window System is going to be installed on the LFS
system, it may be necessary to recompile Vim after installing X. Vim