Changeset 013bb45 for chapter06/less.xml
- Timestamp:
- 02/05/2006 01:19:25 PM (18 years ago)
- Children:
- f553044
- Parents:
- 0a78553
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
chapter06/less.xml
r0a78553 r013bb45 1 1 <?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" [ 3 4 <!ENTITY % general-entities SYSTEM "../general.ent"> 4 5 %general-entities; 5 6 ]> 7 6 8 <sect1 id="ch-system-less" role="wrap"> 7 <title>Less-&less-version;</title> 8 <?dbhtml filename="less.html"?> 9 <?dbhtml filename="less.html"?> 9 10 10 <indexterm zone="ch-system-less"><primary sortas="a-Less">Less</primary></indexterm>11 <title>Less-&less-version;</title> 11 12 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> 14 16 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/> 20 19 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> 27 21 28 <sect2 role="installation"> 29 <title>Installation of Less</title> 22 <segmentedlist> 23 <segtitle>&buildtime;</segtitle> 24 <segtitle>&diskspace;</segtitle> 30 25 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> 32 47 33 48 <screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen> 34 49 35 <para>The meaning of the configure options:</para> 50 <variablelist> 51 <title>The meaning of the configure options:</title> 36 52 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> 44 61 45 <para>Compile the package:</para> 62 </variablelist> 63 64 <para>Compile the package:</para> 46 65 47 66 <screen><userinput>make</userinput></screen> 48 67 49 <para>This package does not come with a test suite.</para>68 <para>This package does not come with a test suite.</para> 50 69 51 <para>Install the package:</para>70 <para>Install the package:</para> 52 71 53 72 <screen><userinput>make install</userinput></screen> 54 </sect2>55 73 56 <sect2 id="contents-less" role="content"><title>Contents of Less</title>74 </sect2> 57 75 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> 62 78 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> 66 81 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> 75 86 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"?> 84 91 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> 93 102 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> 95 127 96 128 </sect1> 97
Note:
See TracChangeset
for help on using the changeset viewer.