source: postlfs/editors/vim.xml@ f5f7f9d

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 6.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 f5f7f9d was 25d03a51, checked in by Larry Lawrence <larry@…>, 19 years ago

made contents consistant

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

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