mirror of
https://git.linuxfromscratch.org/lfs.git
synced 2025-06-19 03:39:20 +01:00
Tags corrections
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3812 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
parent
ef57e3bcf1
commit
8ad79807a3
@ -137,7 +137,7 @@ statistics..</para>
|
|||||||
<term><command>nisdomainname</command></term>
|
<term><command>nisdomainname</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
|
<indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm>
|
||||||
<para>does the same as domainname.</para>
|
<para>does the same as <command>domainname</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -178,7 +178,7 @@ terminal lines for point-to-point links to other computers.</para>
|
|||||||
<term><command>ypdomainname</command></term>
|
<term><command>ypdomainname</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
|
<indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm>
|
||||||
<para>does the same as domainname.</para>
|
<para>does the same as <command>domainname</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
@ -29,7 +29,7 @@ GCC, Glibc, Grep, Make, Sed</seg></seglistitem>
|
|||||||
<title>Installation of Patch</title>
|
<title>Installation of Patch</title>
|
||||||
|
|
||||||
<para>Prepare Patch for compilation (the preprocessor flag
|
<para>Prepare Patch for compilation (the preprocessor flag
|
||||||
<emphasis>-D_GNU_SOURCE</emphasis> is only needed on PowerPCs, on other
|
<parameter>-D_GNU_SOURCE</parameter> is only needed on PowerPCs, on other
|
||||||
machines you can leave it out):</para>
|
machines you can leave it out):</para>
|
||||||
|
|
||||||
<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
|
<screen><userinput>CPPFLAGS=-D_GNU_SOURCE ./configure --prefix=/usr</userinput></screen>
|
||||||
@ -59,8 +59,8 @@ machines you can leave it out):</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-patch patch"><primary sortas="b-patch">patch</primary></indexterm>
|
<indexterm zone="ch-system-patch patch"><primary sortas="b-patch">patch</primary></indexterm>
|
||||||
<para>modifies files according to a patch file.
|
<para>modifies files according to a patch file.
|
||||||
A patch file normally is a difference listing created with the diff program.
|
A patch file normally is a difference listing created with the <command>diff</command> program.
|
||||||
By applying these differences to the original files, patch creates the patched
|
By applying these differences to the original files, <command>patch</command> creates the patched
|
||||||
versions. Using patches instead of entirely new tarballs to keep your sources
|
versions. Using patches instead of entirely new tarballs to keep your sources
|
||||||
up-to-date can save you a lot of download time.</para>
|
up-to-date can save you a lot of download time.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
|
@ -39,9 +39,9 @@ defaults it auto-detects, then prepare Perl for compilation with:</para>
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><userinput>-Dpager="/bin/less -isR"</userinput></term>
|
<term><parameter>-Dpager="/bin/less -isR"</parameter></term>
|
||||||
<listitem><para>This corrects an error in the perldoc code with the invocation
|
<listitem><para>This corrects an error in the <command>perldoc</command> code with the invocation
|
||||||
of the less program.</para></listitem>
|
of the <command>less</command> program.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
|
|
||||||
@ -85,7 +85,7 @@ to c2ph), s2p, splain and xsubpp</seg>
|
|||||||
<term><command>a2p</command></term>
|
<term><command>a2p</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
|
<indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm>
|
||||||
<para>translates awk to perl.</para>
|
<para>translates awk to Perl.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -93,7 +93,7 @@ to c2ph), s2p, splain and xsubpp</seg>
|
|||||||
<term><command>c2ph</command></term>
|
<term><command>c2ph</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
|
<indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm>
|
||||||
<para>dumps C structures as generated from "cc -g -S" stabs.</para>
|
<para>dumps C structures as generated from <quote>cc -g -S</quote> stabs.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -101,7 +101,7 @@ to c2ph), s2p, splain and xsubpp</seg>
|
|||||||
<term><command>dprofpp</command></term>
|
<term><command>dprofpp</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
|
<indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm>
|
||||||
<para>displays perl profile data.</para>
|
<para>displays Perl profile data.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -118,7 +118,7 @@ from either Unicode Character Mappings or Tcl Encoding Files.</para>
|
|||||||
<term><command>find2perl</command></term>
|
<term><command>find2perl</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
|
<indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm>
|
||||||
<para>translates find commands to perl.</para>
|
<para>translates find commands to Perl.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -126,7 +126,8 @@ from either Unicode Character Mappings or Tcl Encoding Files.</para>
|
|||||||
<term><command>h2ph</command></term>
|
<term><command>h2ph</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
|
<indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm>
|
||||||
<para>converts .h C header files to .ph Perl header files.</para>
|
<para>converts <filename class="extension">.h</filename> C header files to
|
||||||
|
<filename class="extension">.ph</filename> Perl header files.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -134,7 +135,7 @@ from either Unicode Character Mappings or Tcl Encoding Files.</para>
|
|||||||
<term><command>h2xs</command></term>
|
<term><command>h2xs</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
|
<indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm>
|
||||||
<para>converts .h C header files to Perl extensions.</para>
|
<para>converts <filename class="extension">.h</filename> C header files to Perl extensions.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -142,7 +143,7 @@ from either Unicode Character Mappings or Tcl Encoding Files.</para>
|
|||||||
<term><command>libnetcfg</command></term>
|
<term><command>libnetcfg</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
|
<indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm>
|
||||||
<para>can be used to configure the libnet.</para>
|
<para>can be used to configure the <filename class="libraryfile">libnet</filename>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -177,7 +178,7 @@ Perl or the modules that come with it, and mail them.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
|
<indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm>
|
||||||
<para>displays a piece of documentation in pod
|
<para>displays a piece of documentation in pod
|
||||||
format that is embedded in the perl installation tree or in a perl script.</para>
|
format that is embedded in the Perl installation tree or in a Perl script.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -203,7 +204,8 @@ converter <command>iconv</command>.</para>
|
|||||||
<term><command>pl2pm</command></term>
|
<term><command>pl2pm</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
|
<indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm>
|
||||||
<para>is a rough tool for converting Perl4 .pl files to Perl5 .pm modules.</para>
|
<para>is a rough tool for converting Perl4 <filename class="extension">.pl</filename>
|
||||||
|
files to Perl5 <filename class="extension">.pm</filename> modules.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -267,7 +269,7 @@ converter <command>iconv</command>.</para>
|
|||||||
<term><command>psed</command></term>
|
<term><command>psed</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
|
<indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm>
|
||||||
<para>is a Perl version of the stream editor <userinput>sed</userinput>.</para>
|
<para>is a Perl version of the stream editor <command>sed</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -275,7 +277,7 @@ converter <command>iconv</command>.</para>
|
|||||||
<term><command>pstruct</command></term>
|
<term><command>pstruct</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
|
<indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm>
|
||||||
<para>dumps C structures as generated from "cc -g -S" stabs.</para>
|
<para>dumps C structures as generated from <quote>cc -g -S</quote> stabs.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -283,7 +285,7 @@ converter <command>iconv</command>.</para>
|
|||||||
<term><command>s2p</command></term>
|
<term><command>s2p</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
|
<indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm>
|
||||||
<para>translates sed to perl.</para>
|
<para>translates sed to Perl.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -292,7 +294,7 @@ converter <command>iconv</command>.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
|
<indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm>
|
||||||
<para>is used to force verbose warning
|
<para>is used to force verbose warning
|
||||||
diagnostics in perl.</para>
|
diagnostics in Perl.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -181,7 +181,7 @@ output. This allows you to watch the output change over time.</para>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry id="libproc">
|
<varlistentry id="libproc">
|
||||||
<term><command>libproc</command></term>
|
<term><filename class="libraryfile">libproc</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
|
<indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm>
|
||||||
<para>contains the functions used by most programs in this package.</para>
|
<para>contains the functions used by most programs in this package.</para>
|
||||||
|
@ -37,11 +37,11 @@ GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><userinput>--exec-prefix=""</userinput></term>
|
<term><parameter>--exec-prefix=""</parameter></term>
|
||||||
<listitem><para>This causes the
|
<listitem><para>This causes the
|
||||||
binaries to be installed in <filename>/bin</filename> instead of
|
binaries to be installed in <filename class="directory">/bin</filename> instead of
|
||||||
<filename>/usr/bin</filename>. As the Psmisc programs are often used in
|
<filename class="directory">/usr/bin</filename>. As the Psmisc programs are often used in
|
||||||
bootscripts, they should be available also when the <filename>/usr</filename>
|
bootscripts, they should be available also when the <filename class="directory">/usr</filename>
|
||||||
file system isn't mounted.</para></listitem>
|
file system isn't mounted.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
</variablelist>
|
</variablelist>
|
||||||
@ -54,12 +54,12 @@ file system isn't mounted.</para></listitem>
|
|||||||
|
|
||||||
<screen><userinput>make install</userinput></screen>
|
<screen><userinput>make install</userinput></screen>
|
||||||
|
|
||||||
<para>There is no reason for the <filename>pstree</filename> and
|
<para>There is no reason for the <command>pstree</command> and
|
||||||
<filename>pstree.x11</filename> programs to reside in
|
<command>pstree.x11</command> programs to reside in
|
||||||
<filename class="directory">/bin</filename>. We therefore move them to
|
<filename class="directory">/bin</filename>. We therefore move them to
|
||||||
<filename class="directory">/usr/bin</filename>. Also, there is no need
|
<filename class="directory">/usr/bin</filename>. Also, there is no need
|
||||||
for <filename>pstree.x11</filename> to exist as a separate program. We
|
for <command>pstree.x11</command> to exist as a separate program. We
|
||||||
therefore make it a symbolic link to <filename>pstree</filename>:</para>
|
therefore make it a symbolic link to <command>pstree</command>:</para>
|
||||||
|
|
||||||
<screen><userinput>mv /bin/pstree* /usr/bin
|
<screen><userinput>mv /bin/pstree* /usr/bin
|
||||||
ln -sf pstree /usr/bin/pstree.x11</userinput></screen>
|
ln -sf pstree /usr/bin/pstree.x11</userinput></screen>
|
||||||
|
@ -22,9 +22,9 @@ the <filename>/etc/passwd</filename> and <filename>/etc/group</filename> files.
|
|||||||
<para>Create the <filename>/etc/passwd</filename> file by running the following
|
<para>Create the <filename>/etc/passwd</filename> file by running the following
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/passwd << "EOF"</userinput>
|
<screen><userinput>cat > /etc/passwd << "EOF"
|
||||||
root:x:0:0:root:/root:/bin/bash
|
root:x:0:0:root:/root:/bin/bash
|
||||||
<userinput>EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote>
|
<para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote>
|
||||||
here is just a placeholder) will be set later.</para>
|
here is just a placeholder) will be set later.</para>
|
||||||
@ -32,7 +32,7 @@ here is just a placeholder) will be set later.</para>
|
|||||||
<para>Create the <filename>/etc/group</filename> file by running the following
|
<para>Create the <filename>/etc/group</filename> file by running the following
|
||||||
command:</para>
|
command:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/group << "EOF"</userinput>
|
<screen><userinput>cat > /etc/group << "EOF"
|
||||||
root:x:0:
|
root:x:0:
|
||||||
bin:x:1:
|
bin:x:1:
|
||||||
sys:x:2:
|
sys:x:2:
|
||||||
@ -48,7 +48,7 @@ audio:x:11:
|
|||||||
video:x:12:
|
video:x:12:
|
||||||
utmp:x:13:
|
utmp:x:13:
|
||||||
usb:x:14:
|
usb:x:14:
|
||||||
<userinput>EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<para>The created groups aren't part of any standard -- they are some of the
|
<para>The created groups aren't part of any standard -- they are some of the
|
||||||
groups that the Udev configuration we will be using in the next section
|
groups that the Udev configuration we will be using in the next section
|
||||||
@ -67,7 +67,7 @@ user name and group name resolution will now work.</para>
|
|||||||
|
|
||||||
<screen><userinput>exec /tools/bin/bash --login +h</userinput></screen>
|
<screen><userinput>exec /tools/bin/bash --login +h</userinput></screen>
|
||||||
|
|
||||||
<para>Note the use of the <emphasis>+h</emphasis> directive. This tells
|
<para>Note the use of the <parameter>+h</parameter> directive. This tells
|
||||||
<command>bash</command> not to use its internal path hashing. Without this
|
<command>bash</command> not to use its internal path hashing. Without this
|
||||||
directive, <command>bash</command> would remember the paths to binaries it
|
directive, <command>bash</command> would remember the paths to binaries it
|
||||||
has executed. Since we want to use our newly compiled binaries as soon as
|
has executed. Since we want to use our newly compiled binaries as soon as
|
||||||
|
@ -35,11 +35,11 @@ however, our testing has shown that the resulting Binutils program binaries
|
|||||||
should be identical.</para></note>
|
should be identical.</para></note>
|
||||||
|
|
||||||
<para>From now on every compiled program will link <emphasis>only</emphasis>
|
<para>From now on every compiled program will link <emphasis>only</emphasis>
|
||||||
against the libraries in <filename>/usr/lib</filename> and
|
against the libraries in <filename class="directory">/usr/lib</filename> and
|
||||||
<filename>/lib</filename>. The extra
|
<filename class="directory">/lib</filename>. The extra
|
||||||
<emphasis>INSTALL=/tools/bin/install</emphasis> is needed because the Makefile
|
<parameter>INSTALL=/tools/bin/install</parameter> is needed because the Makefile
|
||||||
created during the second pass still contains the reference to
|
created during the second pass still contains the reference to
|
||||||
<filename>/usr/bin/install</filename>, which we obviously haven't installed yet.
|
<command>/usr/bin/install</command>, which we obviously haven't installed yet.
|
||||||
Some host distributions contain a <filename class="symlink">ginstall</filename>
|
Some host distributions contain a <filename class="symlink">ginstall</filename>
|
||||||
symbolic link which takes precedence in the Makefile and thus can cause a
|
symbolic link which takes precedence in the Makefile and thus can cause a
|
||||||
problem here. The above command takes care of this also.</para>
|
problem here. The above command takes care of this also.</para>
|
||||||
@ -78,7 +78,7 @@ readelf -l a.out | grep ': /lib'</userinput></screen>
|
|||||||
output of the last command will be (allowing for platform specific differences
|
output of the last command will be (allowing for platform specific differences
|
||||||
in dynamic linker name):</para>
|
in dynamic linker name):</para>
|
||||||
|
|
||||||
<blockquote><screen>[Requesting program interpreter: /lib/ld-linux.so.2]</screen></blockquote>
|
<screen><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen>
|
||||||
|
|
||||||
<para>Note especially that <filename class="directory">/lib</filename> is now
|
<para>Note especially that <filename class="directory">/lib</filename> is now
|
||||||
the prefix of our dynamic linker.</para>
|
the prefix of our dynamic linker.</para>
|
||||||
|
@ -28,7 +28,7 @@ remove the temporary copies of Tcl, Expect and DejaGNU, which were used for
|
|||||||
running the toolchain tests. If you want to use these programs later on, you
|
running the toolchain tests. If you want to use these programs later on, you
|
||||||
will need to recompile and re-install them. The installation instructions are
|
will need to recompile and re-install them. The installation instructions are
|
||||||
the same as in <xref linkend="chapter-temporary-tools"/>, apart from changing
|
the same as in <xref linkend="chapter-temporary-tools"/>, apart from changing
|
||||||
the prefix from <emphasis>/tools</emphasis> to <emphasis>/usr</emphasis>. The
|
the prefix from <filename class="directory">/tools</filename> to <filename class="directory">/usr</filename>. The
|
||||||
BLFS book discusses a slightly different approach to installing Tcl, see
|
BLFS book discusses a slightly different approach to installing Tcl, see
|
||||||
<ulink url="&blfs-root;"/>.</para></note>
|
<ulink url="&blfs-root;"/>.</para></note>
|
||||||
|
|
||||||
|
@ -29,11 +29,10 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Texinfo</seg></seglistitem>
|
|||||||
<title>Installation of Sed</title>
|
<title>Installation of Sed</title>
|
||||||
|
|
||||||
<para>A bug in this version of sed changes permissions on files modified using
|
<para>A bug in this version of sed changes permissions on files modified using
|
||||||
the in-place function (<userinput>-i</userinput> flag). Apply a patch to ensure
|
the in-place function (<parameter>-i</parameter> flag). Apply a patch to ensure
|
||||||
that the original file permissions are preserved.</para>
|
that the original file permissions are preserved.</para>
|
||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch
|
<screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch</userinput></screen>
|
||||||
</userinput></screen>
|
|
||||||
|
|
||||||
<para>Prepare Sed for compilation:</para>
|
<para>Prepare Sed for compilation:</para>
|
||||||
|
|
||||||
|
@ -81,12 +81,12 @@ mv /usr/bin/passwd /bin</userinput></screen>
|
|||||||
<screen><userinput>mv /usr/lib/lib{shadow,misc}.so.0* /lib</userinput></screen>
|
<screen><userinput>mv /usr/lib/lib{shadow,misc}.so.0* /lib</userinput></screen>
|
||||||
|
|
||||||
<para>As some packages expect to find the just-moved libraries in
|
<para>As some packages expect to find the just-moved libraries in
|
||||||
<filename>/usr/lib</filename>, create the following symlinks:</para>
|
<filename class="directory">/usr/lib</filename>, create the following symlinks:</para>
|
||||||
|
|
||||||
<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so
|
<screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so
|
||||||
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen>
|
ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen>
|
||||||
|
|
||||||
<para>The -D option of the <filename>useradd</filename> program requires this
|
<para>The <parameter>-D</parameter> option of the <command>useradd</command> program requires this
|
||||||
directory for it to work properly:</para>
|
directory for it to work properly:</para>
|
||||||
|
|
||||||
<screen><userinput>mkdir /etc/default</userinput></screen>
|
<screen><userinput>mkdir /etc/default</userinput></screen>
|
||||||
@ -415,7 +415,7 @@ shell, initial group, home directory, and the like.</para>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry id="libmisc">
|
<varlistentry id="libmisc">
|
||||||
<term><command>libmisc</command></term>
|
<term><filename class="libraryfile">libmisc</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-shadow libmisc"><primary sortas="c-libmisc">libmisc</primary></indexterm>
|
<indexterm zone="ch-system-shadow libmisc"><primary sortas="c-libmisc">libmisc</primary></indexterm>
|
||||||
<para>...</para>
|
<para>...</para>
|
||||||
@ -423,7 +423,7 @@ shell, initial group, home directory, and the like.</para>
|
|||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry id="libshadow">
|
<varlistentry id="libshadow">
|
||||||
<term><command>libshadow</command></term>
|
<term><filename class="libraryfile">libshadow</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-shadow libshadow"><primary sortas="c-libshadow">libshadow</primary></indexterm>
|
<indexterm zone="ch-system-shadow libshadow"><primary sortas="c-libshadow">libshadow</primary></indexterm>
|
||||||
<para>contains functions used by most programs in this package.</para>
|
<para>contains functions used by most programs in this package.</para>
|
||||||
|
@ -60,7 +60,7 @@ Fix this bug by applying another patch:</para>
|
|||||||
<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
|
<para>Create a new <filename>/etc/syslog.conf</filename> file by running the
|
||||||
following:</para>
|
following:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/syslog.conf << "EOF"</userinput>
|
<screen><userinput>cat > /etc/syslog.conf << "EOF"
|
||||||
# Begin /etc/syslog.conf
|
# Begin /etc/syslog.conf
|
||||||
|
|
||||||
auth,authpriv.* -/var/log/auth.log
|
auth,authpriv.* -/var/log/auth.log
|
||||||
@ -72,7 +72,7 @@ user.* -/var/log/user.log
|
|||||||
*.emerg *
|
*.emerg *
|
||||||
|
|
||||||
# End /etc/syslog.conf
|
# End /etc/syslog.conf
|
||||||
<userinput>EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -28,10 +28,12 @@ running, and shutdown of your system.</para>
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>Installation of Sysvinit</title>
|
<title>Installation of Sysvinit</title>
|
||||||
|
|
||||||
<para>Sysvinit &sysvinit-version; contains a "buffer overflow" bug.
|
<para>Sysvinit &sysvinit-version; contains a <quote>buffer overflow</quote> bug.
|
||||||
Under some conditions, it clobbers the
|
Under some conditions, it clobbers the
|
||||||
values of environment variables. Fix that:</para>
|
values of environment variables. Fix that:</para>
|
||||||
|
|
||||||
<screen><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-proclen-1.patch</userinput></screen>
|
<screen><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-proclen-1.patch</userinput></screen>
|
||||||
|
|
||||||
<para>When run-levels are changed (for example, when halting the system),
|
<para>When run-levels are changed (for example, when halting the system),
|
||||||
<command>init</command> sends termination signals to those processes that
|
<command>init</command> sends termination signals to those processes that
|
||||||
<command>init</command> itself started and that shouldn't be running in the new
|
<command>init</command> itself started and that shouldn't be running in the new
|
||||||
@ -64,7 +66,7 @@ misinterpretation, you can modify the source so that these messages read like
|
|||||||
<para>Create a new <filename>/etc/inittab</filename> file by running the
|
<para>Create a new <filename>/etc/inittab</filename> file by running the
|
||||||
following:</para>
|
following:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/inittab << "EOF"</userinput>
|
<screen><userinput>cat > /etc/inittab << "EOF"
|
||||||
# Begin /etc/inittab
|
# Begin /etc/inittab
|
||||||
|
|
||||||
id:3:initdefault:
|
id:3:initdefault:
|
||||||
@ -91,9 +93,9 @@ su:S016:once:/sbin/sulogin
|
|||||||
6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
|
6:2345:respawn:/sbin/agetty -I '\033(K' tty6 9600
|
||||||
|
|
||||||
# End /etc/inittab
|
# End /etc/inittab
|
||||||
<userinput>EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<para> The -I '\033(K' switch tells agetty to send this escape sequence to
|
<para> The <parameter>-I '\033(K'</parameter> switch tells <command>agetty</command> to send this escape sequence to
|
||||||
the terminal before doing anything else. This escape sequence switches the
|
the terminal before doing anything else. This escape sequence switches the
|
||||||
console character set to a user-defined one, which can be modified by
|
console character set to a user-defined one, which can be modified by
|
||||||
running the <command>setfont</command> program.
|
running the <command>setfont</command> program.
|
||||||
@ -121,7 +123,7 @@ killall5), poweroff (link to halt), reboot (link to halt), runlevel, shutdown, s
|
|||||||
<term><command>halt</command></term>
|
<term><command>halt</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm>
|
<indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm>
|
||||||
<para>normally invokes shutdown with the -h flag,
|
<para>normally invokes <command>shutdown</command> with the <parameter>-h</parameter> flag,
|
||||||
except when already in run-level 0, then it tells the kernel to halt the system.
|
except when already in run-level 0, then it tells the kernel to halt the system.
|
||||||
But first it notes in the file <filename>/var/log/wtmp</filename> that the
|
But first it notes in the file <filename>/var/log/wtmp</filename> that the
|
||||||
system is being brought down.</para>
|
system is being brought down.</para>
|
||||||
@ -188,7 +190,7 @@ messages to the current user's terminal.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm>
|
<indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm>
|
||||||
<para>tells the kernel to halt the system and
|
<para>tells the kernel to halt the system and
|
||||||
switch off the computer. But see halt.</para>
|
switch off the computer. But see <command>halt</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -196,7 +198,7 @@ switch off the computer. But see halt.</para>
|
|||||||
<term><command>reboot</command></term>
|
<term><command>reboot</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-sysvinit reboot"><primary sortas="b-reboot">reboot</primary></indexterm>
|
<indexterm zone="ch-system-sysvinit reboot"><primary sortas="b-reboot">reboot</primary></indexterm>
|
||||||
<para>tells the kernel to reboot the system. But see halt.</para>
|
<para>tells the kernel to reboot the system. But see <command>halt</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -223,7 +225,7 @@ signaling all processes and notifying all logged-in users.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm>
|
<indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm>
|
||||||
<para>allows the superuser to log in. It is
|
<para>allows the superuser to log in. It is
|
||||||
normally invoked by init when the system goes into single user mode.</para>
|
normally invoked by <command>init</command> when the system goes into single user mode.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -231,7 +233,7 @@ normally invoked by init when the system goes into single user mode.</para>
|
|||||||
<term><command>telinit</command></term>
|
<term><command>telinit</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-sysvinit telinit"><primary sortas="b-telinit">telinit</primary></indexterm>
|
<indexterm zone="ch-system-sysvinit telinit"><primary sortas="b-telinit">telinit</primary></indexterm>
|
||||||
<para>tells init which run-level to enter.</para>
|
<para>tells <command>init</command> which run-level to enter.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -52,7 +52,7 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed</seg></seglistitem>
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><userinput>TEXMF=/usr/share/texmf</userinput></term>
|
<term><parameter>TEXMF=/usr/share/texmf</parameter></term>
|
||||||
<listitem><para>The TEXMF
|
<listitem><para>The TEXMF
|
||||||
makefile variable holds the location of the root of your TeX tree if, for
|
makefile variable holds the location of the root of your TeX tree if, for
|
||||||
example, you plan to install a TeX package later on.</para></listitem>
|
example, you plan to install a TeX package later on.</para></listitem>
|
||||||
@ -92,7 +92,8 @@ makeinfo, texi2dvi and texindex</seg></seglistitem>
|
|||||||
<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
<indexterm zone="ch-system-texinfo info"><primary sortas="b-info">info</primary></indexterm>
|
||||||
<para>is used to read Info documents. Info
|
<para>is used to read Info documents. Info
|
||||||
documents are a bit like man pages, but often go much deeper than just
|
documents are a bit like man pages, but often go much deeper than just
|
||||||
explaining all the flags. Compare for example man tar and info tar.</para>
|
explaining all the flags. Compare for example <command>man tar</command>
|
||||||
|
and <command>info tar</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -30,8 +30,8 @@ Diffutils, GCC, Gettext, Glibc, Grep, Make, Ncurses, Sed, Zlib</seg></seglistite
|
|||||||
<sect2 role="installation">
|
<sect2 role="installation">
|
||||||
<title>FHS compliance notes</title>
|
<title>FHS compliance notes</title>
|
||||||
|
|
||||||
<para>The FHS recommends that we use <filename>/var/lib/hwclock</filename>,
|
<para>The FHS recommends that we use <filename class="directory">/var/lib/hwclock</filename>,
|
||||||
instead of the usual <filename>/etc</filename>, as the location for the
|
instead of the usual <filename class="directory">/etc</filename>, as the location for the
|
||||||
<filename>adjtime</filename> file. To make the <command>hwclock</command>
|
<filename>adjtime</filename> file. To make the <command>hwclock</command>
|
||||||
program FHS-compliant, run the following:</para>
|
program FHS-compliant, run the following:</para>
|
||||||
|
|
||||||
@ -60,14 +60,14 @@ by applying the following patch:</para>
|
|||||||
|
|
||||||
<variablelist>
|
<variablelist>
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><userinput>HAVE_KILL=yes</userinput></term>
|
<term><parameter>HAVE_KILL=yes</parameter></term>
|
||||||
<listitem><para>This prevents the
|
<listitem><para>This prevents the
|
||||||
<command>kill</command> program (already installed by Procps) from being
|
<command>kill</command> program (already installed by Procps) from being
|
||||||
built and installed again.</para></listitem>
|
built and installed again.</para></listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
<varlistentry>
|
<varlistentry>
|
||||||
<term><userinput>HAVE_SLN=yes</userinput></term>
|
<term><parameter>HAVE_SLN=yes</parameter></term>
|
||||||
<listitem><para>This prevents the
|
<listitem><para>This prevents the
|
||||||
<command>sln</command> program (a statically linked
|
<command>sln</command> program (a statically linked
|
||||||
<command>ln</command> already installed by Glibc) from being built and
|
<command>ln</command> already installed by Glibc) from being built and
|
||||||
@ -103,7 +103,7 @@ whereis and write</seg></seglistitem>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-util-linux agetty"><primary sortas="b-agetty">agetty</primary></indexterm>
|
<indexterm zone="ch-system-util-linux agetty"><primary sortas="b-agetty">agetty</primary></indexterm>
|
||||||
<para>opens a tty port, prompts for a login name,
|
<para>opens a tty port, prompts for a login name,
|
||||||
and then invokes the login program.</para>
|
and then invokes the <command>login</command> program.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -344,7 +344,7 @@ Minix file system on the given device.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-util-linux mcookie"><primary sortas="b-mcookie">mcookie</primary></indexterm>
|
<indexterm zone="ch-system-util-linux mcookie"><primary sortas="b-mcookie">mcookie</primary></indexterm>
|
||||||
<para>generates magic cookies, 128-bit random hexadecimal numbers,
|
<para>generates magic cookies, 128-bit random hexadecimal numbers,
|
||||||
for xauth.</para>
|
for <command>xauth</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -394,7 +394,7 @@ for xauth.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-util-linux more"><primary sortas="b-more">more</primary></indexterm>
|
<indexterm zone="ch-system-util-linux more"><primary sortas="b-more">more</primary></indexterm>
|
||||||
<para>is a filter for paging through text one
|
<para>is a filter for paging through text one
|
||||||
screen full at a time. But less is much better.</para>
|
screen full at a time. But <command>less</command> is much better.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -49,7 +49,7 @@ echo '#define SYS_GVIMRC_FILE "/etc/gvimrc"' >> src/feature.h</userinput><
|
|||||||
<screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
|
<screen><userinput>./configure --prefix=/usr --enable-multibyte</userinput></screen>
|
||||||
|
|
||||||
<para>The optional but highly recommended
|
<para>The optional but highly recommended
|
||||||
<userinput>--enable-multibyte</userinput> switch
|
<parameter>--enable-multibyte</parameter> switch
|
||||||
includes support for editing files in multibyte character encodings into
|
includes support for editing files in multibyte character encodings into
|
||||||
<command>vim</command>.
|
<command>vim</command>.
|
||||||
It is needed for those people who ignore our recommendation not to
|
It is needed for those people who ignore our recommendation not to
|
||||||
@ -92,49 +92,49 @@ installed. For more information read the Vim documentation.</para>
|
|||||||
<para>By default, <command>vim</command> runs in vi-incompatible mode. Some
|
<para>By default, <command>vim</command> runs in vi-incompatible mode. Some
|
||||||
people might not like this, but we prefer to run <command>vim</command> in its
|
people might not like this, but we prefer to run <command>vim</command> in its
|
||||||
own mode (else we wouldn't have included it in this book, but the original
|
own mode (else we wouldn't have included it in this book, but the original
|
||||||
<command>vi</command>). We've included the setting of "nocompatible"
|
<command>vi</command>). We've included the setting of <quote>nocompatible</quote>
|
||||||
below to high-light the fact that the new behavior is being used. It
|
below to high-light the fact that the new behavior is being used. It
|
||||||
also reminds those who would change to "compatible" mode that it should
|
also reminds those who would change to <quote>compatible</quote> mode that it should
|
||||||
appear first because it changes other settings and overrides must come
|
appear first because it changes other settings and overrides must come
|
||||||
after this setting. Create a default vim configuration file by running
|
after this setting. Create a default vim configuration file by running
|
||||||
the following:</para>
|
the following:</para>
|
||||||
|
|
||||||
<screen><userinput>cat > /etc/vimrc << "EOF"</userinput>
|
<screen><userinput>cat > /etc/vimrc << "EOF"
|
||||||
" Begin /etc/vimrc
|
" Begin /etc/vimrc
|
||||||
|
|
||||||
set nocompatible
|
set nocompatible
|
||||||
set backspace=2
|
set backspace=2
|
||||||
syntax on
|
syntax on
|
||||||
<!-- set fileencodings=ucs-bom,utf-8,<replaceable>your-8-bit-charset</replaceable> -->
|
<!-- set fileencodings=ucs-bom,utf-8,<replaceable>[your-8-bit-charset]</replaceable> -->
|
||||||
if (&term == "iterm") || (&term == "putty")
|
if (&term == "iterm") || (&term == "putty")
|
||||||
set background=dark
|
set background=dark
|
||||||
endif
|
endif
|
||||||
|
|
||||||
" End /etc/vimrc
|
" End /etc/vimrc
|
||||||
<userinput>EOF</userinput></screen>
|
EOF</userinput></screen>
|
||||||
|
|
||||||
<para>The <emphasis>set nocompatible</emphasis> makes
|
<para>The <parameter>set nocompatible</parameter> makes
|
||||||
<command>vim</command> behave in a more useful way (the default) than the
|
<command>vim</command> behave in a more useful way (the default) than the
|
||||||
vi-compatible manner. Remove the "no" if you want the old <command>vi</command>
|
vi-compatible manner. Remove the <quote>no</quote> if you want the old <command>vi</command>
|
||||||
behavior. The <emphasis>set backspace=2</emphasis> allows
|
behavior. The <parameter>set backspace=2</parameter> allows
|
||||||
backspacing over line breaks, autoindents and the start of insert. The
|
backspacing over line breaks, autoindents and the start of insert. The
|
||||||
<emphasis>syntax on</emphasis> enables <command>vim</command>'s
|
<parameter>syntax on</parameter> enables <command>vim</command>'s
|
||||||
syntax highliting.
|
syntax highliting.
|
||||||
<!-- XXX: the ascii-only files are considered to be in utf-8 - that's not what
|
<!-- XXX: the ascii-only files are considered to be in utf-8 - that's not what
|
||||||
one expects . That's why fileencodings stuff is commented out for now
|
one expects . That's why fileencodings stuff is commented out for now
|
||||||
|
|
||||||
The <emphasis>set fileencodings=...</emphasis> makes
|
The <parameter>set fileencodings=...</parameter> makes
|
||||||
<command>vim</command> capable of automatically detecting the character
|
<command>vim</command> capable of automatically detecting the character
|
||||||
set of the file being edited (replace
|
set of the file being edited (replace
|
||||||
"<replaceable>your-8-bit-charset</replaceable>"
|
"<replaceable>[your-8-bit-charset]</replaceable>"
|
||||||
with the value appropriate for your country, e.g. iso-8859-15 in Italy).
|
with the value appropriate for your country, e.g. iso-8859-15 in Italy).
|
||||||
This line is useful because bleeding-edge distributions
|
This line is useful because bleeding-edge distributions
|
||||||
like Fedora Core use UTF-8, and conservative ones like Debian
|
like Fedora Core use UTF-8, and conservative ones like Debian
|
||||||
use traditional 8-bit encodings for text files. If you have not
|
use traditional 8-bit encodings for text files. If you have not
|
||||||
passed the <option>- -enable-multibyte</option> switch to the
|
passed the <parameter>- -enable-multibyte</parameter> switch to the
|
||||||
<command>./configure</command> command above, this line will not work. -->
|
<command>./configure</command> command above, this line will not work. -->
|
||||||
Finally, the <emphasis>if</emphasis> statement with the
|
Finally, the <emphasis>if</emphasis> statement with the
|
||||||
<emphasis>set background=dark</emphasis> corrects <command>vim</command>'s
|
<parameter>set background=dark</parameter> corrects <command>vim</command>'s
|
||||||
guess about the background color of some terminal emulators. This gives the
|
guess about the background color of some terminal emulators. This gives the
|
||||||
highliting a better color scheme for use on the black background of
|
highliting a better color scheme for use on the black background of
|
||||||
these programs.
|
these programs.
|
||||||
@ -164,7 +164,7 @@ vimtutor and xxd</seg></seglistitem>
|
|||||||
<term><command>efm_filter.pl</command></term>
|
<term><command>efm_filter.pl</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim efm_filter.pl"><primary sortas="b-efm_filter.pl">efm_filter.pl</primary></indexterm>
|
<indexterm zone="ch-system-vim efm_filter.pl"><primary sortas="b-efm_filter.pl">efm_filter.pl</primary></indexterm>
|
||||||
<para>is a filter for creating an error file that can be read by vim.</para>
|
<para>is a filter for creating an error file that can be read by <command>vim</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -173,7 +173,7 @@ vimtutor and xxd</seg></seglistitem>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim efm_perl.pl"><primary sortas="b-efm_perl.pl">efm_perl.pl</primary></indexterm>
|
<indexterm zone="ch-system-vim efm_perl.pl"><primary sortas="b-efm_perl.pl">efm_perl.pl</primary></indexterm>
|
||||||
<para>reformats the error messages of the
|
<para>reformats the error messages of the
|
||||||
Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>
|
Perl interpreter for use with the <quote>quickfix</quote> mode of <command>vim</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -181,7 +181,7 @@ Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>
|
|||||||
<term><command>ex</command></term>
|
<term><command>ex</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim ex"><primary sortas="b-ex">ex</primary></indexterm>
|
<indexterm zone="ch-system-vim ex"><primary sortas="b-ex">ex</primary></indexterm>
|
||||||
<para>starts vim in ex mode.</para>
|
<para>starts <command>vim</command> in ex mode.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -189,7 +189,7 @@ Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>
|
|||||||
<term><command>less.sh</command></term>
|
<term><command>less.sh</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim less.sh"><primary sortas="b-less.sh">less.sh</primary></indexterm>
|
<indexterm zone="ch-system-vim less.sh"><primary sortas="b-less.sh">less.sh</primary></indexterm>
|
||||||
<para>is a script that starts vim with less.vim.</para>
|
<para>is a script that starts <command>vim</command> with less.vim.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -197,7 +197,7 @@ Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>
|
|||||||
<term><command>mve.awk</command></term>
|
<term><command>mve.awk</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim mve.awk"><primary sortas="b-mve.awk">mve.awk</primary></indexterm>
|
<indexterm zone="ch-system-vim mve.awk"><primary sortas="b-mve.awk">mve.awk</primary></indexterm>
|
||||||
<para>processes vim errors.</para>
|
<para>processes <command>vim</command> errors.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -205,7 +205,7 @@ Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>
|
|||||||
<term><command>pltags.pl</command></term>
|
<term><command>pltags.pl</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim pltags.pl"><primary sortas="b-pltags.pl">pltags.pl</primary></indexterm>
|
<indexterm zone="ch-system-vim pltags.pl"><primary sortas="b-pltags.pl">pltags.pl</primary></indexterm>
|
||||||
<para>creates a tags file for perl code, for use by vim.</para>
|
<para>creates a tags file for Perl code, for use by <command>vim</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -221,8 +221,8 @@ Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>
|
|||||||
<term><command>rview</command></term>
|
<term><command>rview</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim rview"><primary sortas="b-rview">rview</primary></indexterm>
|
<indexterm zone="ch-system-vim rview"><primary sortas="b-rview">rview</primary></indexterm>
|
||||||
<para>is a restricted version of view: no shell
|
<para>is a restricted version of <command>view</command>: no shell
|
||||||
commands can be started and view can't be suspended.</para>
|
commands can be started and <command>view</command> can't be suspended.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -230,8 +230,8 @@ commands can be started and view can't be suspended.</para>
|
|||||||
<term><command>rvim</command></term>
|
<term><command>rvim</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim rvim"><primary sortas="b-rvim">rvim</primary></indexterm>
|
<indexterm zone="ch-system-vim rvim"><primary sortas="b-rvim">rvim</primary></indexterm>
|
||||||
<para>is a restricted version of vim: no shell
|
<para>is a restricted version of <command>vim</command>: no shell
|
||||||
commands can be started and vim can't be suspended.</para>
|
commands can be started and <command>vim</command> can't be suspended.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -239,7 +239,7 @@ commands can be started and vim can't be suspended.</para>
|
|||||||
<term><command>shtags.pl</command></term>
|
<term><command>shtags.pl</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim shtags.pl"><primary sortas="b-shtags.pl">shtags.pl</primary></indexterm>
|
<indexterm zone="ch-system-vim shtags.pl"><primary sortas="b-shtags.pl">shtags.pl</primary></indexterm>
|
||||||
<para>generates a tag file for perl scripts.</para>
|
<para>generates a tag file for Perl scripts.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -255,7 +255,7 @@ commands can be started and vim can't be suspended.</para>
|
|||||||
<term><command>view</command></term>
|
<term><command>view</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim view"><primary sortas="b-view">view</primary></indexterm>
|
<indexterm zone="ch-system-vim view"><primary sortas="b-view">view</primary></indexterm>
|
||||||
<para>starts vim in read-only mode.</para>
|
<para>starts <command>vim</command> in read-only mode.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -271,7 +271,7 @@ commands can be started and vim can't be suspended.</para>
|
|||||||
<term><command>vim132</command></term>
|
<term><command>vim132</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim vim132"><primary sortas="b-vim132">vim132</primary></indexterm>
|
<indexterm zone="ch-system-vim vim132"><primary sortas="b-vim132">vim132</primary></indexterm>
|
||||||
<para>starts vim with the terminal in 132-column mode.</para>
|
<para>starts <command>vim</command> with the terminal in 132-column mode.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -279,7 +279,7 @@ commands can be started and vim can't be suspended.</para>
|
|||||||
<term><command>vim2html.pl</command></term>
|
<term><command>vim2html.pl</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim vim2html.pl"><primary sortas="b-vim2html.pl">vim2html.pl</primary></indexterm>
|
<indexterm zone="ch-system-vim vim2html.pl"><primary sortas="b-vim2html.pl">vim2html.pl</primary></indexterm>
|
||||||
<para>converts vim documentation to HTML.</para>
|
<para>converts Vim documentation to HTML.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -287,7 +287,7 @@ commands can be started and vim can't be suspended.</para>
|
|||||||
<term><command>vimdiff</command></term>
|
<term><command>vimdiff</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim vimdiff"><primary sortas="b-vimdiff">vimdiff</primary></indexterm>
|
<indexterm zone="ch-system-vim vimdiff"><primary sortas="b-vimdiff">vimdiff</primary></indexterm>
|
||||||
<para>edits two or three versions of a file with vim and show differences.</para>
|
<para>edits two or three versions of a file with <command>vim</command> and show differences.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
@ -304,7 +304,7 @@ commands can be started and vim can't be suspended.</para>
|
|||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim vimspell.sh"><primary sortas="b-vimspell.sh">vimspell.sh</primary></indexterm>
|
<indexterm zone="ch-system-vim vimspell.sh"><primary sortas="b-vimspell.sh">vimspell.sh</primary></indexterm>
|
||||||
<para>is a script which spells a file and generates the syntax statements necessary
|
<para>is a script which spells a file and generates the syntax statements necessary
|
||||||
to highlight in vim. This script requires the old Unix <command>spell</command>
|
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>
|
command, which is provided neither in LFS nor in BLFS.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
@ -313,7 +313,7 @@ command, which is provided neither in LFS nor in BLFS.</para>
|
|||||||
<term><command>vimtutor</command></term>
|
<term><command>vimtutor</command></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-vim vimtutor"><primary sortas="b-vimtutor">vimtutor</primary></indexterm>
|
<indexterm zone="ch-system-vim vimtutor"><primary sortas="b-vimtutor">vimtutor</primary></indexterm>
|
||||||
<para>teaches you the basic keys and commands of vim.</para>
|
<para>teaches you the basic keys and commands of <command>vim</command>.</para>
|
||||||
</listitem>
|
</listitem>
|
||||||
</varlistentry>
|
</varlistentry>
|
||||||
|
|
||||||
|
@ -30,7 +30,7 @@ some programs.</para>
|
|||||||
|
|
||||||
<note><para>Zlib is known to build its shared library incorrectly if CFLAGS is
|
<note><para>Zlib is known to build its shared library incorrectly if CFLAGS is
|
||||||
specified in the environment. If you are using your own CFLAGS variable, be
|
specified in the environment. If you are using your own CFLAGS variable, be
|
||||||
sure to add the <emphasis>-fPIC</emphasis> directive to your CFLAGS for the
|
sure to add the <parameter>-fPIC</parameter> directive to your CFLAGS for the
|
||||||
duration of the below <command>configure</command> command, then remove it
|
duration of the below <command>configure</command> command, then remove it
|
||||||
afterwards.</para></note>
|
afterwards.</para></note>
|
||||||
|
|
||||||
@ -50,6 +50,7 @@ afterwards.</para></note>
|
|||||||
<screen><userinput>make install</userinput></screen>
|
<screen><userinput>make install</userinput></screen>
|
||||||
|
|
||||||
<para>Now also build the non-shared (static) library:</para>
|
<para>Now also build the non-shared (static) library:</para>
|
||||||
|
|
||||||
<screen><userinput>make clean
|
<screen><userinput>make clean
|
||||||
./configure --prefix=/usr
|
./configure --prefix=/usr
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
@ -80,7 +81,7 @@ into <filename class="directory">/lib</filename>:</para>
|
|||||||
|
|
||||||
<screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen>
|
<screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen>
|
||||||
|
|
||||||
<para>Now we need to fix the <filename>/usr/lib/libz.so</filename> symlink
|
<para>Now we need to fix the <filename class="symlink">/usr/lib/libz.so</filename> symlink
|
||||||
because we just moved the file it points to:</para>
|
because we just moved the file it points to:</para>
|
||||||
|
|
||||||
<screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>
|
<screen><userinput>ln -sf ../../lib/libz.so.1 /usr/lib/libz.so</userinput></screen>
|
||||||
@ -98,7 +99,7 @@ because we just moved the file it points to:</para>
|
|||||||
<variablelist><title>Short description</title>
|
<variablelist><title>Short description</title>
|
||||||
|
|
||||||
<varlistentry id="libz">
|
<varlistentry id="libz">
|
||||||
<term><command>libz*</command></term>
|
<term><filename class="libraryfile">libz*</filename></term>
|
||||||
<listitem>
|
<listitem>
|
||||||
<indexterm zone="ch-system-zlib libz"><primary sortas="c-libz*">libz*</primary></indexterm>
|
<indexterm zone="ch-system-zlib libz"><primary sortas="c-libz*">libz*</primary></indexterm>
|
||||||
<para>contains compression and un-compression
|
<para>contains compression and un-compression
|
||||||
|
Loading…
Reference in New Issue
Block a user