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

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

r671@server (orig r669): manuel | 2005-11-09 02:48:38 -0800
Install the binaries from Less to /usr/bin instead of /bin.

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