source: postlfs/editors/vim.xml@ 5af003c5

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 5af003c5 was 9084c2eb, checked in by Manuel Canales Esparcia <manuel@…>, 19 years ago

Typo fix. Postlfs.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@5383 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 7.6 KB
RevLine 
[b5951ec]1<?xml version="1.0" encoding="ISO-8859-1"?>
[ff769b8c]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
[b5951ec]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY vim-download-http "http://ftp.at.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
8 <!ENTITY vim-download-ftp "ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
[d4afab2]9 <!ENTITY vim-md5sum "821fda8f14d674346b87e3ef9cb96389">
[9efc5d6]10 <!ENTITY vim-size "3.7 MB">
11 <!ENTITY vim-buildsize "48 MB">
[b5951ec]12 <!ENTITY vim-time "0.59 SBU">
13]>
14
[28badf4]15<sect1 id="vim" xreflabel="Vim-&vim-version;">
[0ec75653]16 <?dbhtml filename="vim.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
[e19ad480]21 <keywordset>
22 <keyword role="package">vim-&vim-version;.tar</keyword>
[9084c2eb]23 <keyword role="ftpdir">vim</keyword>
[e19ad480]24 </keywordset>
[0ec75653]25 </sect1info>
26
27 <title>Vim-&vim-version;</title>
28
29 <indexterm zone="vim">
30 <primary sortas="a-Vim">Vim</primary>
31 </indexterm>
32
33 <sect2 role="package">
34 <title>Introduction to Vim</title>
35
36 <para>The <application>Vim</application> package, which is an
37 abbreviation for VI IMproved, contains a <command>vi</command>
38 clone with extra features as compared to the original
39 <command>vi</command>.</para>
40
41 <para>The default LFS instructions install <application>vim</application>
[3aa07d1]42 as a part of the base system. If you would prefer to link
43 <application>vim</application> against <application>X</application>,
44 you should recompile <application>vim</application> to enable GUI mode.
45 There is no need for special instructions since
[0ec75653]46 <application>X</application> support is automatically detected.</para>
47
48 <bridgehead renderas="sect3">Package Information</bridgehead>
49 <itemizedlist spacing="compact">
50 <listitem>
51 <para>Download (HTTP): <ulink url="&vim-download-http;"/></para>
52 </listitem>
53 <listitem>
54 <para>Download (FTP): <ulink url="&vim-download-ftp;"/></para>
55 </listitem>
56 <listitem>
57 <para>Download MD5 sum: &vim-md5sum;</para>
58 </listitem>
59 <listitem>
60 <para>Download size: &vim-size;</para>
61 </listitem>
62 <listitem>
63 <para>Estimated disk space required: &vim-buildsize;</para>
64 </listitem>
65 <listitem>
66 <para>Estimated build time: &vim-time;</para>
67 </listitem>
68 </itemizedlist>
69
70 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
71 <itemizedlist spacing='compact'>
72 <listitem>
[3aa07d1]73 <para>Required patch: <ulink
[0cfcc19]74 url="&patch-root;/vim-&vim-version;-security_fix-2.patch"/></para>
[0ec75653]75 </listitem>
76 <listitem>
[3aa07d1]77 <para>Translated Vim messages: <ulink
[0ec75653]78 url="http://ftp.at.vim.org/pub/vim/extra/vim-&vim-version;-lang.tar.gz"/>
79 </para>
80 </listitem>
81 </itemizedlist>
82
[3493b1f]83 <bridgehead renderas="sect3">Vim Dependencies</bridgehead>
[0ec75653]84
85 <bridgehead renderas="sect4">Recommended</bridgehead>
[e19ad480]86 <para role="recommended">X (<xref linkend="xfree86"/> or
87 <xref linkend="xorg"/>)</para>
[0ec75653]88
89 <bridgehead renderas="sect4">Optional</bridgehead>
[e19ad480]90 <para role="optional"><xref linkend="gtk2"/>,
[3aa07d1]91 <xref linkend="lesstif"/>,
92 <xref linkend="python"/>,
93 <xref linkend="tcl"/>,
[d612b9f]94 <xref linkend="ruby"/>
[0ec75653]95 and <xref linkend="gpm"/></para>
96
97 </sect2>
98
99 <sect2 role="installation">
100 <title>Installation of Vim</title>
101
102 <note>
[3aa07d1]103 <para>If you recompile <application>Vim</application> to link against
[d612b9f]104 <application>X</application>, and your <application>X</application>
[823b1a3]105 libraries are not on the root partition, you will no longer have an editor
[3aa07d1]106 for use in emergencies. You may choose to install an additional editor,
107 not link <application>Vim</application> against
[d612b9f]108 <application>X</application>, or move the current <command>vim</command>
[3aa07d1]109 executable to the <filename class="directory">/bin</filename> directory
[0ec75653]110 under a different name such as <filename>vi</filename>.</para>
111 </note>
112
113 <para>If desired, unpack the translated messages archive:</para>
114
[8ba8ab5]115<screen><userinput>tar -xf ../vim-&vim-version;-lang.tar.gz --strip-components=1</userinput></screen>
[d612b9f]116
[0ec75653]117 <para>Install <application>Vim</application> by running the following
118 commands:</para>
[b5951ec]119
[0ec75653]120<screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h &amp;&amp;
[b5951ec]121echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
[0cfcc19]122patch -Np1 -i ../vim-&vim-version;-security_fix-2.patch &amp;&amp;
[8e8356d]123./configure --prefix=/usr --with-features=huge &amp;&amp;
[0ec75653]124make</userinput></screen>
125
126 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
127
128<screen role="root"><userinput>make install</userinput></screen>
129
130 </sect2>
131
132 <sect2 role="commands">
133 <title>Command Explanations</title>
134
[3aa07d1]135 <para><parameter>--with-features=huge</parameter>: This switch enables all
[0ec75653]136 the additional features available in <application>Vim</application>.</para>
137
[3aa07d1]138 <para><option>--enable-gui=no</option>: If you prefer not to link
[0ec75653]139 <application>Vim</application> against <application>X</application>, use
140 this switch.</para>
141
142 </sect2>
143
144 <sect2 role="content">
145 <title>Contents</title>
146
[3aa07d1]147 <para>A list of the reinstalled files, along with their short
148 descriptions can be found at <ulink
[0ec75653]149 url="&lfs-root;/chapter06/vim.html#contents-vim"/>.</para>
150
151 <segmentedlist>
152 <segtitle>Installed Programs</segtitle>
153 <segtitle>Installed Libraries</segtitle>
154 <segtitle>Installed Directory</segtitle>
155
156 <seglistitem>
157 <seg>gview, gvim, gvimdiff, rgview, and rgvim</seg>
158 <seg>None</seg>
159 <seg>/usr/share/vim</seg>
160 </seglistitem>
161 </segmentedlist>
162
163 <variablelist>
164 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
165 <?dbfo list-presentation="list"?>
166 <?dbhtml list-presentation="table"?>
167
168 <varlistentry id="gview">
169 <term><command>gview</command></term>
170 <listitem>
171 <para>starts <command>gvim</command> in read-only mode.</para>
172 <indexterm zone="vim gview">
173 <primary sortas="b-gview">gview</primary>
174 </indexterm>
175 </listitem>
176 </varlistentry>
177
178 <varlistentry id="gvim">
179 <term><command>gvim</command></term>
180 <listitem>
[d612b9f]181 <para>is the editor that runs under <application>X</application>
[13679edb]182 and includes a GUI.</para>
[0ec75653]183 <indexterm zone="vim gvim">
184 <primary sortas="b-gvim">gvim</primary>
185 </indexterm>
186 </listitem>
187 </varlistentry>
188
189 <varlistentry id="gvimdiff">
190 <term><command>gvimdiff</command></term>
191 <listitem>
192 <para>edits two or three versions of a file with
[13679edb]193 <command>gvim</command> and shows the differences.</para>
[0ec75653]194 <indexterm zone="vim gvimdiff">
195 <primary sortas="b-gvimdiff">gvimdiff</primary>
196 </indexterm>
197 </listitem>
198 </varlistentry>
199
200 <varlistentry id="rgview">
201 <term><command>rgview</command></term>
202 <listitem>
203 <para>is a restricted version of <command>gview</command>.</para>
204 <indexterm zone="vim rgview">
205 <primary sortas="b-rgview">rgview</primary>
206 </indexterm>
207 </listitem>
208 </varlistentry>
209
210 <varlistentry id="rgvim">
211 <term><command>rgvim</command></term>
212 <listitem>
213 <para>is a restricted version of <command>gvim</command>. </para>
214 <indexterm zone="vim gvim">
215 <primary sortas="b-gvim">gvim</primary>
216 </indexterm>
217 </listitem>
218 </varlistentry>
219
220 </variablelist>
221
222 </sect2>
[f45b1953]223
224</sect1>
Note: See TracBrowser for help on using the repository browser.