Changeset 8ad7980
- Timestamp:
- 06/19/2004 01:39:28 PM (20 years ago)
- Branches:
- 10.0, 10.0-rc1, 10.1, 10.1-rc1, 11.0, 11.0-rc1, 11.0-rc2, 11.0-rc3, 11.1, 11.1-rc1, 11.2, 11.2-rc1, 11.3, 11.3-rc1, 12.0, 12.0-rc1, 12.1, 12.1-rc1, 6.0, 6.1, 6.1.1, 6.3, 6.4, 6.5, 6.6, 6.7, 6.8, 7.0, 7.1, 7.2, 7.3, 7.4, 7.5, 7.5-systemd, 7.6, 7.6-systemd, 7.7, 7.7-systemd, 7.8, 7.8-systemd, 7.9, 7.9-systemd, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, arm, bdubbs/gcc13, ml-11.0, multilib, renodr/libudev-from-systemd, s6-init, trunk, xry111/arm64, xry111/arm64-12.0, xry111/clfs-ng, xry111/lfs-next, xry111/loongarch, xry111/loongarch-12.0, xry111/loongarch-12.1, xry111/mips64el, xry111/pip3, xry111/rust-wip-20221008, xry111/update-glibc
- Children:
- f67f5cf
- Parents:
- ef57e3b
- Location:
- chapter06
- Files:
-
- 16 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/net-tools.xml
ref57e3b r8ad7980 138 138 <listitem> 139 139 <indexterm zone="ch-system-net-tools nisdomainname"><primary sortas="b-nisdomainname">nisdomainname</primary></indexterm> 140 <para>does the same as domainname.</para>140 <para>does the same as <command>domainname</command>.</para> 141 141 </listitem> 142 142 </varlistentry> … … 179 179 <listitem> 180 180 <indexterm zone="ch-system-net-tools ypdomainname"><primary sortas="b-ypdomainname">ypdomainname</primary></indexterm> 181 <para>does the same as domainname.</para>181 <para>does the same as <command>domainname</command>.</para> 182 182 </listitem> 183 183 </varlistentry> -
chapter06/patch.xml
ref57e3b r8ad7980 30 30 31 31 <para>Prepare Patch for compilation (the preprocessor flag 32 < emphasis>-D_GNU_SOURCE</emphasis> is only needed on PowerPCs, on other32 <parameter>-D_GNU_SOURCE</parameter> is only needed on PowerPCs, on other 33 33 machines you can leave it out):</para> 34 34 … … 60 60 <indexterm zone="ch-system-patch patch"><primary sortas="b-patch">patch</primary></indexterm> 61 61 <para>modifies files according to a patch file. 62 A patch file normally is a difference listing created with the diffprogram.63 By applying these differences to the original files, patchcreates the patched62 A patch file normally is a difference listing created with the <command>diff</command> program. 63 By applying these differences to the original files, <command>patch</command> creates the patched 64 64 versions. Using patches instead of entirely new tarballs to keep your sources 65 65 up-to-date can save you a lot of download time.</para> -
chapter06/perl.xml
ref57e3b r8ad7980 40 40 <variablelist> 41 41 <varlistentry> 42 <term>< userinput>-Dpager="/bin/less -isR"</userinput></term>43 <listitem><para>This corrects an error in the perldoc code with the invocation44 of the lessprogram.</para></listitem>42 <term><parameter>-Dpager="/bin/less -isR"</parameter></term> 43 <listitem><para>This corrects an error in the <command>perldoc</command> code with the invocation 44 of the <command>less</command> program.</para></listitem> 45 45 </varlistentry> 46 46 </variablelist> … … 86 86 <listitem> 87 87 <indexterm zone="ch-system-perl a2p"><primary sortas="b-a2p">a2p</primary></indexterm> 88 <para>translates awk to perl.</para>88 <para>translates awk to Perl.</para> 89 89 </listitem> 90 90 </varlistentry> … … 94 94 <listitem> 95 95 <indexterm zone="ch-system-perl c2ph"><primary sortas="b-c2ph">c2ph</primary></indexterm> 96 <para>dumps C structures as generated from "cc -g -S"stabs.</para>96 <para>dumps C structures as generated from <quote>cc -g -S</quote> stabs.</para> 97 97 </listitem> 98 98 </varlistentry> … … 102 102 <listitem> 103 103 <indexterm zone="ch-system-perl dprofpp"><primary sortas="b-dprofpp">dprofpp</primary></indexterm> 104 <para>displays perl profile data.</para>104 <para>displays Perl profile data.</para> 105 105 </listitem> 106 106 </varlistentry> … … 119 119 <listitem> 120 120 <indexterm zone="ch-system-perl find2perl"><primary sortas="b-find2perl">find2perl</primary></indexterm> 121 <para>translates find commands to perl.</para>121 <para>translates find commands to Perl.</para> 122 122 </listitem> 123 123 </varlistentry> … … 127 127 <listitem> 128 128 <indexterm zone="ch-system-perl h2ph"><primary sortas="b-h2ph">h2ph</primary></indexterm> 129 <para>converts .h C header files to .ph Perl header files.</para> 129 <para>converts <filename class="extension">.h</filename> C header files to 130 <filename class="extension">.ph</filename> Perl header files.</para> 130 131 </listitem> 131 132 </varlistentry> … … 135 136 <listitem> 136 137 <indexterm zone="ch-system-perl h2xs"><primary sortas="b-h2xs">h2xs</primary></indexterm> 137 <para>converts .hC header files to Perl extensions.</para>138 <para>converts <filename class="extension">.h</filename> C header files to Perl extensions.</para> 138 139 </listitem> 139 140 </varlistentry> … … 143 144 <listitem> 144 145 <indexterm zone="ch-system-perl libnetcfg"><primary sortas="b-libnetcfg">libnetcfg</primary></indexterm> 145 <para>can be used to configure the libnet.</para>146 <para>can be used to configure the <filename class="libraryfile">libnet</filename>.</para> 146 147 </listitem> 147 148 </varlistentry> … … 178 179 <indexterm zone="ch-system-perl perldoc"><primary sortas="b-perldoc">perldoc</primary></indexterm> 179 180 <para>displays a piece of documentation in pod 180 format that is embedded in the perl installation tree or in a perl script.</para>181 format that is embedded in the Perl installation tree or in a Perl script.</para> 181 182 </listitem> 182 183 </varlistentry> … … 204 205 <listitem> 205 206 <indexterm zone="ch-system-perl pl2pm"><primary sortas="b-pl2pm">pl2pm</primary></indexterm> 206 <para>is a rough tool for converting Perl4 .pl files to Perl5 .pm modules.</para> 207 <para>is a rough tool for converting Perl4 <filename class="extension">.pl</filename> 208 files to Perl5 <filename class="extension">.pm</filename> modules.</para> 207 209 </listitem> 208 210 </varlistentry> … … 268 270 <listitem> 269 271 <indexterm zone="ch-system-perl psed"><primary sortas="b-psed">psed</primary></indexterm> 270 <para>is a Perl version of the stream editor < userinput>sed</userinput>.</para>272 <para>is a Perl version of the stream editor <command>sed</command>.</para> 271 273 </listitem> 272 274 </varlistentry> … … 276 278 <listitem> 277 279 <indexterm zone="ch-system-perl pstruct"><primary sortas="b-pstruct">pstruct</primary></indexterm> 278 <para>dumps C structures as generated from "cc -g -S"stabs.</para>280 <para>dumps C structures as generated from <quote>cc -g -S</quote> stabs.</para> 279 281 </listitem> 280 282 </varlistentry> … … 284 286 <listitem> 285 287 <indexterm zone="ch-system-perl s2p"><primary sortas="b-s2p">s2p</primary></indexterm> 286 <para>translates sed to perl.</para>288 <para>translates sed to Perl.</para> 287 289 </listitem> 288 290 </varlistentry> … … 293 295 <indexterm zone="ch-system-perl splain"><primary sortas="b-splain">splain</primary></indexterm> 294 296 <para>is used to force verbose warning 295 diagnostics in perl.</para>297 diagnostics in Perl.</para> 296 298 </listitem> 297 299 </varlistentry> -
chapter06/procps.xml
ref57e3b r8ad7980 182 182 183 183 <varlistentry id="libproc"> 184 <term>< command>libproc</command></term>184 <term><filename class="libraryfile">libproc</filename></term> 185 185 <listitem> 186 186 <indexterm zone="ch-system-procps libproc"><primary sortas="c-libproc">libproc</primary></indexterm> -
chapter06/psmisc.xml
ref57e3b r8ad7980 38 38 <variablelist> 39 39 <varlistentry> 40 <term>< userinput>--exec-prefix=""</userinput></term>40 <term><parameter>--exec-prefix=""</parameter></term> 41 41 <listitem><para>This causes the 42 binaries to be installed in <filename >/bin</filename> instead of43 <filename >/usr/bin</filename>. As the Psmisc programs are often used in44 bootscripts, they should be available also when the <filename >/usr</filename>42 binaries to be installed in <filename class="directory">/bin</filename> instead of 43 <filename class="directory">/usr/bin</filename>. As the Psmisc programs are often used in 44 bootscripts, they should be available also when the <filename class="directory">/usr</filename> 45 45 file system isn't mounted.</para></listitem> 46 46 </varlistentry> … … 55 55 <screen><userinput>make install</userinput></screen> 56 56 57 <para>There is no reason for the < filename>pstree</filename> and58 < filename>pstree.x11</filename> programs to reside in57 <para>There is no reason for the <command>pstree</command> and 58 <command>pstree.x11</command> programs to reside in 59 59 <filename class="directory">/bin</filename>. We therefore move them to 60 60 <filename class="directory">/usr/bin</filename>. Also, there is no need 61 for < filename>pstree.x11</filename> to exist as a separate program. We62 therefore make it a symbolic link to < filename>pstree</filename>:</para>61 for <command>pstree.x11</command> to exist as a separate program. We 62 therefore make it a symbolic link to <command>pstree</command>:</para> 63 63 64 64 <screen><userinput>mv /bin/pstree* /usr/bin -
chapter06/pwdgroup.xml
ref57e3b r8ad7980 23 23 command:</para> 24 24 25 <screen><userinput>cat > /etc/passwd << "EOF" </userinput>25 <screen><userinput>cat > /etc/passwd << "EOF" 26 26 root:x:0:0:root:/root:/bin/bash 27 <userinput>EOF</userinput></screen>27 EOF</userinput></screen> 28 28 29 29 <para>The actual password for <emphasis>root</emphasis> (the <quote>x</quote> … … 33 33 command:</para> 34 34 35 <screen><userinput>cat > /etc/group << "EOF" </userinput>35 <screen><userinput>cat > /etc/group << "EOF" 36 36 root:x:0: 37 37 bin:x:1: … … 49 49 utmp:x:13: 50 50 usb:x:14: 51 <userinput>EOF</userinput></screen>51 EOF</userinput></screen> 52 52 53 53 <para>The created groups aren't part of any standard -- they are some of the … … 68 68 <screen><userinput>exec /tools/bin/bash --login +h</userinput></screen> 69 69 70 <para>Note the use of the < emphasis>+h</emphasis> directive. This tells70 <para>Note the use of the <parameter>+h</parameter> directive. This tells 71 71 <command>bash</command> not to use its internal path hashing. Without this 72 72 directive, <command>bash</command> would remember the paths to binaries it -
chapter06/readjusting.xml
ref57e3b r8ad7980 36 36 37 37 <para>From now on every compiled program will link <emphasis>only</emphasis> 38 against the libraries in <filename >/usr/lib</filename> and39 <filename >/lib</filename>. The extra40 < emphasis>INSTALL=/tools/bin/install</emphasis> is needed because the Makefile38 against the libraries in <filename class="directory">/usr/lib</filename> and 39 <filename class="directory">/lib</filename>. The extra 40 <parameter>INSTALL=/tools/bin/install</parameter> is needed because the Makefile 41 41 created during the second pass still contains the reference to 42 < filename>/usr/bin/install</filename>, which we obviously haven't installed yet.42 <command>/usr/bin/install</command>, which we obviously haven't installed yet. 43 43 Some host distributions contain a <filename class="symlink">ginstall</filename> 44 44 symbolic link which takes precedence in the Makefile and thus can cause a … … 79 79 in dynamic linker name):</para> 80 80 81 < blockquote><screen>[Requesting program interpreter: /lib/ld-linux.so.2]</screen></blockquote>81 <screen><computeroutput>[Requesting program interpreter: /lib/ld-linux.so.2]</computeroutput></screen> 82 82 83 83 <para>Note especially that <filename class="directory">/lib</filename> is now -
chapter06/revisedchroot.xml
ref57e3b r8ad7980 29 29 will need to recompile and re-install them. The installation instructions are 30 30 the same as in <xref linkend="chapter-temporary-tools"/>, apart from changing 31 the prefix from < emphasis>/tools</emphasis> to <emphasis>/usr</emphasis>. The31 the prefix from <filename class="directory">/tools</filename> to <filename class="directory">/usr</filename>. The 32 32 BLFS book discusses a slightly different approach to installing Tcl, see 33 33 <ulink url="&blfs-root;"/>.</para></note> -
chapter06/sed.xml
ref57e3b r8ad7980 30 30 31 31 <para>A bug in this version of sed changes permissions on files modified using 32 the in-place function (< userinput>-i</userinput> flag). Apply a patch to ensure32 the in-place function (<parameter>-i</parameter> flag). Apply a patch to ensure 33 33 that the original file permissions are preserved.</para> 34 34 35 <screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch 36 </userinput></screen> 35 <screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch</userinput></screen> 37 36 38 37 <para>Prepare Sed for compilation:</para> -
chapter06/shadow.xml
ref57e3b r8ad7980 82 82 83 83 <para>As some packages expect to find the just-moved libraries in 84 <filename >/usr/lib</filename>, create the following symlinks:</para>84 <filename class="directory">/usr/lib</filename>, create the following symlinks:</para> 85 85 86 86 <screen><userinput>ln -sf ../../lib/libshadow.so.0 /usr/lib/libshadow.so 87 87 ln -sf ../../lib/libmisc.so.0 /usr/lib/libmisc.so</userinput></screen> 88 88 89 <para>The -D option of the <filename>useradd</filename> program requires this89 <para>The <parameter>-D</parameter> option of the <command>useradd</command> program requires this 90 90 directory for it to work properly:</para> 91 91 … … 416 416 417 417 <varlistentry id="libmisc"> 418 <term>< command>libmisc</command></term>418 <term><filename class="libraryfile">libmisc</filename></term> 419 419 <listitem> 420 420 <indexterm zone="ch-system-shadow libmisc"><primary sortas="c-libmisc">libmisc</primary></indexterm> … … 424 424 425 425 <varlistentry id="libshadow"> 426 <term>< command>libshadow</command></term>426 <term><filename class="libraryfile">libshadow</filename></term> 427 427 <listitem> 428 428 <indexterm zone="ch-system-shadow libshadow"><primary sortas="c-libshadow">libshadow</primary></indexterm> -
chapter06/sysklogd.xml
ref57e3b r8ad7980 61 61 following:</para> 62 62 63 <screen><userinput>cat > /etc/syslog.conf << "EOF" </userinput>63 <screen><userinput>cat > /etc/syslog.conf << "EOF" 64 64 # Begin /etc/syslog.conf 65 65 … … 73 73 74 74 # End /etc/syslog.conf 75 <userinput>EOF</userinput></screen>75 EOF</userinput></screen> 76 76 77 77 </sect2> -
chapter06/sysvinit.xml
ref57e3b r8ad7980 29 29 <title>Installation of Sysvinit</title> 30 30 31 <para>Sysvinit &sysvinit-version; contains a "buffer overflow"bug.31 <para>Sysvinit &sysvinit-version; contains a <quote>buffer overflow</quote> bug. 32 32 Under some conditions, it clobbers the 33 33 values of environment variables. Fix that:</para> 34 34 35 <screen><userinput>patch -Np1 -i ../sysvinit-&sysvinit-version;-proclen-1.patch</userinput></screen> 36 35 37 <para>When run-levels are changed (for example, when halting the system), 36 38 <command>init</command> sends termination signals to those processes that … … 65 67 following:</para> 66 68 67 <screen><userinput>cat > /etc/inittab << "EOF" </userinput>69 <screen><userinput>cat > /etc/inittab << "EOF" 68 70 # Begin /etc/inittab 69 71 … … 92 94 93 95 # End /etc/inittab 94 <userinput>EOF</userinput></screen>95 96 <para> The -I '\033(K' switch tells agettyto send this escape sequence to96 EOF</userinput></screen> 97 98 <para> The <parameter>-I '\033(K'</parameter> switch tells <command>agetty</command> to send this escape sequence to 97 99 the terminal before doing anything else. This escape sequence switches the 98 100 console character set to a user-defined one, which can be modified by … … 122 124 <listitem> 123 125 <indexterm zone="ch-system-sysvinit halt"><primary sortas="b-halt">halt</primary></indexterm> 124 <para>normally invokes shutdown with the -hflag,126 <para>normally invokes <command>shutdown</command> with the <parameter>-h</parameter> flag, 125 127 except when already in run-level 0, then it tells the kernel to halt the system. 126 128 But first it notes in the file <filename>/var/log/wtmp</filename> that the … … 189 191 <indexterm zone="ch-system-sysvinit poweroff"><primary sortas="b-poweroff">poweroff</primary></indexterm> 190 192 <para>tells the kernel to halt the system and 191 switch off the computer. But see halt.</para>193 switch off the computer. But see <command>halt</command>.</para> 192 194 </listitem> 193 195 </varlistentry> … … 197 199 <listitem> 198 200 <indexterm zone="ch-system-sysvinit reboot"><primary sortas="b-reboot">reboot</primary></indexterm> 199 <para>tells the kernel to reboot the system. But see halt.</para>201 <para>tells the kernel to reboot the system. But see <command>halt</command>.</para> 200 202 </listitem> 201 203 </varlistentry> … … 224 226 <indexterm zone="ch-system-sysvinit sulogin"><primary sortas="b-sulogin">sulogin</primary></indexterm> 225 227 <para>allows the superuser to log in. It is 226 normally invoked by initwhen the system goes into single user mode.</para>228 normally invoked by <command>init</command> when the system goes into single user mode.</para> 227 229 </listitem> 228 230 </varlistentry> … … 232 234 <listitem> 233 235 <indexterm zone="ch-system-sysvinit telinit"><primary sortas="b-telinit">telinit</primary></indexterm> 234 <para>tells initwhich run-level to enter.</para>236 <para>tells <command>init</command> which run-level to enter.</para> 235 237 </listitem> 236 238 </varlistentry> -
chapter06/texinfo.xml
ref57e3b r8ad7980 53 53 <variablelist> 54 54 <varlistentry> 55 <term>< userinput>TEXMF=/usr/share/texmf</userinput></term>55 <term><parameter>TEXMF=/usr/share/texmf</parameter></term> 56 56 <listitem><para>The TEXMF 57 57 makefile variable holds the location of the root of your TeX tree if, for … … 93 93 <para>is used to read Info documents. Info 94 94 documents are a bit like man pages, but often go much deeper than just 95 explaining all the flags. Compare for example man tar and info tar.</para> 95 explaining all the flags. Compare for example <command>man tar</command> 96 and <command>info tar</command>.</para> 96 97 </listitem> 97 98 </varlistentry> -
chapter06/util-linux.xml
ref57e3b r8ad7980 31 31 <title>FHS compliance notes</title> 32 32 33 <para>The FHS recommends that we use <filename >/var/lib/hwclock</filename>,34 instead of the usual <filename >/etc</filename>, as the location for the33 <para>The FHS recommends that we use <filename class="directory">/var/lib/hwclock</filename>, 34 instead of the usual <filename class="directory">/etc</filename>, as the location for the 35 35 <filename>adjtime</filename> file. To make the <command>hwclock</command> 36 36 program FHS-compliant, run the following:</para> … … 61 61 <variablelist> 62 62 <varlistentry> 63 <term>< userinput>HAVE_KILL=yes</userinput></term>63 <term><parameter>HAVE_KILL=yes</parameter></term> 64 64 <listitem><para>This prevents the 65 65 <command>kill</command> program (already installed by Procps) from being … … 68 68 69 69 <varlistentry> 70 <term>< userinput>HAVE_SLN=yes</userinput></term>70 <term><parameter>HAVE_SLN=yes</parameter></term> 71 71 <listitem><para>This prevents the 72 72 <command>sln</command> program (a statically linked … … 104 104 <indexterm zone="ch-system-util-linux agetty"><primary sortas="b-agetty">agetty</primary></indexterm> 105 105 <para>opens a tty port, prompts for a login name, 106 and then invokes the loginprogram.</para>106 and then invokes the <command>login</command> program.</para> 107 107 </listitem> 108 108 </varlistentry> … … 345 345 <indexterm zone="ch-system-util-linux mcookie"><primary sortas="b-mcookie">mcookie</primary></indexterm> 346 346 <para>generates magic cookies, 128-bit random hexadecimal numbers, 347 for xauth.</para>347 for <command>xauth</command>.</para> 348 348 </listitem> 349 349 </varlistentry> … … 395 395 <indexterm zone="ch-system-util-linux more"><primary sortas="b-more">more</primary></indexterm> 396 396 <para>is a filter for paging through text one 397 screen full at a time. But lessis much better.</para>397 screen full at a time. But <command>less</command> is much better.</para> 398 398 </listitem> 399 399 </varlistentry> -
chapter06/vim.xml
ref57e3b r8ad7980 50 50 51 51 <para>The optional but highly recommended 52 < userinput>--enable-multibyte</userinput> switch52 <parameter>--enable-multibyte</parameter> switch 53 53 includes support for editing files in multibyte character encodings into 54 54 <command>vim</command>. … … 93 93 people might not like this, but we prefer to run <command>vim</command> in its 94 94 own mode (else we wouldn't have included it in this book, but the original 95 <command>vi</command>). We've included the setting of "nocompatible"95 <command>vi</command>). We've included the setting of <quote>nocompatible</quote> 96 96 below to high-light the fact that the new behavior is being used. It 97 also reminds those who would change to "compatible"mode that it should97 also reminds those who would change to <quote>compatible</quote> mode that it should 98 98 appear first because it changes other settings and overrides must come 99 99 after this setting. Create a default vim configuration file by running 100 100 the following:</para> 101 101 102 <screen><userinput>cat > /etc/vimrc << "EOF" </userinput>102 <screen><userinput>cat > /etc/vimrc << "EOF" 103 103 " Begin /etc/vimrc 104 104 … … 106 106 set backspace=2 107 107 syntax on 108 <!-- set fileencodings=ucs-bom,utf-8,<replaceable> your-8-bit-charset</replaceable> -->108 <!-- set fileencodings=ucs-bom,utf-8,<replaceable>[your-8-bit-charset]</replaceable> --> 109 109 if (&term == "iterm") || (&term == "putty") 110 110 set background=dark … … 112 112 113 113 " End /etc/vimrc 114 <userinput>EOF</userinput></screen>115 116 <para>The < emphasis>set nocompatible</emphasis> makes114 EOF</userinput></screen> 115 116 <para>The <parameter>set nocompatible</parameter> makes 117 117 <command>vim</command> behave in a more useful way (the default) than the 118 vi-compatible manner. Remove the "no"if you want the old <command>vi</command>119 behavior. The < emphasis>set backspace=2</emphasis> allows118 vi-compatible manner. Remove the <quote>no</quote> if you want the old <command>vi</command> 119 behavior. The <parameter>set backspace=2</parameter> allows 120 120 backspacing over line breaks, autoindents and the start of insert. The 121 < emphasis>syntax on</emphasis> enables <command>vim</command>'s121 <parameter>syntax on</parameter> enables <command>vim</command>'s 122 122 syntax highliting. 123 123 <!-- XXX: the ascii-only files are considered to be in utf-8 - that's not what 124 124 one expects . That's why fileencodings stuff is commented out for now 125 125 126 The < emphasis>set fileencodings=...</emphasis> makes126 The <parameter>set fileencodings=...</parameter> makes 127 127 <command>vim</command> capable of automatically detecting the character 128 128 set of the file being edited (replace 129 "<replaceable> your-8-bit-charset</replaceable>"129 "<replaceable>[your-8-bit-charset]</replaceable>" 130 130 with the value appropriate for your country, e.g. iso-8859-15 in Italy). 131 131 This line is useful because bleeding-edge distributions 132 132 like Fedora Core use UTF-8, and conservative ones like Debian 133 133 use traditional 8-bit encodings for text files. If you have not 134 passed the < option>- -enable-multibyte</option> switch to the134 passed the <parameter>- -enable-multibyte</parameter> switch to the 135 135 <command>./configure</command> command above, this line will not work. --> 136 136 Finally, the <emphasis>if</emphasis> statement with the 137 < emphasis>set background=dark</emphasis> corrects <command>vim</command>'s137 <parameter>set background=dark</parameter> corrects <command>vim</command>'s 138 138 guess about the background color of some terminal emulators. This gives the 139 139 highliting a better color scheme for use on the black background of … … 165 165 <listitem> 166 166 <indexterm zone="ch-system-vim efm_filter.pl"><primary sortas="b-efm_filter.pl">efm_filter.pl</primary></indexterm> 167 <para>is a filter for creating an error file that can be read by vim.</para>167 <para>is a filter for creating an error file that can be read by <command>vim</command>.</para> 168 168 </listitem> 169 169 </varlistentry> … … 174 174 <indexterm zone="ch-system-vim efm_perl.pl"><primary sortas="b-efm_perl.pl">efm_perl.pl</primary></indexterm> 175 175 <para>reformats the error messages of the 176 Perl interpreter for use with the <quote>quickfix</quote> mode of vim.</para>176 Perl interpreter for use with the <quote>quickfix</quote> mode of <command>vim</command>.</para> 177 177 </listitem> 178 178 </varlistentry> … … 182 182 <listitem> 183 183 <indexterm zone="ch-system-vim ex"><primary sortas="b-ex">ex</primary></indexterm> 184 <para>starts vimin ex mode.</para>184 <para>starts <command>vim</command> in ex mode.</para> 185 185 </listitem> 186 186 </varlistentry> … … 190 190 <listitem> 191 191 <indexterm zone="ch-system-vim less.sh"><primary sortas="b-less.sh">less.sh</primary></indexterm> 192 <para>is a script that starts vimwith less.vim.</para>192 <para>is a script that starts <command>vim</command> with less.vim.</para> 193 193 </listitem> 194 194 </varlistentry> … … 198 198 <listitem> 199 199 <indexterm zone="ch-system-vim mve.awk"><primary sortas="b-mve.awk">mve.awk</primary></indexterm> 200 <para>processes vimerrors.</para>200 <para>processes <command>vim</command> errors.</para> 201 201 </listitem> 202 202 </varlistentry> … … 206 206 <listitem> 207 207 <indexterm zone="ch-system-vim pltags.pl"><primary sortas="b-pltags.pl">pltags.pl</primary></indexterm> 208 <para>creates a tags file for perl code, for use by vim.</para>208 <para>creates a tags file for Perl code, for use by <command>vim</command>.</para> 209 209 </listitem> 210 210 </varlistentry> … … 222 222 <listitem> 223 223 <indexterm zone="ch-system-vim rview"><primary sortas="b-rview">rview</primary></indexterm> 224 <para>is a restricted version of view: no shell225 commands can be started and viewcan't be suspended.</para>224 <para>is a restricted version of <command>view</command>: no shell 225 commands can be started and <command>view</command> can't be suspended.</para> 226 226 </listitem> 227 227 </varlistentry> … … 231 231 <listitem> 232 232 <indexterm zone="ch-system-vim rvim"><primary sortas="b-rvim">rvim</primary></indexterm> 233 <para>is a restricted version of vim: no shell234 commands can be started and vimcan't be suspended.</para>233 <para>is a restricted version of <command>vim</command>: no shell 234 commands can be started and <command>vim</command> can't be suspended.</para> 235 235 </listitem> 236 236 </varlistentry> … … 240 240 <listitem> 241 241 <indexterm zone="ch-system-vim shtags.pl"><primary sortas="b-shtags.pl">shtags.pl</primary></indexterm> 242 <para>generates a tag file for perl scripts.</para>242 <para>generates a tag file for Perl scripts.</para> 243 243 </listitem> 244 244 </varlistentry> … … 256 256 <listitem> 257 257 <indexterm zone="ch-system-vim view"><primary sortas="b-view">view</primary></indexterm> 258 <para>starts vimin read-only mode.</para>258 <para>starts <command>vim</command> in read-only mode.</para> 259 259 </listitem> 260 260 </varlistentry> … … 272 272 <listitem> 273 273 <indexterm zone="ch-system-vim vim132"><primary sortas="b-vim132">vim132</primary></indexterm> 274 <para>starts vimwith the terminal in 132-column mode.</para>274 <para>starts <command>vim</command> with the terminal in 132-column mode.</para> 275 275 </listitem> 276 276 </varlistentry> … … 280 280 <listitem> 281 281 <indexterm zone="ch-system-vim vim2html.pl"><primary sortas="b-vim2html.pl">vim2html.pl</primary></indexterm> 282 <para>converts vim documentation to HTML.</para>282 <para>converts Vim documentation to HTML.</para> 283 283 </listitem> 284 284 </varlistentry> … … 288 288 <listitem> 289 289 <indexterm zone="ch-system-vim vimdiff"><primary sortas="b-vimdiff">vimdiff</primary></indexterm> 290 <para>edits two or three versions of a file with vimand show differences.</para>290 <para>edits two or three versions of a file with <command>vim</command> and show differences.</para> 291 291 </listitem> 292 292 </varlistentry> … … 305 305 <indexterm zone="ch-system-vim vimspell.sh"><primary sortas="b-vimspell.sh">vimspell.sh</primary></indexterm> 306 306 <para>is a script which spells a file and generates the syntax statements necessary 307 to highlight in vim. This script requires the old Unix <command>spell</command>307 to highlight in <command>vim</command>. This script requires the old Unix <command>spell</command> 308 308 command, which is provided neither in LFS nor in BLFS.</para> 309 309 </listitem> … … 314 314 <listitem> 315 315 <indexterm zone="ch-system-vim vimtutor"><primary sortas="b-vimtutor">vimtutor</primary></indexterm> 316 <para>teaches you the basic keys and commands of vim.</para>316 <para>teaches you the basic keys and commands of <command>vim</command>.</para> 317 317 </listitem> 318 318 </varlistentry> -
chapter06/zlib.xml
ref57e3b r8ad7980 31 31 <note><para>Zlib is known to build its shared library incorrectly if CFLAGS is 32 32 specified in the environment. If you are using your own CFLAGS variable, be 33 sure to add the < emphasis>-fPIC</emphasis> directive to your CFLAGS for the33 sure to add the <parameter>-fPIC</parameter> directive to your CFLAGS for the 34 34 duration of the below <command>configure</command> command, then remove it 35 35 afterwards.</para></note> … … 51 51 52 52 <para>Now also build the non-shared (static) library:</para> 53 53 54 <screen><userinput>make clean 54 55 ./configure --prefix=/usr … … 81 82 <screen><userinput>mv /usr/lib/libz.so.* /lib</userinput></screen> 82 83 83 <para>Now we need to fix the <filename >/usr/lib/libz.so</filename> symlink84 <para>Now we need to fix the <filename class="symlink">/usr/lib/libz.so</filename> symlink 84 85 because we just moved the file it points to:</para> 85 86 … … 99 100 100 101 <varlistentry id="libz"> 101 <term>< command>libz*</command></term>102 <term><filename class="libraryfile">libz*</filename></term> 102 103 <listitem> 103 104 <indexterm zone="ch-system-zlib libz"><primary sortas="c-libz*">libz*</primary></indexterm>
Note:
See TracChangeset
for help on using the changeset viewer.