Author: robert
Date: 2006-08-27 11:56:03 -0600 (Sun, 27 Aug 2006)
New Revision: 753
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter04/packages.xml
trunk/BOOK/chapter04/patches.xml
trunk/BOOK/chapter06/vim.xml
trunk/BOOK/packages.ent
trunk/BOOK/patches.ent
Log:
Updated Vim page from LFS-svn, add Vim fixes and spellfile patches. Bump to
Vim-7.0.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2006-08-27 17:12:25 UTC (rev 752)
+++ trunk/BOOK/chapter01/changelog.xml 2006-08-27 17:56:03 UTC (rev 753)
@@ -92,7 +92,7 @@
<listitem condition="uclibc"><para>uclibc-20060819</para></listitem>
<listitem><para>udev-081</para></listitem>
<listitem><para>util-linux-2.12z</para></listitem>
-<listitem><para>vim-6.4</para></listitem>
+<listitem><para>vim-7.0</para></listitem>
<listitem><para>xorg-6.8.2</para></listitem>
<listitem><para>zlib-1.2.3</para></listitem>
</itemizedlist>
@@ -110,6 +110,9 @@
</listitem>
-->
+<listitem><para>August 27th, 2006 [Robert]: Updated Vim page from LFS-svn, add
+Vim fixes and spellfile patches. Bump to Vim-7.0. Added Vim hardened_tmp
patch</para></listitem>
+
<listitem><para>August 27th, 2006 [Robert]: Update Readline page from LFS-svn,
and
added Readline fixes patch.</para></listitem>
Modified: trunk/BOOK/chapter04/packages.xml
===================================================================
--- trunk/BOOK/chapter04/packages.xml 2006-08-27 17:12:25 UTC (rev 752)
+++ trunk/BOOK/chapter04/packages.xml 2006-08-27 17:56:03 UTC (rev 753)
@@ -618,7 +618,7 @@
</varlistentry>
<varlistentry>
- <term>Vim (&vim-version;) - 3,656 KB:</term>
+ <term>Vim (&vim-version;) - 6,430 KB:</term>
<listitem>
<para>Home page: <ulink url="http://www.vim.org"/></para>
<para>Download: <ulink
Modified: trunk/BOOK/chapter04/patches.xml
===================================================================
--- trunk/BOOK/chapter04/patches.xml 2006-08-27 17:12:25 UTC (rev 752)
+++ trunk/BOOK/chapter04/patches.xml 2006-08-27 17:56:03 UTC (rev 753)
@@ -412,6 +412,30 @@
</listitem>
</varlistentry>
+ <varlistentry>
+ <term>Vim Fixes Patch - &vim-fixes-patch-size;:</term>
+ <listitem>
+ <para>Download: <ulink url="&patches-root;&vim-fixes-patch;"/></para>
+ <para>MD5 sum: <literal>&vim-fixes-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>Vim Hardened Tmp Patch - &vim-hardened_tmp-patch-size;:</term>
+ <listitem>
+ <para>Download: <ulink
url="&patches-root;&vim-hardened_tmp-patch;"/></para>
+ <para>MD5 sum: <literal>&vim-hardened_tmp-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry>
+ <term>Vim Spellfile Patch - &vim-spellfile-patch-size;:</term>
+ <listitem>
+ <para>Download: <ulink
url="&patches-root;&vim-spellfile-patch;"/></para>
+ <para>MD5 sum: <literal>&vim-spellfile-patch-md5;</literal></para>
+ </listitem>
+ </varlistentry>
+
</variablelist>
<para>In addition to the above required patches, there exist a number of
Modified: trunk/BOOK/chapter06/vim.xml
===================================================================
--- trunk/BOOK/chapter06/vim.xml 2006-08-27 17:12:25 UTC (rev 752)
+++ trunk/BOOK/chapter06/vim.xml 2006-08-27 17:56:03 UTC (rev 753)
@@ -1,98 +1,161 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
-<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
+ "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../general.ent">
%general-entities;
]>
+
<sect1 id="ch-system-vim" role="wrap">
-<title>Vim-&vim-version;</title>
-<?dbhtml filename="vim.html"?>
+ <?dbhtml filename="vim.html"?>
-<indexterm zone="ch-system-vim"><primary
sortas="a-Vim">Vim</primary></indexterm>
+ <title>Vim-&vim-version;</title>
-<sect2 role="package"><title/>
-<para>The Vim package contains a powerful text editor.</para>
+ <indexterm zone="ch-system-vim">
+ <primary sortas="a-Vim">Vim</primary>
+ </indexterm>
-<segmentedlist>
-<segtitle>&buildtime;</segtitle>
-<segtitle>&diskspace;</segtitle>
-<seglistitem><seg>??SBU</seg><seg>?? MB</seg></seglistitem>
-</segmentedlist>
+ <sect2 role="package">
+ <title/>
-<segmentedlist>
-<segtitle>&dependencies;</segtitle>
-<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
-GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
-</segmentedlist>
+ <para>The Vim package contains a powerful text editor.</para>
-<tip>
-<title>Alternatives to Vim</title>
-<para>If you prefer another editor—such as Emacs, Joe, or
-Nano—please refer to <ulink
url="&blfs-root;view/svn/postlfs/editors.html"/>
-for suggested installation instructions.</para>
-</tip>
-</sect2>
+ <segmentedlist>
+ <segtitle>&buildtime;</segtitle>
+ <segtitle>&diskspace;</segtitle>
-<sect2 role="installation">
-<title>Installation of Vim</title>
+ <seglistitem>
+ <seg>?? SBU</seg>
+ <seg>?? MB</seg>
+ </seglistitem>
+ </segmentedlist>
-<para>Change the default locations of the <filename>vimrc</filename>
configuration file
-to <filename class="directory">/etc</filename>:</para>
+ <tip>
+ <title>Alternatives to Vim</title>
+ <para>If you prefer another editor—such as Emacs, Joe, or
+ Nano—please refer to <ulink
+ url="&blfs-root;view/svn/postlfs/editors.html"/> for suggested
+ installation instructions.</para>
+ </tip>
+
+ </sect2>
+
+ <sect2 role="installation">
+ <title>Installation of Vim</title>
+
+ <para>Patch Vim with several fixes from upstream developers since
+ the initial release of Vim-&vim-version;:</para>
+
+<screen><userinput>patch -Np1 -i ../&vim-fixes-patch;</userinput></screen>
+
+ <para>There is an issue introduced by one of the upstream patches that
+ creates a problem downloading spellfiles via HTTP. Until this is updated
+ by the developers, the following patch fixes the problem:</para>
+
+<screen><userinput>patch -Np1 -i ../&vim-spellfile-patch;</userinput></screen>
+
+ <para role="hardened_tmp">This patch modifies Vim to create temporary files
+ in a paranoid way:</para>
+
+<screen role="hardened_tmp"><userinput>patch -Np1 -i
../&vim-hardened_tmp-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"' >>
src/feature.h</userinput></screen>
-<para>Now prepare Vim for compilation:</para>
+ <para>Now prepare Vim for compilation:</para>
<screen><userinput>./configure --prefix=/usr
--enable-multibyte</userinput></screen>
-<para>The optional but highly recommended
-<parameter>--enable-multibyte</parameter> switch includes support for
-editing files in multibyte character encodings into
-<command>vim</command>. This is needed if using a locale with
-a multibyte character set. This switch is also helpful to be able to
-edit text files initially created in Linux distributions like Fedora
-Core that use UTF-8 as a default character set.</para>
+ <variablelist>
+ <title>The meaning of the configure options:</title>
-<para>Compile the package:</para>
+ <varlistentry>
+ <term><parameter>--enable-multibyte</parameter></term>
+ <listitem>
+ <para>This switch enables support for editing files in multibyte
+ character encodings. This is needed if using a locale with a
+ multibyte character set. This switch is also helpful to be able
+ to edit text files initially created in Linux distributions like
+ Fedora Core that use UTF-8 as a default character set.</para>
+ </listitem>
+ </varlistentry>
+ </variablelist>
+
+ <para>Compile the package:</para>
+
<screen><userinput>make</userinput></screen>
-<para>Vim's test suite is difficult to use, so don't run it for now.</para>
+ <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>Install the package, and install docs to /usr/share/doc instead of the
default
-/usr/share/vim:</para>
+ <para>Install the package:</para>
-<screen><userinput>make HELPSUBLOC=/usr/share/doc/vim-6.4
install</userinput></screen>
+<screen><userinput>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>
-when users habitually enter <command>vi</command>, create a
-symlink:</para>
+ <para>In UTF-8 locales, the <command>vimtutor</command> program tries to
+ convert the tutorials from ISO-8859-1 to UTF-8. Since some tutorials are
+ not in ISO-8859-1, the text in them is thus made unreadable. If you
+ unpacked the <filename>vim-&vim-version;-lang.tar.gz</filename> archive
+ and are going to use a UTF-8 based locale, remove non-ISO-8859-1 tutorials.
+ An English tutorial will be used instead.</para>
+ <!-- Removal is used instead of conversion in order for the user to be
able to
+ painlessly revert his UTF-8 locale choice. -->
-<screen><userinput>ln -s vim /usr/bin/vi</userinput></screen>
+<screen><userinput>rm -f /usr/share/vim/vim70/tutor/tutor.{gr,pl,ru,sk}
+rm -f /usr/share/vim/vim70/tutor/tutor.??.*</userinput></screen>
-<para>If the X Window System is going to be installed on the HLFS
-system, it may be necessary to recompile Vim after installing X. Vim
-comes with a GUI version of the editor that requires X and some
-additional libraries to be installed. For more information on this
-process, refer to the Vim documentation and the Vim installation page
-in the BLFS book at <ulink
-url="&blfs-root;view/svn/postlfs/editors.html#postlfs-editors-vim"/>.</para>
+ <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 in the provided
+ languages:</para>
-</sect2>
+<screen><userinput>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>
-<sect2 id="conf-vim" role="configuration"><title>Configuring Vim</title>
-<indexterm zone="conf-vim"><primary
sortas="e-/etc/vim">/etc/vim</primary></indexterm>
+ <para>By default, Vim's documentation is installed in <filename
+ class="directory">/usr/share/vim</filename>. The following symlink
+ allows the documentation to be accessed via <filename
+ class="directory">/usr/share/doc/vim-&vim-version;</filename>, making
+ it consistent with the location of documentation for other packages:</para>
-<para>By default, <command>vim</command> runs in vi-incompatible mode.
-This may be new to users who have used other editors in the past. The
-<quote>nocompatible</quote> setting is included below to highlight the
-fact that a new behavior is being used. It also reminds those who
-would change to <quote>compatible</quote> mode that it should appear
-first. This is necessary because it changes other settings, and
-overrides must come after this setting. Create a default
<command>vim</command>
-configuration file by running the following:</para>
+<screen><userinput>ln -vs ../vim/vim70/doc
/usr/share/doc/vim-&vim-version;</userinput></screen>
-<screen><userinput>cat > vimrc.new << "EOF"
+ <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
+ comes with a GUI version of the editor that requires X and some
+ additional libraries to be installed. For more information on this
+ process, refer to the Vim documentation and the Vim installation page
+ in the BLFS book at <ulink
+
url="&blfs-root;view/svn/postlfs/editors.html#postlfs-editors-vim"/>.</para>
+
+ </sect2>
+
+ <sect2 id="conf-vim" role="configuration">
+ <title>Configuring Vim</title>
+
+ <indexterm zone="conf-vim">
+ <primary sortas="e-/etc/vimrc">/etc/vimrc</primary>
+ </indexterm>
+
+ <para>By default, <command>vim</command> runs in vi-incompatible mode.
+ This may be new to users who have used other editors in the past. The
+ <quote>nocompatible</quote> setting is included below to highlight the
+ fact that a new behavior is being used. It also reminds those who would
+ change to <quote>compatible</quote> mode that it should be the first
+ setting in the configuration file. This is necessary because it changes
+ other settings, and overrides must come after this setting. Create a
default
+ <command>vim</command> configuration file by running the following:</para>
+
+<screen><userinput>cat > /etc/vimrc << "EOF"
<literal>" Begin /etc/vimrc
set nocompatible
@@ -103,219 +166,292 @@
endif
" End /etc/vimrc</literal>
-EOF
-install -m644 vimrc.new /etc/vimrc</userinput></screen>
+EOF</userinput></screen>
-<para>The <parameter>set nocompatible</parameter> makes
-<command>vim</command> behave in a more useful way (the default) than
-the vi-compatible manner. Remove the <quote>no</quote> to keep the
-old <command>vi</command> behavior. The <parameter>set
-backspace=2</parameter> allows backspacing over line breaks,
-autoindents, and the start of insert. The <parameter>syntax
-on</parameter> enables vim's syntax highlighting. Finally, the
-<emphasis>if</emphasis> statement with the <parameter>set
-background=dark</parameter> corrects <command>vim</command>'s guess
-about the background color of some terminal emulators. This gives the
-highlighting a better color scheme for use on the black background of
-these programs.</para>
+ <para>The <parameter>set nocompatible</parameter> setting makes
+ <command>vim</command> behave in a more useful way (the default) than
+ the vi-compatible manner. Remove the <quote>no</quote> to keep the
+ old <command>vi</command> behavior. The <parameter>set
+ backspace=2</parameter> setting allows backspacing over line breaks,
+ autoindents, and the start of insert. The <parameter>syntax
+ on</parameter> parameter enables vim's syntax highlighting. Finally,
+ the <emphasis>if</emphasis> statement with the <parameter>set
+ background=dark</parameter> setting corrects <command>vim</command>'s
+ guess about the background color of some terminal emulators. This
+ gives the highlighting a better color scheme for use on the black
+ background of these programs.</para>
-<para>Documentation for other available options can be obtained by
-running the following command:</para>
+ <para>Documentation for other available options can be obtained by
+ running the following command:</para>
<screen role="nodump"><userinput>vim -c ':options'</userinput></screen>
-</sect2>
+ <note>
+ <para>By default, Vim only installs spell files for the English language.
+ To install spell files for your preferred language, download the
+ <filename>*.spl</filename> and optionally, the <filename>*.sug</filename>
+ files for your language and character encoding from <ulink
+ url="ftp://ftp.vim.org/pub/vim/runtime/spell/"/> and save them to
+ <filename
class='directory'>/usr/share/vim/vim70/spell/</filename>.</para>
-<sect2 id="contents-vim" role="content"><title>Contents of Vim</title>
+ <para>To use these spell files, some configuration in
+ <filename>/etc/vimrc</filename> is needed, e.g.:</para>
-<segmentedlist>
-<segtitle>Installed programs</segtitle>
-<seglistitem><seg>efm_filter.pl, efm_perl.pl, ex (link to vim), less.sh,
mve.awk,
-pltags.pl, ref, rview (link to vim), rvim (link to vim), shtags.pl, tcltags,
vi (link to vim),
-view (link to vim), vim, vim132, vim2html.pl, vimdiff (link to vim), vimm,
vimspell.sh,
-vimtutor, and xxd</seg></seglistitem>
-</segmentedlist>
+<screen><literal>set spelllang=en,ru
+set spell</literal></screen>
-<variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
-<?dbfo list-presentation="list"?>
-<?dbhtml list-presentation="table"?>
+ <para>For more information, see the appropriate README file located
+ at the URL above.</para>
+ </note>
-<varlistentry id="efm_filter.pl">
-<term><command>efm_filter.pl</command></term>
-<listitem>
-<para>A filter for creating an error file that can be read by
<command>vim</command></para>
-<indexterm zone="ch-system-vim efm_filter.pl"><primary
sortas="b-efm_filter.pl">efm_filter.pl</primary></indexterm>
-</listitem>
-</varlistentry>
+ </sect2>
-<varlistentry id="efm_perl.pl">
-<term><command>efm_perl.pl</command></term>
-<listitem>
-<para>Reformats the error messages of the
-Perl interpreter for use with the <quote>quickfix</quote> mode of
<command>vim</command></para>
-<indexterm zone="ch-system-vim efm_perl.pl"><primary
sortas="b-efm_perl.pl">efm_perl.pl</primary></indexterm>
-</listitem>
-</varlistentry>
+ <sect2 id="contents-vim" role="content">
+ <title>Contents of Vim</title>
-<varlistentry id="ex">
-<term><command>ex</command></term>
-<listitem>
-<para>Starts <command>vim</command> in ex mode</para>
-<indexterm zone="ch-system-vim ex"><primary
sortas="b-ex">ex</primary></indexterm>
-</listitem>
-</varlistentry>
+ <segmentedlist>
+ <segtitle>Installed programs</segtitle>
-<varlistentry id="less.sh">
-<term><command>less.sh</command></term>
-<listitem>
-<para>A script that starts <command>vim</command> with less.vim</para>
-<indexterm zone="ch-system-vim less.sh"><primary
sortas="b-less.sh">less.sh</primary></indexterm>
-</listitem>
-</varlistentry>
+ <seglistitem>
+ <seg>efm_filter.pl, efm_perl.pl, ex (link to vim), less.sh, mve.awk,
+ pltags.pl, ref, rview (link to vim), rvim (link to vim), shtags.pl,
+ tcltags, vi (link to vim), view (link to vim), vim, vim132,
vim2html.pl,
+ vimdiff (link to vim), vimm, vimspell.sh, vimtutor, and xxd</seg>
+ </seglistitem>
+ </segmentedlist>
-<varlistentry id="mve.awk">
-<term><command>mve.awk</command></term>
-<listitem>
-<para>Processes <command>vim</command> errors</para>
-<indexterm zone="ch-system-vim mve.awk"><primary
sortas="b-mve.awk">mve.awk</primary></indexterm>
-</listitem>
-</varlistentry>
+ <variablelist>
+ <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+ <?dbfo list-presentation="list"?>
+ <?dbhtml list-presentation="table"?>
-<varlistentry id="pltags.pl">
-<term><command>pltags.pl</command></term>
-<listitem>
-<para>Creates a tags file for Perl code for use by
<command>vim</command></para>
-<indexterm zone="ch-system-vim pltags.pl"><primary
sortas="b-pltags.pl">pltags.pl</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="efm_filter.pl">
+ <term><command>efm_filter.pl</command></term>
+ <listitem>
+ <para>A filter for creating an error file that can be read
+ by <command>vim</command></para>
+ <indexterm zone="ch-system-vim efm_filter.pl">
+ <primary sortas="b-efm_filter.pl">efm_filter.pl</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="ref">
-<term><command>ref</command></term>
-<listitem>
-<para>Checks the spelling of arguments</para>
-<indexterm zone="ch-system-vim ref"><primary
sortas="b-ref">ref</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="efm_perl.pl">
+ <term><command>efm_perl.pl</command></term>
+ <listitem>
+ <para>Reformats the error messages of the Perl interpreter for use
+ with the <quote>quickfix</quote> mode of
<command>vim</command></para>
+ <indexterm zone="ch-system-vim efm_perl.pl">
+ <primary sortas="b-efm_perl.pl">efm_perl.pl</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="rview">
-<term><command>rview</command></term>
-<listitem>
-<para>Is a restricted version of <command>view</command>; no shell
-commands can be started and <command>view</command> cannot be suspended</para>
-<indexterm zone="ch-system-vim rview"><primary
sortas="b-rview">rview</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="ex">
+ <term><command>ex</command></term>
+ <listitem>
+ <para>Starts <command>vim</command> in ex mode</para>
+ <indexterm zone="ch-system-vim ex">
+ <primary sortas="b-ex">ex</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="rvim">
-<term><command>rvim</command></term>
-<listitem>
-<para>Is a restricted version of <command>vim</command>; no shell
-commands can be started and <command>vim</command> cannot be suspended</para>
-<indexterm zone="ch-system-vim rvim"><primary
sortas="b-rvim">rvim</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="less.sh">
+ <term><command>less.sh</command></term>
+ <listitem>
+ <para>A script that starts <command>vim</command> with
less.vim</para>
+ <indexterm zone="ch-system-vim less.sh">
+ <primary sortas="b-less.sh">less.sh</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="shtags.pl">
-<term><command>shtags.pl</command></term>
-<listitem>
-<para>Generates a tag file for Perl scripts</para>
-<indexterm zone="ch-system-vim shtags.pl"><primary
sortas="b-shtags.pl">shtags.pl</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="mve.awk">
+ <term><command>mve.awk</command></term>
+ <listitem>
+ <para>Processes <command>vim</command> errors</para>
+ <indexterm zone="ch-system-vim mve.awk">
+ <primary sortas="b-mve.awk">mve.awk</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="tcltags">
-<term><command>tcltags</command></term>
-<listitem>
-<para>Generates a tag file for TCL code</para>
-<indexterm zone="ch-system-vim tcltags"><primary
sortas="b-tcltags">tcltags</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="pltags.pl">
+ <term><command>pltags.pl</command></term>
+ <listitem>
+ <para>Creates a tags file for Perl code for use by
+ <command>vim</command></para>
+ <indexterm zone="ch-system-vim pltags.pl">
+ <primary sortas="b-pltags.pl">pltags.pl</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="view">
-<term><command>view</command></term>
-<listitem>
-<para>Starts <command>vim</command> in read-only mode</para>
-<indexterm zone="ch-system-vim view"><primary
sortas="b-view">view</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="ref">
+ <term><command>ref</command></term>
+ <listitem>
+ <para>Checks the spelling of arguments</para>
+ <indexterm zone="ch-system-vim ref">
+ <primary sortas="b-ref">ref</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vi">
-<term><command>vi</command></term>
-<listitem>
-<para>Is the editor</para>
-<indexterm zone="ch-system-vim vi"><primary
sortas="b-vi">vi</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="rview">
+ <term><command>rview</command></term>
+ <listitem>
+ <para>Is a restricted version of <command>view</command>; no shell
+ commands can be started and <command>view</command> cannot be
+ suspended</para>
+ <indexterm zone="ch-system-vim rview">
+ <primary sortas="b-rview">rview</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vim">
-<term><command>vim</command></term>
-<listitem>
-<para>Is the editor</para>
-<indexterm zone="ch-system-vim vim"><primary
sortas="b-vim">vim</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="rvim">
+ <term><command>rvim</command></term>
+ <listitem>
+ <para>Is a restricted version of <command>vim</command>; no shell
+ commands can be started and <command>vim</command> cannot be
+ suspended</para>
+ <indexterm zone="ch-system-vim rvim">
+ <primary sortas="b-rvim">rvim</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vim132">
-<term><command>vim132</command></term>
-<listitem>
-<para>Starts <command>vim</command> with the terminal in 132-column mode</para>
-<indexterm zone="ch-system-vim vim132"><primary
sortas="b-vim132">vim132</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="shtags.pl">
+ <term><command>shtags.pl</command></term>
+ <listitem>
+ <para>Generates a tags file for Perl scripts</para>
+ <indexterm zone="ch-system-vim shtags.pl">
+ <primary sortas="b-shtags.pl">shtags.pl</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vim2html.pl">
-<term><command>vim2html.pl</command></term>
-<listitem>
-<para>Converts Vim documentation to HypterText Markup Language (HTML)</para>
-<indexterm zone="ch-system-vim vim2html.pl"><primary
sortas="b-vim2html.pl">vim2html.pl</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="tcltags">
+ <term><command>tcltags</command></term>
+ <listitem>
+ <para>Generates a tags file for TCL code</para>
+ <indexterm zone="ch-system-vim tcltags">
+ <primary sortas="b-tcltags">tcltags</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vimdiff">
-<term><command>vimdiff</command></term>
-<listitem>
-<para>Edits two or three versions of a file with <command>vim</command> and
show differences</para>
-<indexterm zone="ch-system-vim vimdiff"><primary
sortas="b-vimdiff">vimdiff</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="view">
+ <term><command>view</command></term>
+ <listitem>
+ <para>Starts <command>vim</command> in read-only mode</para>
+ <indexterm zone="ch-system-vim view">
+ <primary sortas="b-view">view</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vimm">
-<term><command>vimm</command></term>
-<listitem>
-<para>Enables the DEC locator input model on a remote terminal</para>
-<indexterm zone="ch-system-vim vimm"><primary
sortas="b-vimm">vimm</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="vi">
+ <term><command>vi</command></term>
+ <listitem>
+ <para>Link to <command>vim</command></para>
+ <indexterm zone="ch-system-vim vi">
+ <primary sortas="b-vi">vi</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vimspell.sh">
-<term><command>vimspell.sh</command></term>
-<listitem>
-<para>Spells a file and generates the syntax statements necessary
-to highlight in <command>vim</command>. This script requires the old Unix
<command>spell</command>
-command, which is provided neither in LFS nor in BLFS</para>
-<indexterm zone="ch-system-vim vimspell.sh"><primary
sortas="b-vimspell.sh">vimspell.sh</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="vim">
+ <term><command>vim</command></term>
+ <listitem>
+ <para>Is the editor</para>
+ <indexterm zone="ch-system-vim vim">
+ <primary sortas="b-vim">vim</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="vimtutor">
-<term><command>vimtutor</command></term>
-<listitem>
-<para>Teaches the basic keys and commands of <command>vim</command></para>
-<indexterm zone="ch-system-vim vimtutor"><primary
sortas="b-vimtutor">vimtutor</primary></indexterm>
-</listitem>
-</varlistentry>
+ <varlistentry id="vim132">
+ <term><command>vim132</command></term>
+ <listitem>
+ <para>Starts <command>vim</command> with the terminal in 132-column
+ mode</para>
+ <indexterm zone="ch-system-vim vim132">
+ <primary sortas="b-vim132">vim132</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-<varlistentry id="xxd">
-<term><command>xxd</command></term>
-<listitem>
-<para>Creates a hex dump of the given file; it can
-also do the reverse, so it can be used for binary patching</para>
-<indexterm zone="ch-system-vim xxd"><primary
sortas="b-xxd">xxd</primary></indexterm>
-</listitem>
-</varlistentry>
-</variablelist>
+ <varlistentry id="vim2html.pl">
+ <term><command>vim2html.pl</command></term>
+ <listitem>
+ <para>Converts Vim documentation to HypterText Markup Language
+ (HTML)</para>
+ <indexterm zone="ch-system-vim vim2html.pl">
+ <primary sortas="b-vim2html.pl">vim2html.pl</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
-</sect2>
+ <varlistentry id="vimdiff">
+ <term><command>vimdiff</command></term>
+ <listitem>
+ <para>Edits two or three versions of a file with
<command>vim</command>
+ and show differences</para>
+ <indexterm zone="ch-system-vim vimdiff">
+ <primary sortas="b-vimdiff">vimdiff</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+ <varlistentry id="vimm">
+ <term><command>vimm</command></term>
+ <listitem>
+ <para>Enables the DEC locator input model on a remote terminal</para>
+ <indexterm zone="ch-system-vim vimm">
+ <primary sortas="b-vimm">vimm</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="vimspell.sh">
+ <term><command>vimspell.sh</command></term>
+ <listitem>
+ <para>Spell checks a file and generates the syntax statements
+ necessary to highlight in <command>vim</command>. This script
+ requires the old Unix <command>spell</command> command, which
+ is provided neither in LFS nor in BLFS</para>
+ <indexterm zone="ch-system-vim vimspell.sh">
+ <primary sortas="b-vimspell.sh">vimspell.sh</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="vimtutor">
+ <term><command>vimtutor</command></term>
+ <listitem>
+ <para>Teaches the basic keys and commands of
+ <command>vim</command></para>
+ <indexterm zone="ch-system-vim vimtutor">
+ <primary sortas="b-vimtutor">vimtutor</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ <varlistentry id="xxd">
+ <term><command>xxd</command></term>
+ <listitem>
+ <para>Creates a hex dump of the given file; it can
+ also do the reverse, so it can be used for binary patching</para>
+ <indexterm zone="ch-system-vim xxd">
+ <primary sortas="b-xxd">xxd</primary>
+ </indexterm>
+ </listitem>
+ </varlistentry>
+
+ </variablelist>
+
+ </sect2>
+
</sect1>
-
Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent 2006-08-27 17:12:25 UTC (rev 752)
+++ trunk/BOOK/packages.ent 2006-08-27 17:56:03 UTC (rev 753)
@@ -177,8 +177,8 @@
<!ENTITY util-linux-version "2.12r">
<!ENTITY util-linux-md5 "af9d9e03038481fbf79ea3ac33f116f9">
-<!ENTITY vim-version "6.4">
-<!ENTITY vim-md5 "774c14d93ce58674b3b2c880edd12d77">
+<!ENTITY vim-version "7.0">
+<!ENTITY vim-md5 "4ca69757678272f718b1041c810d82d8">
<!ENTITY zlib-version "1.2.3">
<!ENTITY zlib-md5 "debc62758716a169df9f62e6ab2bc634">
Modified: trunk/BOOK/patches.ent
===================================================================
--- trunk/BOOK/patches.ent 2006-08-27 17:12:25 UTC (rev 752)
+++ trunk/BOOK/patches.ent 2006-08-27 17:56:03 UTC (rev 753)
@@ -197,3 +197,15 @@
<!ENTITY util-linux-PIC-patch "util-linux-&util-linux-version;-PIC-1.patch">
<!ENTITY util-linux-PIC-patch-md5 "c85469f9da411b1c64c2b7fe71565d66">
<!ENTITY util-linux-PIC-patch-size "2 KB">
+
+<!ENTITY vim-fixes-patch "vim-&vim-version;-fixes-9.patch">
+<!ENTITY vim-fixes-patch-md5 "1a9cdbb7411c1820f9bf3c485b5fbb17">
+<!ENTITY vim-fixes-patch-size "64 KB">
+
+<!ENTITY vim-hardened_tmp-patch "vim-&vim-version;-hardened_tmp-1.patch">
+<!ENTITY vim-hardened_tmp-patch-md5 "25b8c7efcd4984d7a25e9545a4eb256c">
+<!ENTITY vim-hardened_tmp-patch-size "4 KB">
+
+<!ENTITY vim-spellfile-patch "vim-&vim-version;-spellfile-1.patch">
+<!ENTITY vim-spellfile-patch-md5 "98e59e34cb6e16a8d4671247cebd64ee">
+<!ENTITY vim-spellfile-patch-size "1.2 KB">
--
http://linuxfromscratch.org/mailman/listinfo/hlfs-book
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page