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">
|
---|
5 | %general-entities;
|
---|
6 | ]>
|
---|
7 |
|
---|
8 | <sect1 id="ch-system-less" role="wrap">
|
---|
9 | <?dbhtml filename="less.html"?>
|
---|
10 |
|
---|
11 | <sect1info condition="script">
|
---|
12 | <productname>less</productname>
|
---|
13 | <productnumber>&less-version;</productnumber>
|
---|
14 | <address>&less-url;</address>
|
---|
15 | </sect1info>
|
---|
16 |
|
---|
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>
|
---|
27 |
|
---|
28 | <segmentedlist>
|
---|
29 | <segtitle>&buildtime;</segtitle>
|
---|
30 | <segtitle>&diskspace;</segtitle>
|
---|
31 |
|
---|
32 | <seglistitem>
|
---|
33 | <seg>&less-fin-sbu;</seg>
|
---|
34 | <seg>&less-fin-du;</seg>
|
---|
35 | </seglistitem>
|
---|
36 | </segmentedlist>
|
---|
37 |
|
---|
38 | </sect2>
|
---|
39 |
|
---|
40 | <sect2 role="installation">
|
---|
41 | <title>Installation of Less</title>
|
---|
42 |
|
---|
43 | <para>Prepare Less for compilation:</para>
|
---|
44 |
|
---|
45 | <screen><userinput remap="configure">./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
|
---|
46 |
|
---|
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>
|
---|
58 |
|
---|
59 | </variablelist>
|
---|
60 |
|
---|
61 | <para>Compile the package:</para>
|
---|
62 |
|
---|
63 | <screen><userinput remap="make">make</userinput></screen>
|
---|
64 |
|
---|
65 | <para>This package does not come with a test suite.</para>
|
---|
66 |
|
---|
67 | <para>Install the package:</para>
|
---|
68 |
|
---|
69 | <screen><userinput remap="install">make install</userinput></screen>
|
---|
70 |
|
---|
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>
|
---|
124 |
|
---|
125 | </sect1>
|
---|