1 <?xml version="1.0" encoding="ISO-8859-1"?>
2 <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../general.ent">
8 <sect1 id="ch-system-less" role="wrap">
9 <?dbhtml filename="less.html"?>
11 <sect1info condition="script">
12 <productname>less</productname>
13 <productnumber>&less-version;</productnumber>
14 <address>&less-url;</address>
17 <title>Less-&less-version;</title>
19 <indexterm zone="ch-system-less">
20 <primary sortas="a-Less">Less</primary>
23 <sect2 role="package">
26 <para>The Less package contains a text file viewer.</para>
29 <segtitle>&buildtime;</segtitle>
30 <segtitle>&diskspace;</segtitle>
33 <seg>&less-ch6-sbu;</seg>
34 <seg>&less-ch6-du;</seg>
40 <sect2 role="installation">
41 <title>Installation of Less</title>
43 <para>Prepare Less for compilation:</para>
45 <screen><userinput remap="configure">./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
48 <title>The meaning of the configure options:</title>
51 <term><parameter>--sysconfdir=/etc</parameter></term>
53 <para>This option tells the programs created by the package to look
54 in <filename class="directory">/etc</filename> for the configuration
61 <para>Compile the package:</para>
63 <screen><userinput remap="make">make</userinput></screen>
65 <para>This package does not come with a test suite.</para>
67 <para>Install the package:</para>
69 <screen><userinput remap="install">make install</userinput></screen>
73 <sect2 id="contents-less" role="content">
74 <title>Contents of Less</title>
77 <segtitle>Installed programs</segtitle>
80 <seg>less, lessecho, and lesskey</seg>
85 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
86 <?dbfo list-presentation="list"?>
87 <?dbhtml list-presentation="table"?>
89 <varlistentry id="less">
90 <term><command>less</command></term>
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>
100 <varlistentry id="lessecho">
101 <term><command>lessecho</command></term>
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>
111 <varlistentry id="lesskey">
112 <term><command>lesskey</command></term>
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>