source: postlfs/editors/vim.xml@ a0f03b0

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 a0f03b0 was a0f03b0, checked in by Archaic <archaic@…>, 20 years ago

Inserting sect1info

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

  • Property mode set to 100644
File size: 4.5 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-size "3.7 MB">
10 <!ENTITY vim-buildsize "48 MB">
11 <!ENTITY vim-time "0.59 SBU">
12]>
13
14<sect1 id="postlfs-editors-vim" xreflabel="Vim-&vim-version;">
15<sect1info>
16<othername>$LastChangedBy: $</othername>
17<date>$Date: $</date>
18</sect1info>
19<?dbhtml filename="vim.html"?>
20<title>Vim-&vim-version;</title>
21
22<sect2>
23<title>Introduction to <application>Vim</application></title>
24
25<para>The <application>Vim</application> package, which is an
26abbreviation for VI IMproved, contains a <command>vi</command>
27clone with extra features as compared to the original
28<command>vi</command>.</para>
29
30<para>The default <acronym>LFS</acronym> instructions install
31<application>vim</application> as a part of the base system.
32If you would prefer to link <application>vim</application>
33against <application>X</application>, you should recompile
34<application>vim</application> to enable <acronym>GUI</acronym>
35mode. There is no need for special instructions since
36<application>X</application> support is automatically detected.
37</para>
38
39<sect3><title>Package information</title>
40<itemizedlist spacing='compact'>
41<listitem><para>Download (HTTP): <ulink
42url="&vim-download-http;"/></para></listitem>
43<listitem><para>Download (FTP): <ulink
44url="&vim-download-ftp;"/></para></listitem>
45<listitem><para>Download size: &vim-size;</para></listitem>
46<listitem><para>Estimated Disk space required:
47&vim-buildsize;</para></listitem>
48<listitem><para>Estimated build time:
49&vim-time;</para></listitem></itemizedlist>
50</sect3>
51
52<sect3><title><application>Vim</application> dependencies</title>
53<sect4><title>Recommended</title>
54<para><application>X</application>
55(<xref linkend="xfree86"/> or <xref linkend="xorg"/>)</para>
56</sect4>
57
58<sect4><title>Optional</title>
59<para><xref linkend="GTK2"/>,
60<xref linkend="lesstif"/>,
61<xref linkend="Python"/>,
62<xref linkend="tcl"/>,
63<xref linkend="ruby"/>
64and <xref linkend="gpm"/>
65</para></sect4>
66</sect3>
67
68</sect2>
69
70<sect2>
71<title>Installation of <application>Vim</application></title>
72
73<note><para>If you recompile vim to link against <application>X</application>,
74and your <application>X</application> libs are not on the root partition, you
75will no longer have an editor for use in emergencies. You may choose to
76install an additional editor, not link vim against X, or move the current
77<command>vim</command> executable to the <filename>/bin</filename> directory
78under a different name such as <filename>vi</filename>.</para></note>
79
80<para>Install <application>Vim</application> by running the following commands:</para>
81
82<screen><userinput><command>echo '#define SYS_VIMRC_FILE "/etc/vimrc"' &gt;&gt; src/feature.h &amp;&amp;
83echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' &gt;&gt; src/feature.h &amp;&amp;
84./configure --prefix=/usr \
85 --with-features=huge &amp;&amp;
86make &amp;&amp;
87make install</command></userinput></screen>
88
89</sect2>
90
91<sect2>
92<title>Command explanations</title>
93
94<para><parameter>--with-features=huge</parameter>: This switch enables all
95the additional features available in <application>Vim</application>.</para>
96
97<para><parameter>--enable-gui=no</parameter>: If you prefer not to link
98<application>Vim</application> against <application>X</application>, use
99this switch.</para>
100
101</sect2>
102
103<sect2>
104<title>Contents</title>
105
106<para>The <application>Vim</application> package contains
107<command>eview</command>, <command>evim</command>,
108<command>ex</command>, <command>gview</command>,
109<command>gvim</command>, <command>gvimdiff</command>,
110<command>rgview</command>, <command>rgvim</command>,
111<command>rview</command>, <command>rvim</command>,
112<command>view</command>, <command>vim</command>,
113<command>vimdiff</command>, <command>vimtutor</command> and
114<command>xxd</command>. Except for <command>vimtutor</command> and
115<command>xxd</command>, all the other commands are symlinks to
116<command>vim</command> and start <command>vim</command> with different
117options. <command>vimtutor</command> is a tool to learn the various
118<command>vim</command> commands and <command>xxd</command> is a command used
119to create hex dumps.</para>
120
121</sect2>
122
123</sect1>
Note: See TracBrowser for help on using the repository browser.