Changeset 013bb45 for chapter06/less.xml


Ignore:
Timestamp:
02/05/2006 01:19:25 PM (18 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
f553044
Parents:
0a78553
Message:

Ported r7351 from trunk to udev_update branch.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/less.xml

    r0a78553 r013bb45  
    11<?xml version="1.0" encoding="ISO-8859-1"?>
    2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
     2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
     3  "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
    34  <!ENTITY % general-entities SYSTEM "../general.ent">
    45  %general-entities;
    56]>
     7
    68<sect1 id="ch-system-less" role="wrap">
    7 <title>Less-&less-version;</title>
    8 <?dbhtml filename="less.html"?>
     9  <?dbhtml filename="less.html"?>
    910
    10 <indexterm zone="ch-system-less"><primary sortas="a-Less">Less</primary></indexterm>
     11  <title>Less-&less-version;</title>
    1112
    12 <sect2 role="package"><title/>
    13 <para>The Less package contains a text file viewer.</para>
     13  <indexterm zone="ch-system-less">
     14    <primary sortas="a-Less">Less</primary>
     15  </indexterm>
    1416
    15 <segmentedlist>
    16 <segtitle>&buildtime;</segtitle>
    17 <segtitle>&diskspace;</segtitle>
    18 <seglistitem><seg>0.1 SBU</seg><seg>2.3 MB</seg></seglistitem>
    19 </segmentedlist>
     17  <sect2 role="package">
     18    <title/>
    2019
    21 <segmentedlist>
    22 <segtitle>&dependencies;</segtitle>
    23 <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
    24 GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
    25 </segmentedlist>
    26 </sect2>
     20    <para>The Less package contains a text file viewer.</para>
    2721
    28 <sect2 role="installation">
    29 <title>Installation of Less</title>
     22    <segmentedlist>
     23      <segtitle>&buildtime;</segtitle>
     24      <segtitle>&diskspace;</segtitle>
    3025
    31 <para>Prepare Less for compilation:</para>
     26      <seglistitem>
     27        <seg>0.1 SBU</seg>
     28        <seg>2.3 MB</seg>
     29      </seglistitem>
     30    </segmentedlist>
     31
     32    <segmentedlist>
     33      <segtitle>&dependencies;</segtitle>
     34
     35      <seglistitem>
     36        <seg>Bash, Binutils, Coreutils, Diffutils, GCC, Glibc, Grep, Make,
     37        Ncurses, and Sed</seg>
     38      </seglistitem>
     39    </segmentedlist>
     40
     41  </sect2>
     42
     43  <sect2 role="installation">
     44    <title>Installation of Less</title>
     45
     46    <para>Prepare Less for compilation:</para>
    3247
    3348<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
    3449
    35 <para>The meaning of the configure options:</para>
     50    <variablelist>
     51      <title>The meaning of the configure options:</title>
    3652
    37 <variablelist>
    38 <varlistentry>
    39 <term><parameter>--sysconfdir=/etc</parameter></term>
    40 <listitem><para>This option tells the programs created by the package to look in
    41 <filename class="directory">/etc</filename> for the configuration files.</para></listitem>
    42 </varlistentry>
    43 </variablelist>
     53      <varlistentry>
     54        <term><parameter>--sysconfdir=/etc</parameter></term>
     55        <listitem>
     56          <para>This option tells the programs created by the package to look
     57          in <filename class="directory">/etc</filename> for the configuration
     58          files.</para>
     59        </listitem>
     60      </varlistentry>
    4461
    45 <para>Compile the package:</para>
     62    </variablelist>
     63
     64    <para>Compile the package:</para>
    4665
    4766<screen><userinput>make</userinput></screen>
    4867
    49 <para>This package does not come with a test suite.</para>
     68    <para>This package does not come with a test suite.</para>
    5069
    51 <para>Install the package:</para>
     70    <para>Install the package:</para>
    5271
    5372<screen><userinput>make install</userinput></screen>
    54 </sect2>
    5573
    56 <sect2 id="contents-less" role="content"><title>Contents of Less</title>
     74  </sect2>
    5775
    58 <segmentedlist>
    59 <segtitle>Installed programs</segtitle>
    60 <seglistitem><seg>less, lessecho, and lesskey</seg></seglistitem>
    61 </segmentedlist>
     76  <sect2 id="contents-less" role="content">
     77    <title>Contents of Less</title>
    6278
    63 <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
    64 <?dbfo list-presentation="list"?>
    65 <?dbhtml list-presentation="table"?>
     79    <segmentedlist>
     80      <segtitle>Installed programs</segtitle>
    6681
    67 <varlistentry id="less">
    68 <term><command>less</command></term>
    69 <listitem>
    70 <para>A file viewer or pager; it displays the contents of the given
    71 file, letting the user scroll, find strings, and jump to marks</para>
    72 <indexterm zone="ch-system-less less"><primary sortas="b-less">less</primary></indexterm>
    73 </listitem>
    74 </varlistentry>
     82      <seglistitem>
     83        <seg>less, lessecho, and lesskey</seg>
     84      </seglistitem>
     85    </segmentedlist>
    7586
    76 <varlistentry id="lessecho">
    77 <term><command>lessecho</command></term>
    78 <listitem>
    79 <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
    80 and <emphasis>?</emphasis>, in filenames on Unix systems</para>
    81 <indexterm zone="ch-system-less lessecho"><primary sortas="b-lessecho">lessecho</primary></indexterm>
    82 </listitem>
    83 </varlistentry>
     87    <variablelist>
     88      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     89      <?dbfo list-presentation="list"?>
     90      <?dbhtml list-presentation="table"?>
    8491
    85 <varlistentry id="lesskey">
    86 <term><command>lesskey</command></term>
    87 <listitem>
    88 <para>Used to specify the key bindings for <command>less</command></para>
    89 <indexterm zone="ch-system-less lesskey"><primary sortas="b-lesskey">lesskey</primary></indexterm>
    90 </listitem>
    91 </varlistentry>
    92 </variablelist>
     92      <varlistentry id="less">
     93        <term><command>less</command></term>
     94        <listitem>
     95          <para>A file viewer or pager; it displays the contents of the given
     96          file, letting the user scroll, find strings, and jump to marks</para>
     97          <indexterm zone="ch-system-less less">
     98            <primary sortas="b-less">less</primary>
     99          </indexterm>
     100        </listitem>
     101      </varlistentry>
    93102
    94 </sect2>
     103      <varlistentry id="lessecho">
     104        <term><command>lessecho</command></term>
     105        <listitem>
     106          <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
     107          and <emphasis>?</emphasis>, in filenames on Unix systems</para>
     108          <indexterm zone="ch-system-less lessecho">
     109            <primary sortas="b-lessecho">lessecho</primary>
     110          </indexterm>
     111        </listitem>
     112      </varlistentry>
     113
     114      <varlistentry id="lesskey">
     115        <term><command>lesskey</command></term>
     116        <listitem>
     117          <para>Used to specify the key bindings for <command>less</command></para>
     118          <indexterm zone="ch-system-less lesskey">
     119            <primary sortas="b-lesskey">lesskey</primary>
     120          </indexterm>
     121        </listitem>
     122      </varlistentry>
     123
     124    </variablelist>
     125
     126  </sect2>
    95127
    96128</sect1>
    97 
Note: See TracChangeset for help on using the changeset viewer.