[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[b06ca36] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[673b0d8] | 4 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
[bdea25ce] | 7 |
|
---|
[81fd230] | 8 | <sect1 id="ch-system-less" role="wrap">
|
---|
[bdea25ce] | 9 | <?dbhtml filename="less.html"?>
|
---|
| 10 |
|
---|
[e747759] | 11 | <sect1info condition="script">
|
---|
| 12 | <productname>less</productname>
|
---|
| 13 | <productnumber>&less-version;</productnumber>
|
---|
| 14 | <address>&less-url;</address>
|
---|
| 15 | </sect1info>
|
---|
| 16 |
|
---|
[bdea25ce] | 17 | <title>Less-&less-version;</title>
|
---|
| 18 |
|
---|
| 19 | <indexterm zone="ch-system-less">
|
---|
| 20 | <primary sortas="a-Less">Less</primary>
|
---|
| 21 | </indexterm>
|
---|
| 22 |
|
---|
| 23 | <sect2 role="package">
|
---|
| 24 | <title/>
|
---|
| 25 |
|
---|
| 26 | <para>The Less package contains a text file viewer.</para>
|
---|
[673b0d8] | 27 |
|
---|
[bdea25ce] | 28 | <segmentedlist>
|
---|
| 29 | <segtitle>&buildtime;</segtitle>
|
---|
| 30 | <segtitle>&diskspace;</segtitle>
|
---|
[6370fa6] | 31 |
|
---|
[bdea25ce] | 32 | <seglistitem>
|
---|
[e4a5635] | 33 | <seg>&less-ch6-sbu;</seg>
|
---|
| 34 | <seg>&less-ch6-du;</seg>
|
---|
[bdea25ce] | 35 | </seglistitem>
|
---|
| 36 | </segmentedlist>
|
---|
[5888299] | 37 |
|
---|
[bdea25ce] | 38 | </sect2>
|
---|
[73aedd1d] | 39 |
|
---|
[bdea25ce] | 40 | <sect2 role="installation">
|
---|
| 41 | <title>Installation of Less</title>
|
---|
| 42 |
|
---|
| 43 | <para>Prepare Less for compilation:</para>
|
---|
[73aedd1d] | 44 |
|
---|
[0445a3d] | 45 | <screen><userinput remap="configure">./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
|
---|
[73aedd1d] | 46 |
|
---|
[bdea25ce] | 47 | <variablelist>
|
---|
| 48 | <title>The meaning of the configure options:</title>
|
---|
| 49 |
|
---|
| 50 | <varlistentry>
|
---|
| 51 | <term><parameter>--sysconfdir=/etc</parameter></term>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>This option tells the programs created by the package to look
|
---|
| 54 | in <filename class="directory">/etc</filename> for the configuration
|
---|
| 55 | files.</para>
|
---|
| 56 | </listitem>
|
---|
| 57 | </varlistentry>
|
---|
[81fd230] | 58 |
|
---|
[bdea25ce] | 59 | </variablelist>
|
---|
[81fd230] | 60 |
|
---|
[bdea25ce] | 61 | <para>Compile the package:</para>
|
---|
[73aedd1d] | 62 |
|
---|
[0445a3d] | 63 | <screen><userinput remap="make">make</userinput></screen>
|
---|
[73aedd1d] | 64 |
|
---|
[bdea25ce] | 65 | <para>This package does not come with a test suite.</para>
|
---|
[0be3d41] | 66 |
|
---|
[bdea25ce] | 67 | <para>Install the package:</para>
|
---|
[73aedd1d] | 68 |
|
---|
[0445a3d] | 69 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
[673b0d8] | 70 |
|
---|
[bdea25ce] | 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 id="contents-less" role="content">
|
---|
| 74 | <title>Contents of Less</title>
|
---|
| 75 |
|
---|
| 76 | <segmentedlist>
|
---|
| 77 | <segtitle>Installed programs</segtitle>
|
---|
| 78 |
|
---|
| 79 | <seglistitem>
|
---|
| 80 | <seg>less, lessecho, and lesskey</seg>
|
---|
| 81 | </seglistitem>
|
---|
| 82 | </segmentedlist>
|
---|
| 83 |
|
---|
| 84 | <variablelist>
|
---|
| 85 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 86 | <?dbfo list-presentation="list"?>
|
---|
| 87 | <?dbhtml list-presentation="table"?>
|
---|
| 88 |
|
---|
| 89 | <varlistentry id="less">
|
---|
| 90 | <term><command>less</command></term>
|
---|
| 91 | <listitem>
|
---|
| 92 | <para>A file viewer or pager; it displays the contents of the given
|
---|
| 93 | file, letting the user scroll, find strings, and jump to marks</para>
|
---|
| 94 | <indexterm zone="ch-system-less less">
|
---|
| 95 | <primary sortas="b-less">less</primary>
|
---|
| 96 | </indexterm>
|
---|
| 97 | </listitem>
|
---|
| 98 | </varlistentry>
|
---|
| 99 |
|
---|
| 100 | <varlistentry id="lessecho">
|
---|
| 101 | <term><command>lessecho</command></term>
|
---|
| 102 | <listitem>
|
---|
| 103 | <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
|
---|
| 104 | and <emphasis>?</emphasis>, in filenames on Unix systems</para>
|
---|
| 105 | <indexterm zone="ch-system-less lessecho">
|
---|
| 106 | <primary sortas="b-lessecho">lessecho</primary>
|
---|
| 107 | </indexterm>
|
---|
| 108 | </listitem>
|
---|
| 109 | </varlistentry>
|
---|
| 110 |
|
---|
| 111 | <varlistentry id="lesskey">
|
---|
| 112 | <term><command>lesskey</command></term>
|
---|
| 113 | <listitem>
|
---|
| 114 | <para>Used to specify the key bindings for <command>less</command></para>
|
---|
| 115 | <indexterm zone="ch-system-less lesskey">
|
---|
| 116 | <primary sortas="b-lesskey">lesskey</primary>
|
---|
| 117 | </indexterm>
|
---|
| 118 | </listitem>
|
---|
| 119 | </varlistentry>
|
---|
| 120 |
|
---|
| 121 | </variablelist>
|
---|
| 122 |
|
---|
| 123 | </sect2>
|
---|
[81fd230] | 124 |
|
---|
[bdea25ce] | 125 | </sect1>
|
---|