source: chapter08/less.xml

trunk
Last change on this file was 7152faa, checked in by Pierre Labastie <pierre.labastie@…>, 3 months ago

Change all xml files to utf-8 encoding

  • Property mode set to 100644
File size: 3.5 KB
Line 
1<?xml version="1.0" encoding="UTF-8"?>
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>To test the results, issue:</para>
66
67<screen><userinput remap="test">make check</userinput></screen>
68
69 <para>Install the package:</para>
70
71<screen><userinput remap="install">make install</userinput></screen>
72
73 </sect2>
74
75 <sect2 id="contents-less" role="content">
76 <title>Contents of Less</title>
77
78 <segmentedlist>
79 <segtitle>Installed programs</segtitle>
80
81 <seglistitem>
82 <seg>less, lessecho, and lesskey</seg>
83 </seglistitem>
84 </segmentedlist>
85
86 <variablelist>
87 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
88 <?dbfo list-presentation="list"?>
89 <?dbhtml list-presentation="table"?>
90
91 <varlistentry id="less">
92 <term><command>less</command></term>
93 <listitem>
94 <para>A file viewer or pager; it displays the contents of the given
95 file, letting the user scroll, find strings, and jump to marks</para>
96 <indexterm zone="ch-system-less less">
97 <primary sortas="b-less">less</primary>
98 </indexterm>
99 </listitem>
100 </varlistentry>
101
102 <varlistentry id="lessecho">
103 <term><command>lessecho</command></term>
104 <listitem>
105 <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
106 and <emphasis>?</emphasis>, in filenames on Unix systems</para>
107 <indexterm zone="ch-system-less lessecho">
108 <primary sortas="b-lessecho">lessecho</primary>
109 </indexterm>
110 </listitem>
111 </varlistentry>
112
113 <varlistentry id="lesskey">
114 <term><command>lesskey</command></term>
115 <listitem>
116 <para>Used to specify the key bindings for <command>less</command></para>
117 <indexterm zone="ch-system-less lesskey">
118 <primary sortas="b-lesskey">lesskey</primary>
119 </indexterm>
120 </listitem>
121 </varlistentry>
122
123 </variablelist>
124
125 </sect2>
126
127</sect1>
Note: See TracBrowser for help on using the repository browser.