source: final-system/common/less.xml@ cf00518

Last change on this file since cf00518 was 0f06076, checked in by Jim Gifford <clfs@…>, 19 years ago

r3371@server (orig r1554): chris | 2006-05-10 14:03:44 -0700
Removed dependency info from individual package instructions

  • Property mode set to 100644
File size: 3.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
3 "http://www.oasis-open.org/docbook/xml/4.4/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 less to /bin:</para>
55
56<screen os="j"><userinput>mv -v /usr/bin/less /bin</userinput></screen>
57
58 </sect2>
59
60 <sect2 id="contents-less" role="content">
61 <title>Contents of Less</title>
62
63 <segmentedlist>
64 <segtitle>Installed programs</segtitle>
65
66 <seglistitem>
67 <seg>less, lessecho, and lesskey</seg>
68 </seglistitem>
69 </segmentedlist>
70
71 <variablelist>
72 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
73 <?dbfo list-presentation="list"?>
74 <?dbhtml list-presentation="table"?>
75
76 <varlistentry id="less">
77 <term><command>less</command></term>
78 <listitem>
79 <para>A file viewer or pager; it displays the contents of the given
80 file, letting the user scroll, find strings, and jump to marks</para>
81 <indexterm zone="ch-system-less less">
82 <primary sortas="b-less">less</primary>
83 </indexterm>
84 </listitem>
85 </varlistentry>
86
87 <varlistentry id="lessecho">
88 <term><command>lessecho</command></term>
89 <listitem>
90 <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
91 and <emphasis>?</emphasis>, in filenames on Unix systems</para>
92 <indexterm zone="ch-system-less lessecho">
93 <primary sortas="b-lessecho">lessecho</primary>
94 </indexterm>
95 </listitem>
96 </varlistentry>
97
98 <varlistentry id="lesskey">
99 <term><command>lesskey</command></term>
100 <listitem>
101 <para>Used to specify the key bindings for
102 <command>less</command></para>
103 <indexterm zone="ch-system-less lesskey">
104 <primary sortas="b-lesskey">lesskey</primary>
105 </indexterm>
106 </listitem>
107 </varlistentry>
108
109 </variablelist>
110
111 </sect2>
112
113</sect1>
Note: See TracBrowser for help on using the repository browser.