source: BOOK/final-system/common/less.xml@ 6b16126

clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 6b16126 was b02e3b3, checked in by Chris Staub <chris@…>, 16 years ago

Text updates

  • Property mode set to 100644
File size: 3.3 KB
Line 
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 <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
29<screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
30
31 <variablelist os="c">
32 <title>The meaning of the configure option:</title>
33
34 <varlistentry>
35 <term><parameter>--sysconfdir=/etc</parameter></term>
36 <listitem>
37 <para>This option tells the programs created by the package to look
38 in <filename class="directory">/etc</filename> for the configuration
39 files.</para>
40 </listitem>
41 </varlistentry>
42 </variablelist>
43
44 <para os="d">Compile the package:</para>
45
46<screen os="e"><userinput>make</userinput></screen>
47
48 <para os="f">This package does not come with a test suite.</para>
49
50 <para os="g">Install the package:</para>
51
52<screen os="h"><userinput>make install</userinput></screen>
53
54 <para os="i">Move <command>less</command> to
55 <filename class="directory">/bin</filename>:</para>
56
57<screen os="j"><userinput>mv -v /usr/bin/less /bin</userinput></screen>
58
59 </sect2>
60
61 <sect2 id="contents-less" role="content">
62 <title>Contents of Less</title>
63
64 <segmentedlist>
65 <segtitle>Installed programs</segtitle>
66
67 <seglistitem>
68 <seg>less, lessecho, and lesskey</seg>
69 </seglistitem>
70 </segmentedlist>
71
72 <variablelist>
73 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
74 <?dbfo list-presentation="list"?>
75 <?dbhtml list-presentation="table"?>
76
77 <varlistentry id="less">
78 <term><command>less</command></term>
79 <listitem>
80 <para>A file viewer or pager; it displays the contents of the given
81 file, letting the user scroll, find strings, and jump to marks</para>
82 <indexterm zone="ch-system-less less">
83 <primary sortas="b-less">less</primary>
84 </indexterm>
85 </listitem>
86 </varlistentry>
87
88 <varlistentry id="lessecho">
89 <term><command>lessecho</command></term>
90 <listitem>
91 <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
92 and <emphasis>?</emphasis>, in filenames on Unix systems</para>
93 <indexterm zone="ch-system-less lessecho">
94 <primary sortas="b-lessecho">lessecho</primary>
95 </indexterm>
96 </listitem>
97 </varlistentry>
98
99 <varlistentry id="lesskey">
100 <term><command>lesskey</command></term>
101 <listitem>
102 <para>Used to specify the key bindings for
103 <command>less</command></para>
104 <indexterm zone="ch-system-less lesskey">
105 <primary sortas="b-lesskey">lesskey</primary>
106 </indexterm>
107 </listitem>
108 </varlistentry>
109
110 </variablelist>
111
112 </sect2>
113
114</sect1>
Note: See TracBrowser for help on using the repository browser.