Changeset ef57e3b


Ignore:
Timestamp:
06/19/2004 12:04:20 PM (20 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
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:
8ad7980
Parents:
3042296
Message:

Amplied the Index entries for Hotplug and Linux-Libc-Headers.
Tags corrections.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3811 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

Files:
20 edited

Legend:

Unmodified
Added
Removed
  • chapter01/changelog.xml

    r3042296 ref57e3b  
    7777</listitem>
    7878
     79<listitem><para>June 19, 2004 [manuel]: Amplied the Index entries for Hotplug
     80and Linux-Libc-Headers. Tags corrections.</para></listitem>
     81
    7982<listitem><para>June 18, 2004 [winkie]: Instead of using the udev binary, use
    8083the udev daemon instead.</para></listitem>
  • chapter05/hostreqs.xml

    r3042296 ref57e3b  
    99
    1010<para>Due to the experimental nature of the current book, the host must be
    11 running at <emphasis>least</emphasis> a 2.6.2 kernel compiled with gcc-3.0 or
     11running at <emphasis>least</emphasis> a 2.6.2 kernel compiled with GCC-3.0 or
    1212higher. There are two main reasons for the high requirement.  Firstly, we make
    1313use of the Native Posix Threading Library (NPTL) whose testsuite will segfault
    14 if the host's kernel hasn't been compiled with gcc-3.0 or later.  Secondly, the
    15 2.6.2 or later version of the kernel is required for the use of udev. Udev
     14if the host's kernel hasn't been compiled with GCC-3.0 or later.  Secondly, the
     152.6.2 or later version of the kernel is required for the use of Udev. Udev
    1616creates devices dynamically by reading from the
    1717<systemitem class="filesystem">sysfs</systemitem> file system. Only very
  • chapter05/sed.xml

    r3042296 ref57e3b  
    2929
    3030<para>A bug in this version of sed changes permissions on files modified using
    31 the in-place function (<userinput>-i</userinput> flag).  Apply a patch to ensure
     31the in-place function (<parameter>-i</parameter> flag).  Apply a patch to ensure
    3232that the original file permissions are preserved.</para>
    3333
    34 <screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch
    35 </userinput></screen>
     34<screen><userinput>patch -Np1 -i ../sed-&sed-version;-permissions-1.patch</userinput></screen>
    3635
    3736<para>Prepare Sed for compilation:</para>
  • chapter05/udev.xml

    r3042296 ref57e3b  
    3232<title>Installation of Udev</title>
    3333
    34 <para>The udevstart program hardcodes the path to the udev program in itself,
    35 which is bad since we install udev in a non-standard location. Fix this by
     34<para>The <command>udevstart</command> program hardcodes the path
     35to the <command>udev</command> program in itself, which is bad since we
     36install <command>udev</command> in a non-standard location. Fix this by
    3637running the following:</para>
    3738
    3839<screen><userinput>sed -i 's@/sbin/udev@/tools/sbin/udev@g' udevstart.c</userinput></screen>
    3940
    40 <para>Also assure that udev knows the correct location to look for its
     41<para>Also assure that <command>udev</command> knows the correct location to look for its
    4142configuration files:</para>
    4243
  • chapter06/groff.xml

    r3042296 ref57e3b  
    7373<indexterm zone="ch-system-groff addftinfo"><primary sortas="b-addftinfo">addftinfo</primary></indexterm>
    7474<para>reads a troff font file and adds some
    75 additional font-metric information that is used by the groff system.</para>
     75additional font-metric information that is used by the <command>groff</command> system.</para>
    7676</listitem>
    7777</varlistentry>
     
    8181<listitem>
    8282<indexterm zone="ch-system-groff afmtodit"><primary sortas="b-afmtodit">afmtodit</primary></indexterm>
    83 <para>creates a font file for use with groff and grops.</para>
     83<para>creates a font file for use with <command>groff</command> and <command>grops</command>.</para>
    8484</listitem>
    8585</varlistentry>
     
    9090<indexterm zone="ch-system-groff eqn"><primary sortas="b-eqn">eqn</primary></indexterm>
    9191<para>compiles descriptions of equations embedded
    92 within troff input files into commands that are understood by troff.</para>
     92within troff input files into commands that are understood by <command>troff</command>.</para>
    9393</listitem>
    9494</varlistentry>
     
    106106<listitem>
    107107<indexterm zone="ch-system-groff grn"><primary sortas="b-grn">grn</primary></indexterm>
    108 <para>is a groff preprocessor for gremlin files.</para>
     108<para>is a <command>groff</command> preprocessor for gremlin files.</para>
    109109</listitem>
    110110</varlistentry>
     
    114114<listitem>
    115115<indexterm zone="ch-system-groff grodvi"><primary sortas="b-grodvi">grodvi</primary></indexterm>
    116 <para>is a driver for groff that produces TeX dvi format.</para>
     116<para>is a driver for <command>groff</command> that produces TeX dvi format.</para>
    117117</listitem>
    118118</varlistentry>
     
    123123<indexterm zone="ch-system-groff groff"><primary sortas="b-groff">groff</primary></indexterm>
    124124<para>is a front-end to the groff document
    125 formatting system. Normally it runs the troff program and a post-processor
     125formatting system. Normally it runs the <command>troff</command> program and a post-processor
    126126appropriate for the selected device.</para>
    127127</listitem>
     
    140140<listitem>
    141141<indexterm zone="ch-system-groff grog"><primary sortas="b-grog">grog</primary></indexterm>
    142 <para>reads files and guesses which of the groff
    143 options -e, -man, -me, -mm, -ms, -p, -s, and -t are required for printing
    144 files, and reports the groff command including those options.</para>
     142<para>reads files and guesses which of the <command>groff</command>
     143options <parameter>-e</parameter>, <parameter>-man</parameter>,
     144<parameter>-me</parameter>, <parameter>-mm</parameter>,
     145<parameter>-ms</parameter>, <parameter>-p</parameter>, <parameter>-s</parameter>,
     146and <parameter>-t</parameter> are required for printing
     147files, and reports the <command>groff</command> command including those options.</para>
    145148</listitem>
    146149</varlistentry>
     
    150153<listitem>
    151154<indexterm zone="ch-system-groff grolbp"><primary sortas="b-grolbp">grolbp</primary></indexterm>
    152 <para>is a groff driver for Canon CAPSL printers
     155<para>is a <command>groff</command> driver for Canon CAPSL printers
    153156(LBP-4 and LBP-8 series laser printers).</para>
    154157</listitem>
     
    159162<listitem>
    160163<indexterm zone="ch-system-groff grolj4"><primary sortas="b-grolj4">grolj4</primary></indexterm>
    161 <para>is a driver for groff that produces output
     164<para>is a driver for <command>groff</command> that produces output
    162165in PCL5 format suitable for an HP Laserjet 4 printer.</para>
    163166</listitem>
     
    168171<listitem>
    169172<indexterm zone="ch-system-groff grops"><primary sortas="b-grops">grops</primary></indexterm>
    170 <para>translates the output of GNU troff to Postscript.</para>
     173<para>translates the output of GNU <command>troff</command> to PostScript.</para>
    171174</listitem>
    172175</varlistentry>
     
    176179<listitem>
    177180<indexterm zone="ch-system-groff grotty"><primary sortas="b-grotty">grotty</primary></indexterm>
    178 <para>translates the output of GNU troff into
     181<para>translates the output of GNU <command>troff</command> into
    179182a form suitable for typewriter-like devices.</para>
    180183</listitem>
     
    185188<listitem>
    186189<indexterm zone="ch-system-groff gtbl"><primary sortas="b-gtbl">gtbl</primary></indexterm>
    187 <para>is the GNU implementation of tbl.</para>
     190<para>is the GNU implementation of <command>tbl</command>.</para>
    188191</listitem>
    189192</varlistentry>
     
    194197<indexterm zone="ch-system-groff hpftodit"><primary sortas="b-hpftodit">hpftodit</primary></indexterm>
    195198<para>creates a font file for use with
    196 groff -Tlj4 from an HP-tagged font metric file.</para>
     199<command>groff -Tlj4</command> from an HP-tagged font metric file.</para>
    197200</listitem>
    198201</varlistentry>
     
    203206<indexterm zone="ch-system-groff indxbib"><primary sortas="b-indxbib">indxbib</primary></indexterm>
    204207<para>makes an inverted index for the bibliographic databases a specified file for
    205 use with refer, lookbib, and lkbib.</para>
     208use with <command>refer</command>, <command>lookbib</command>, and <command>lkbib</command>.</para>
    206209</listitem>
    207210</varlistentry>
     
    233236<listitem>
    234237<indexterm zone="ch-system-groff mmroff"><primary sortas="b-mmroff">mmroff</primary></indexterm>
    235 <para>is a simple preprocessor for groff.</para>
     238<para>is a simple preprocessor for <command>groff</command>.</para>
    236239</listitem>
    237240</varlistentry>
     
    250253<listitem>
    251254<indexterm zone="ch-system-groff nroff"><primary sortas="b-nroff">nroff</primary></indexterm>
    252 <para>is a script that emulates the nroff command using groff.</para>
     255<para>is a script that emulates the <command>nroff</command> command using <command>groff</command>.</para>
    253256</listitem>
    254257</varlistentry>
     
    258261<listitem>
    259262<indexterm zone="ch-system-groff pfbtops"><primary sortas="b-pfbtops">pfbtops</primary></indexterm>
    260 <para>translates a Postscript font in .pfb format to ASCII.</para>
     263<para>translates a PostScript font in <filename class="extension">.pfb</filename> format to ASCII.</para>
    261264</listitem>
    262265</varlistentry>
     
    267270<indexterm zone="ch-system-groff pic"><primary sortas="b-pic">pic</primary></indexterm>
    268271<para>compiles descriptions of pictures embedded
    269 within troff or TeX input files into commands understood by TeX or troff.</para>
     272within troff or TeX input files into commands understood by TeX or <command>troff</command>.</para>
    270273</listitem>
    271274</varlistentry>
     
    283286<listitem>
    284287<indexterm zone="ch-system-groff pre-grohtml"><primary sortas="b-pre-grohtml">pre-grohtml</primary></indexterm>
    285 <para>translates the output of GNU troff to html.</para>
     288<para>translates the output of GNU <command>troff</command> to html.</para>
    286289</listitem>
    287290</varlistentry>
     
    291294<listitem>
    292295<indexterm zone="ch-system-groff post-grohtml"><primary sortas="b-post-grohtml">post-grohtml</primary></indexterm>
    293 <para>translates the output of GNU troff to html.</para>
     296<para>translates the output of GNU <command>troff</command> to html.</para>
    294297</listitem>
    295298</varlistentry>
     
    321324<indexterm zone="ch-system-groff tbl"><primary sortas="b-tbl">tbl</primary></indexterm>
    322325<para>compiles descriptions of tables embedded
    323 within troff input files into commands that are understood by troff.</para>
     326within troff input files into commands that are understood by <command>troff</command>.</para>
    324327</listitem>
    325328</varlistentry>
     
    329332<listitem>
    330333<indexterm zone="ch-system-groff tfmtodit"><primary sortas="b-tfmtodit">tfmtodit</primary></indexterm>
    331 <para>creates a font file for use with groff -Tdvi.</para>
     334<para>creates a font file for use with <command>groff -Tdvi</command>.</para>
    332335</listitem>
    333336</varlistentry>
     
    337340<listitem>
    338341<indexterm zone="ch-system-groff troff"><primary sortas="b-troff">troff</primary></indexterm>
    339 <para>is highly compatible with Unix troff. Usually it should be invoked using the
    340 groff command, which will also run preprocessors and post-processors in the
     342<para>is highly compatible with Unix <command>troff</command>. Usually it should be invoked using the
     343<command>groff</command> command, which will also run preprocessors and post-processors in the
    341344appropriate order and with the appropriate options.</para>
    342345</listitem>
     
    347350<listitem>
    348351<indexterm zone="ch-system-groff zsoelim"><primary sortas="b-zsoelim">zsoelim</primary></indexterm>
    349 <para>is the GNU implementation of soelim.</para>
     352<para>is the GNU implementation of <command>soelim</command>.</para>
    350353</listitem>
    351354</varlistentry>
  • chapter06/grub.xml

    r3042296 ref57e3b  
    3030
    3131<para>This package is known to behave badly when you have changed its default
    32 optimization flags (including the -march and -mcpu options). Therefore, if you
     32optimization flags (including the <parameter>-march</parameter> and
     33<parameter>-mcpu</parameter> options). Therefore, if you
    3334have defined any environment variables that override default optimizations,
    3435such as CFLAGS and CXXFLAGS, we recommend un-setting them when building
  • chapter06/gzip.xml

    r3042296 ref57e3b  
    107107<listitem>
    108108<indexterm zone="ch-system-gzip zcmp"><primary sortas="b-zcmp">zcmp</primary></indexterm>
    109 <para>runs cmp on gzipped files.</para>
     109<para>runs <command>cmp</command> on gzipped files.</para>
    110110</listitem>
    111111</varlistentry>
     
    115115<listitem>
    116116<indexterm zone="ch-system-gzip zdiff"><primary sortas="b-zdiff">zdiff</primary></indexterm>
    117 <para>runs diff on gzipped files.</para>
     117<para>runs <command>diff</command> on gzipped files.</para>
    118118</listitem>
    119119</varlistentry>
     
    123123<listitem>
    124124<indexterm zone="ch-system-gzip zegrep"><primary sortas="b-zegrep">zegrep</primary></indexterm>
    125 <para>runs egrep on gzipped files.</para>
     125<para>runs <command>egrep</command> on gzipped files.</para>
    126126</listitem>
    127127</varlistentry>
     
    131131<listitem>
    132132<indexterm zone="ch-system-gzip zfgrep"><primary sortas="b-zfgrep">zfgrep</primary></indexterm>
    133 <para>runs fgrep on gzipped files.</para>
     133<para>runs <command>fgrep</command> on gzipped files.</para>
    134134</listitem>
    135135</varlistentry>
     
    139139<listitem>
    140140<indexterm zone="ch-system-gzip zforce"><primary sortas="b-zforce">zforce</primary></indexterm>
    141 <para>forces a .gz extension on all given files
    142 that are gzipped files, so that gzip will not compress them again. This can be
     141<para>forces a <filename class="extension">.gz</filename> extension on all given files
     142that are gzipped files, so that <command>gzip</command> will not compress them again. This can be
    143143useful when file names were truncated during a file transfer.</para>
    144144</listitem>
     
    149149<listitem>
    150150<indexterm zone="ch-system-gzip zgrep"><primary sortas="b-zgrep">zgrep</primary></indexterm>
    151 <para>runs grep on gzipped files.</para>
     151<para>runs <command>grep</command> on gzipped files.</para>
    152152</listitem>
    153153</varlistentry>
     
    157157<listitem>
    158158<indexterm zone="ch-system-gzip zless"><primary sortas="b-zless">zless</primary></indexterm>
    159 <para>runs less on gzipped files.</para>
     159<para>runs <command>less</command> on gzipped files.</para>
    160160</listitem>
    161161</varlistentry>
     
    165165<listitem>
    166166<indexterm zone="ch-system-gzip zmore"><primary sortas="b-zmore">zmore</primary></indexterm>
    167 <para>runs more on gzipped files.</para>
     167<para>runs <command>more</command> on gzipped files.</para>
    168168</listitem>
    169169</varlistentry>
     
    173173<listitem>
    174174<indexterm zone="ch-system-gzip znew"><primary sortas="b-znew">znew</primary></indexterm>
    175 <para>re-compresses files from compress format to gzip format -- .Z to .gz.</para>
     175<para>re-compresses files from <command>compress</command> format to <command>gzip</command> format
     176-- <filename class="extension">.Z</filename> to <filename class="extension">.gz</filename>.</para>
    176177</listitem>
    177178</varlistentry>
  • chapter06/hotplug.xml

    r3042296 ref57e3b  
    3030<para>
    3131Apply the patch that avoids bogus dependencies of the
    32 <filename>usb.rc</filename> script
     32<command>usb.rc</command> script
    3333upon <application>which</application> and
    3434<application>usbutils</application> packages:
     
    4646<para>
    4747At last, there is an optional patch that adds ISAPNP hardware detection
    48 capabilities to hotplug. It is not well tested. If you chose to apply it,
     48capabilities to Hotplug. It is not well tested. If you chose to apply it,
    4949run the following command:
    5050</para>
     
    5353
    5454
    55 <para>And finally install the hotplug package:</para>
     55<para>And finally install the Hotplug package:</para>
    5656
    5757<screen><userinput>make install</userinput></screen>
    5858
    59 <para>Remove hotplug's not-so-clean init script, since we're going to be using
     59<para>Remove Hotplug's not-so-clean init script, since we're going to be using
    6060the script including with LFS-Bootscripts:</para>
    6161
     
    6666<filename>/etc/modprobe.conf</filename>:</para>
    6767
    68 <screen><userinput>cat &gt;&gt;/etc/modprobe.conf &lt;&lt;"EOF"</userinput>
     68<screen><userinput>cat &gt;&gt;/etc/modprobe.conf &lt;&lt;"EOF"
    6969# Begin /etc/modprobe.conf entries for ISAPNP hardware detection script
    7070# by Marco d'Itri
     
    7777alias pnp:dPNPB02F analog
    7878# End /etc/modprobe.conf entries for ISAPNP hardware detection script
    79 <userinput>EOF</userinput></screen>
     79EOF</userinput></screen>
    8080
    8181<para>These entries may become unneded for newer versions of Linux kernel,
     
    9595sortas="b-hotplug">hotplug</primary></indexterm>
    9696<para>This script is called by default by Linux kernel when something
    97 changes in its internal state (e.g. a new device is added or removed).</para>
     97changes in its internal state (e.g., a new device is added or removed).</para>
    9898</listitem>
    9999</varlistentry>
     
    103103<filename class="directory">/etc/hotplug</filename> directory</term>
    104104<listitem>
    105 <para>These scripts are used for cold plugging, i.e. detection and other
     105<indexterm zone="ch-system-hotplug hotplug-rc"><primary
     106sortas="e-/etc/hotplug/*.rc">/etc/hotplug/*.rc</primary></indexterm>
     107<para>These scripts are used for cold plugging, i.e., detection and other
    106108specific actions upon hardware already present during system startup.
    107109They are called by the <filename>hotplug</filename> initscript that comes
     
    118120<filename class="directory">/etc/hotplug</filename> directory</term>
    119121<listitem>
     122<indexterm zone="ch-system-hotplug hotplug-agent"><primary
     123sortas="e-/etc/hotplug/*.agent">/etc/hotplug/*.agent</primary></indexterm>
    120124<para>These scripts are called by <command>/sbin/hotplug</command>
    121125in response to different types of hotplug events generated by the kernel.
     
    129133<term><filename>/etc/hotplug/hotplug.functions</filename></term>
    130134<listitem>
    131 <para>This file contains common functions used by other scripts in hotplug
     135<indexterm zone="ch-system-hotplug hotplug-functions"><primary
     136sortas="e-/etc/hotplug/hotplug.functions">/etc/hotplug/hotplug.functions</primary></indexterm>
     137<para>This file contains common functions used by other scripts in Hotplug
    132138package.
    133139</para>
     
    149155<term><filename class="directory">/etc/hotplug/{pci,usb}</filename></term>
    150156<listitem>
     157<indexterm zone="ch-system-hotplug hotplug-subdirs"><primary
     158sortas="e-/etc/hotplug/{pci,usb}">/etc/hotplug/{pci,usb}</primary></indexterm>
    151159<para>These directories are supposed to contain user-written handlers for
    152160hotplug events.
     
    169177<term><filename class="directory">/etc/hotplug.d</filename></term>
    170178<listitem>
     179<indexterm zone="ch-system-hotplug hotplug-hotplug.d"><primary
     180sortas="e-/etc/hotplug.d">/etc/hotplug.d</primary></indexterm>
    171181<para>This directory contains programs (or symlinks to them)
    172182that are interested in receiving all hotplug events. E.g.,
  • chapter06/inetutils.xml

    r3042296 ref57e3b  
    5151<variablelist>
    5252<varlistentry>
    53 <term><userinput>--disable-logger</userinput></term>
     53<term><parameter>--disable-logger</parameter></term>
    5454<listitem><para>This option
    55 prevents Inetutils from installing the logger program, which is used by
     55prevents Inetutils from installing the <command>logger</command> program, which is used by
    5656scripts to pass messages to the System Log Daemon. We do not install it
    5757because Util-linux installs a better version later.</para></listitem>
     
    5959
    6060<varlistentry>
    61 <term><userinput>--disable-syslogd</userinput></term>
     61<term><parameter>--disable-syslogd</parameter></term>
    6262<listitem><para>This option
    6363prevents Inetutils from installing the System Log Daemon, which is
     
    6666
    6767<varlistentry>
    68 <term><userinput>--disable-whois</userinput></term>
     68<term><parameter>--disable-whois</parameter></term>
    6969<listitem><para>This option disables
    7070the building of the Inetutils whois client, which is woefully out of date.
     
    7373
    7474<varlistentry>
    75 <term><userinput>--disable-servers</userinput></term>
     75<term><parameter>--disable-servers</parameter></term>
    7676<listitem><para>This disables the
    7777installation of the various network servers included as part of the Inetutils
  • chapter06/introduction.xml

    r3042296 ref57e3b  
    5353information about the package: a concise description of what it contains,
    5454approximately how long it will take to build it, how much disk space it needs
    55 during this building process, the official download location of the package
    56 (in case you just want to update a few of them), and which other packages it
     55during this building process, and which other packages it
    5756needs in order to be built successfully. After the installation instructions
    5857follows a list of programs and libraries that the package installs, together
  • chapter06/kbd.xml

    r3042296 ref57e3b  
    146146<para>is an obsolete program that used to load
    147147a user-defined output character mapping table into the console driver. This is
    148 now done by setfont.</para>
     148now done by <command>setfont</command>.</para>
    149149</listitem>
    150150</varlistentry>
     
    196196<indexterm zone="ch-system-kbd setleds"><primary sortas="b-setleds">setleds</primary></indexterm>
    197197<para>sets the keyboard flags and LEDs. Many
    198 people find it useful to have "Num Lock" on by default, setleds +num achieves this.</para>
     198people find it useful to have <quote>Num Lock</quote> on by default, <command>setleds +num</command> achieves this.</para>
    199199</listitem>
    200200</varlistentry>
  • chapter06/less.xml

    r3042296 ref57e3b  
    3737<variablelist>
    3838<varlistentry>
    39 <term><userinput>--sysconfdir=/etc</userinput></term>
     39<term><parameter>--sysconfdir=/etc</parameter></term>
    4040<listitem><para>This option tells the programs created by the package to look in
    41 <filename>/etc</filename> for their configuration files.</para></listitem>
     41<filename class="directory">/etc</filename> for their configuration files.</para></listitem>
    4242</varlistentry>
    4343</variablelist>
     
    8383<listitem>
    8484<indexterm zone="ch-system-less lesskey"><primary sortas="b-lesskey">lesskey</primary></indexterm>
    85 <para>is used to specify the key bindings for less.</para>
     85<para>is used to specify the key bindings for <command>less</command>.</para>
    8686</listitem>
    8787</varlistentry>
  • chapter06/libtool.xml

    r3042296 ref57e3b  
    7676
    7777<varlistentry id="libltdl">
    78 <term><command>libltdl</command></term>
     78<term><filename class="libraryfile">libltdl</filename></term>
    7979<listitem>
    8080<indexterm zone="ch-system-libtool libltdl"><primary sortas="c-libltdl">libltdl</primary></indexterm>
  • chapter06/linux-libc-headers.xml

    r3042296 ref57e3b  
    2626
    2727<para>For years it has been common practice to use so-called <quote>raw</quote>
    28 kernel headers (straight from a kernel tarball) in /usr/include, but over the
     28kernel headers (straight from a kernel tarball) in <filename class="directory">/usr/include</filename>, but over the
    2929last few years, the kernel developers have taken a strong stance that such
    3030things should not be done.  Thus was born the linux-libc-headers project,
     
    4747</sect2>
    4848
     49
     50<sect2 id="contents-linux-libc-headers" role="content"><title>Contents of Linux-Libc-Headers</title>
     51
     52<segmentedlist>
     53<segtitle>Installed headers</segtitle>
     54<seglistitem><seg>/usr/include/{asm,linux}/*.h</seg></seglistitem>
     55</segmentedlist>
     56
     57<variablelist><title>Short description</title>
     58
     59<varlistentry id="linux-libc-headers">
     60<term><filename class="headerfile">/usr/include/{asm,linux}/*.h</filename></term>
     61<listitem>
     62<indexterm zone="ch-system-linux-libc-headers linux-libc-headers"><primary sortas="e-/usr/include/{asm,linux}/*.h">/usr/include/{asm,linux}/*.h</primary></indexterm>
     63<para>This files are the Linux headers API.</para>
     64</listitem>
     65</varlistentry>
     66</variablelist>
     67
     68</sect2>
     69
    4970</sect1>
  • chapter06/m4.xml

    r3042296 ref57e3b  
    6363while expanding the macros that they contain. These macros are either built-in
    6464or user-defined and can take any number of arguments. Besides just doing macro
    65 expansion, m4 has built-in functions for including named files, running Unix
     65expansion, <command>m4</command> has built-in functions for including named files, running Unix
    6666commands, doing integer arithmetic, manipulating text in various ways,
    67 recursion, and so on. The m4 program can be used either as a front-end to a
     67recursion, and so on. The <command>m4</command> program can be used either as a front-end to a
    6868compiler or as a macro processor in its own right.</para>
    6969</listitem>
  • chapter06/man.xml

    r3042296 ref57e3b  
    3737<screen><userinput>patch -Np1 -i ../man-&man-version;-80cols-1.patch</userinput></screen>
    3838
    39 <para>The second is a sed substitution to add the <emphasis>-R</emphasis>
     39<para>The second is a sed substitution to add the <parameter>-R</parameter>
    4040switch to the <emphasis>PAGER</emphasis> variable so that escape sequences are
    4141properly handled by Less:</para>
     
    5757<variablelist>
    5858<varlistentry>
    59 <term><userinput>-confdir=/etc</userinput></term>
     59<term><parameter>-confdir=/etc</parameter></term>
    6060<listitem><para>This tells the
    6161<command>man</command> program to look for the <filename>man.conf</filename>
    62 configuration file in the <filename>/etc</filename> directory.</para></listitem>
     62configuration file in the <filename class="directory">/etc</filename> directory.</para></listitem>
    6363</varlistentry>
    6464</variablelist>
     
    7373
    7474<note><para>If you wish to disable SGR (Select Graphic Rendition) escape sequences, you should edit the
    75 <filename>man.conf</filename> file and add the <emphasis>-c</emphasis> switch
     75<filename>man.conf</filename> file and add the <parameter>-c</parameter> switch
    7676to NROFF.</para></note>
    7777
    7878<para>If your character set uses 8-bit characters, search for the line
    79 beginning with "NROFF" in /etc/man.conf, and verify that it coincides
     79beginning with <quote>NROFF</quote> in <filename>/etc/man.conf</filename>, and verify that it coincides
    8080with the following:</para>
    8181
    8282<screen>NROFF  /usr/bin/nroff -Tlatin1 -mandoc</screen>
    8383
    84 <para>Note that you should use "latin1" even if it is not the character set
     84<para>Note that you should use <quote>latin1</quote> even if it is not the character set
    8585of your locale. The reason is that,
    8686according to the specification, <application>groff</application> has
     
    8989pages are therefore really a hack. When formatting manual pages,
    9090<application>groff</application> thinks that they are in the ISO-8859-1
    91 encoding and this <emphasis>-Tlatin1</emphasis> switch tells
     91encoding and this <parameter>-Tlatin1</parameter> switch tells
    9292<application>groff</application> to use the same encoding for output.
    9393Since <application>groff</application> does no recoding of input characters,
  • chapter06/mktemp.xml

    r3042296 ref57e3b  
    2929<para>Many scripts still use the deprecated <command>tempfile</command>
    3030program, which has functionality much the same as <command>mktemp</command>.
    31 Patch mktemp to include a <command>tempfile</command> wrapper:</para>
     31Patch Mktemp to include a <command>tempfile</command> wrapper:</para>
    3232
    3333<screen><userinput>patch -Np1 -i ../mktemp-&mktemp-version;-add_tempfile-1.patch</userinput></screen>
     
    4141<variablelist>
    4242<varlistentry>
    43 <term><userinput>--with-libc</userinput></term>
     43<term><parameter>--with-libc</parameter></term>
    4444<listitem><para>This causes the <command>mktemp</command> program to
    4545use the <emphasis>mkstemp</emphasis> and <emphasis>mkdtemp</emphasis>
     
    5454<para>Now install it:</para>
    5555
    56 <screen><userinput>make install</userinput>
    57 <userinput>make install-tempfile</userinput></screen>
     56<screen><userinput>make install
     57make install-tempfile</userinput></screen>
    5858
    5959</sect2>
  • chapter06/module-init-tools.xml

    r3042296 ref57e3b  
    140140<indexterm zone="ch-system-module-init-tools modprobe"><primary sortas="b-modprobe">modprobe</primary></indexterm>
    141141<para>uses a dependency file, created by
    142 depmod, to automatically load the relevant modules.</para>
     142<command>depmod</command>, to automatically load the relevant modules.</para>
    143143</listitem>
    144144</varlistentry>
  • chapter06/ncurses.xml

    r3042296 ref57e3b  
    5050<screen><userinput>chmod 644 /usr/lib/libncurses++.a</userinput></screen>
    5151
    52 <para>Move the libraries to the <filename>/lib</filename> directory,
     52<para>Move the libraries to the <filename class="directory">/lib</filename> directory,
    5353where they're expected to reside:</para>
    5454
     
    164164
    165165<varlistentry id="libncurses">
    166 <term><command>libncurses*</command></term>
     166<term><filename class="libraryfile">>libncurses*</filename></term>
    167167<listitem>
    168168<indexterm zone="ch-system-ncurses libncurses"><primary sortas="c-libncurses*">libncurses*</primary></indexterm>
    169169<para>contains functions to display text in
    170170many complicated ways on a terminal screen. A good example of the use of these
    171 functions is the menu displayed during the kernel's make menuconfig.</para>
     171functions is the menu displayed during the kernel's <command>make menuconfig</command>.</para>
    172172</listitem>
    173173</varlistentry>
    174174
    175175<varlistentry id="libform">
    176 <term><command>libform*</command></term>
     176<term><filename class="libraryfile">libform*</filename></term>
    177177<listitem>
    178178<indexterm zone="ch-system-ncurses libform"><primary sortas="c-libform*">libform*</primary></indexterm>
     
    182182
    183183<varlistentry id="libmenu">
    184 <term><command>libmenu*</command></term>
     184<term><filename class="libraryfile">libmenu*</filename></term>
    185185<listitem>
    186186<indexterm zone="ch-system-ncurses libmenu"><primary sortas="c-libmenu*">libmenu*</primary></indexterm>
     
    190190
    191191<varlistentry id="libpanel">
    192 <term><command>libpanel*</command></term>
     192<term><filename class="libraryfile">libpanel*</filename></term>
    193193<listitem>
    194194<indexterm zone="ch-system-ncurses libpanel"><primary sortas="c-libpanel*">libpanel*</primary></indexterm>
  • general.ent

    r3042296 ref57e3b  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!ENTITY version "CVS-20040618">
    3 <!ENTITY releasedate "June 18, 2004">
     2<!ENTITY version "CVS-20040619">
     3<!ENTITY releasedate "June 19, 2004">
    44<!ENTITY milestone "6.0">
    55
Note: See TracChangeset for help on using the changeset viewer.