[3f8be484] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[aa18ac0] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
[3f8be484] | 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 | ]>
|
---|
| 7 |
|
---|
| 8 | <sect1 id="ch-system-less" role="wrap">
|
---|
| 9 | <?dbhtml filename="less.html"?>
|
---|
| 10 |
|
---|
| 11 | <title>Less-&less-version;</title>
|
---|
| 12 |
|
---|
| 13 | <indexterm zone="ch-system-less">
|
---|
| 14 | <primary sortas="a-Less">Less</primary>
|
---|
| 15 | </indexterm>
|
---|
| 16 |
|
---|
| 17 | <sect2 role="package">
|
---|
| 18 | <title/>
|
---|
| 19 |
|
---|
| 20 | <para>The Less package contains a text file viewer.</para>
|
---|
| 21 |
|
---|
| 22 | </sect2>
|
---|
| 23 |
|
---|
| 24 | <sect2 role="installation">
|
---|
| 25 | <title>Installation of Less</title>
|
---|
| 26 |
|
---|
| 27 | <para os="a">Prepare Less for compilation:</para>
|
---|
| 28 |
|
---|
[7cd7f99] | 29 | <screen os="b"><userinput>./configure \
|
---|
| 30 | --prefix=/usr \
|
---|
| 31 | --sysconfdir=/etc</userinput></screen>
|
---|
[3f8be484] | 32 |
|
---|
[4ad54f3] | 33 | <para os="c">Compile the package:</para>
|
---|
[3f8be484] | 34 |
|
---|
[4ad54f3] | 35 | <screen os="d"><userinput>make</userinput></screen>
|
---|
[3f8be484] | 36 |
|
---|
[4ad54f3] | 37 | <para os="e">This package does not come with a test suite.</para>
|
---|
[3f8be484] | 38 |
|
---|
[4ad54f3] | 39 | <para os="f">Install the package:</para>
|
---|
[3f8be484] | 40 |
|
---|
[4ad54f3] | 41 | <screen os="g"><userinput>make install</userinput></screen>
|
---|
[0ba77ba2] | 42 |
|
---|
[4ad54f3] | 43 | <para os="h">Move <command>less</command> to
|
---|
[b02e3b3] | 44 | <filename class="directory">/bin</filename>:</para>
|
---|
[5da8aa0] | 45 |
|
---|
[4ad54f3] | 46 | <screen os="i"><userinput>mv -v /usr/bin/less /bin</userinput></screen>
|
---|
[0ba77ba2] | 47 |
|
---|
[3f8be484] | 48 | </sect2>
|
---|
| 49 |
|
---|
| 50 | <sect2 id="contents-less" role="content">
|
---|
| 51 | <title>Contents of Less</title>
|
---|
| 52 |
|
---|
| 53 | <segmentedlist>
|
---|
| 54 | <segtitle>Installed programs</segtitle>
|
---|
| 55 |
|
---|
| 56 | <seglistitem>
|
---|
[f698055a] | 57 | <seg>less, lessecho, lesskey</seg>
|
---|
[3f8be484] | 58 | </seglistitem>
|
---|
| 59 | </segmentedlist>
|
---|
| 60 |
|
---|
| 61 | <variablelist>
|
---|
| 62 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 63 | <?dbfo list-presentation="list"?>
|
---|
| 64 | <?dbhtml list-presentation="table"?>
|
---|
| 65 |
|
---|
| 66 | <varlistentry id="less">
|
---|
| 67 | <term><command>less</command></term>
|
---|
| 68 | <listitem>
|
---|
| 69 | <para>A file viewer or pager; it displays the contents of the given
|
---|
| 70 | file, letting the user scroll, find strings, and jump to marks</para>
|
---|
| 71 | <indexterm zone="ch-system-less less">
|
---|
| 72 | <primary sortas="b-less">less</primary>
|
---|
| 73 | </indexterm>
|
---|
| 74 | </listitem>
|
---|
| 75 | </varlistentry>
|
---|
| 76 |
|
---|
| 77 | <varlistentry id="lessecho">
|
---|
| 78 | <term><command>lessecho</command></term>
|
---|
| 79 | <listitem>
|
---|
| 80 | <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
|
---|
| 81 | and <emphasis>?</emphasis>, in filenames on Unix systems</para>
|
---|
| 82 | <indexterm zone="ch-system-less lessecho">
|
---|
| 83 | <primary sortas="b-lessecho">lessecho</primary>
|
---|
| 84 | </indexterm>
|
---|
| 85 | </listitem>
|
---|
| 86 | </varlistentry>
|
---|
| 87 |
|
---|
| 88 | <varlistentry id="lesskey">
|
---|
| 89 | <term><command>lesskey</command></term>
|
---|
| 90 | <listitem>
|
---|
| 91 | <para>Used to specify the key bindings for
|
---|
| 92 | <command>less</command></para>
|
---|
| 93 | <indexterm zone="ch-system-less lesskey">
|
---|
| 94 | <primary sortas="b-lesskey">lesskey</primary>
|
---|
| 95 | </indexterm>
|
---|
| 96 | </listitem>
|
---|
| 97 | </varlistentry>
|
---|
| 98 |
|
---|
| 99 | </variablelist>
|
---|
| 100 |
|
---|
| 101 | </sect2>
|
---|
| 102 |
|
---|
| 103 | </sect1>
|
---|