source: postlfs/editors/vim.xml@ 0aeb696

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 0aeb696 was 0aeb696, checked in by Randy McMurchy <randy@…>, 18 years ago

Added a comment to each file that may need a mention of a test suite added to it, this allows closing of bug #1697

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

  • Property mode set to 100644
File size: 9.0 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Inserted as a reminder to do this. The mention of a test suite
8 is usually right before the root user installation commands. Please
9 delete these 12 (including one blank) lines after you are done.-->
10
11 <!-- Use one of the two mentions below about a test suite,
12 delete the line that is not applicable. Of course, if the
13 test suite uses syntax other than "make check", revise the
14 line to reflect the actual syntax to run the test suite -->
15
16 <!-- <para>This package does not come with a test suite.</para> -->
17 <!-- <para>To test the results, issue: <command>make check</command>.</para> -->
18
19 <!ENTITY vim-download-http "http://ftp.at.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
20 <!ENTITY vim-download-ftp "ftp://ftp.vim.org/pub/vim/unix/vim-&vim-version;.tar.bz2">
21 <!ENTITY vim-md5sum "774c14d93ce58674b3b2c880edd12d77">
22 <!ENTITY vim-size "3.6 MB">
23 <!ENTITY vim-buildsize "41 MB">
24 <!ENTITY vim-time "0.6 SBU">
25]>
26
27<sect1 id="vim" xreflabel="Vim-&vim-version;">
28 <?dbhtml filename="vim.html"?>
29
30 <sect1info>
31 <othername>$LastChangedBy$</othername>
32 <date>$Date$</date>
33 <keywordset>
34 <keyword role="package">vim-&vim-version;.tar</keyword>
35 <keyword role="ftpdir">vim</keyword>
36 </keywordset>
37 </sect1info>
38
39 <title>Vim-&vim-version;</title>
40
41 <indexterm zone="vim">
42 <primary sortas="a-Vim">Vim</primary>
43 </indexterm>
44
45 <sect2 role="package">
46 <title>Introduction to Vim</title>
47
48 <para>The <application>Vim</application> package, which is an
49 abbreviation for VI IMproved, contains a <command>vi</command>
50 clone with extra features as compared to the original
51 <command>vi</command>.</para>
52
53 <para>The default LFS instructions install <application>vim</application>
54 as a part of the base system. If you would prefer to link
55 <application>vim</application> against <application>X</application>,
56 you should recompile <application>vim</application> to enable GUI mode.
57 There is no need for special instructions since
58 <application>X</application> support is automatically detected.</para>
59
60 <bridgehead renderas="sect3">Package Information</bridgehead>
61 <itemizedlist spacing="compact">
62 <listitem>
63 <para>Download (HTTP): <ulink url="&vim-download-http;"/></para>
64 </listitem>
65 <listitem>
66 <para>Download (FTP): <ulink url="&vim-download-ftp;"/></para>
67 </listitem>
68 <listitem>
69 <para>Download MD5 sum: &vim-md5sum;</para>
70 </listitem>
71 <listitem>
72 <para>Download size: &vim-size;</para>
73 </listitem>
74 <listitem>
75 <para>Estimated disk space required: &vim-buildsize;</para>
76 </listitem>
77 <listitem>
78 <para>Estimated build time: &vim-time;</para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">Additional Downloads</bridgehead>
83 <itemizedlist spacing='compact'>
84 <listitem>
85 <para>Translated Vim messages: <ulink
86 url="http://ftp.at.vim.org/pub/vim/extra/vim-&vim-version;-lang.tar.gz"/>
87 </para>
88 </listitem>
89 </itemizedlist>
90
91 <bridgehead renderas="sect3">Vim Dependencies</bridgehead>
92
93 <bridgehead renderas="sect4">Recommended</bridgehead>
94 <para role="recommended"><xref linkend="x-window-system"/></para>
95
96 <bridgehead renderas="sect4">Optional</bridgehead>
97 <para role="optional"><xref linkend="gtk2"/>,
98 <xref linkend="lesstif"/>,
99 <xref linkend="python"/>,
100 <xref linkend="tcl"/>,
101 <xref linkend="ruby"/>, and
102 <xref linkend="gpm"/></para>
103
104 <para condition="html" role="usernotes">User Notes:
105 <ulink url="&blfs-wiki;/vim"/></para>
106
107 </sect2>
108
109 <sect2 role="installation">
110 <title>Installation of Vim</title>
111
112 <note>
113 <para>If you recompile <application>Vim</application> to link against
114 <application>X</application>, and your <application>X</application>
115 libraries are not on the root partition, you will no longer have an editor
116 for use in emergencies. You may choose to install an additional editor,
117 not link <application>Vim</application> against
118 <application>X</application>, or move the current <command>vim</command>
119 executable to the <filename class="directory">/bin</filename> directory
120 under a different name such as <filename>vi</filename>.</para>
121 </note>
122
123 <para>If desired, unpack the translated messages archive:</para>
124
125<screen><userinput>tar -xf ../vim-&vim-version;-lang.tar.gz --strip-components=1</userinput></screen>
126
127 <para>Install <application>Vim</application> by running the following
128 commands:</para>
129
130<screen><userinput>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h &amp;&amp;
131echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
132./configure --prefix=/usr --with-features=huge &amp;&amp;
133make</userinput></screen>
134
135 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
136
137<screen role="root"><userinput>make install</userinput></screen>
138
139 <para>In UTF-8 locales, the <command>vimtutor</command> program tries to
140 convert the tutorials from ISO-8859-1 to UTF-8. Since some tutorials are
141 not in ISO-8859-1, the text in them is thus made unreadable. If you
142 unpacked the <filename>vim-&vim-version;-lang.tar.gz</filename> archive and
143 are going to use a UTF-8 based locale, remove non-ISO-8859-1 tutorials. An
144 English tutorial will be used instead.</para>
145
146<screen><userinput>rm -f /usr/share/vim/vim64/tutor/tutor.{gr,pl,ru,sk}
147rm -f /usr/share/vim/vim64/tutor/tutor.??.*</userinput></screen>
148
149 </sect2>
150
151 <sect2 role="commands">
152 <title>Command Explanations</title>
153
154 <para><parameter>--with-features=huge</parameter>: This switch enables all
155 the additional features available in <application>Vim</application>.</para>
156
157 <para><option>--enable-gui=no</option>: This will prevent compilation of the
158 GUI. <application>Vim</application> will still link against
159 <application>X</application> so that some nice eye-candy such as updating the
160 title bar of an <application>Xterm</application> window are available.</para>
161
162 <para><option>--without-x</option>: If you prefer not to link
163 <application>Vim</application> against <application>X</application>, use
164 this switch.</para>
165
166 </sect2>
167
168 <sect2 role="content">
169 <title>Contents</title>
170
171 <para>A list of the reinstalled files, along with their short
172 descriptions can be found at <ulink
173 url="&lfs-root;/chapter06/vim.html#contents-vim"/>.</para>
174
175 <segmentedlist>
176 <segtitle>Installed Programs</segtitle>
177 <segtitle>Installed Libraries</segtitle>
178 <segtitle>Installed Directory</segtitle>
179
180 <seglistitem>
181 <seg>gview, gvim, gvimdiff, rgview, and rgvim</seg>
182 <seg>None</seg>
183 <seg>/usr/share/vim</seg>
184 </seglistitem>
185 </segmentedlist>
186
187 <variablelist>
188 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
189 <?dbfo list-presentation="list"?>
190 <?dbhtml list-presentation="table"?>
191
192 <varlistentry id="gview">
193 <term><command>gview</command></term>
194 <listitem>
195 <para>starts <command>gvim</command> in read-only mode.</para>
196 <indexterm zone="vim gview">
197 <primary sortas="b-gview">gview</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 <varlistentry id="gvim">
203 <term><command>gvim</command></term>
204 <listitem>
205 <para>is the editor that runs under <application>X</application>
206 and includes a GUI.</para>
207 <indexterm zone="vim gvim">
208 <primary sortas="b-gvim">gvim</primary>
209 </indexterm>
210 </listitem>
211 </varlistentry>
212
213 <varlistentry id="gvimdiff">
214 <term><command>gvimdiff</command></term>
215 <listitem>
216 <para>edits two or three versions of a file with
217 <command>gvim</command> and shows the differences.</para>
218 <indexterm zone="vim gvimdiff">
219 <primary sortas="b-gvimdiff">gvimdiff</primary>
220 </indexterm>
221 </listitem>
222 </varlistentry>
223
224 <varlistentry id="rgview">
225 <term><command>rgview</command></term>
226 <listitem>
227 <para>is a restricted version of <command>gview</command>.</para>
228 <indexterm zone="vim rgview">
229 <primary sortas="b-rgview">rgview</primary>
230 </indexterm>
231 </listitem>
232 </varlistentry>
233
234 <varlistentry id="rgvim">
235 <term><command>rgvim</command></term>
236 <listitem>
237 <para>is a restricted version of <command>gvim</command>. </para>
238 <indexterm zone="vim gvim">
239 <primary sortas="b-gvim">gvim</primary>
240 </indexterm>
241 </listitem>
242 </varlistentry>
243
244 </variablelist>
245
246 </sect2>
247
248</sect1>
Note: See TracBrowser for help on using the repository browser.