source: final-system/common/less.xml@ 1e3160e

Last change on this file since 1e3160e was 2659c74, checked in by Jim Gifford <clfs@…>, 19 years ago

r677@server (orig r675): manuel | 2005-11-10 03:13:57 -0800
Including patches.ent from general.ent

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