source: final-system/common/less.xml@ 9e08944

Last change on this file since 9e08944 was 3ab1db1, checked in by Jim Gifford <clfs@…>, 19 years ago

r716@server (orig r714): jim | 2005-11-17 23:21:09 -0800

r785@server: jim | 2005-11-17 23:19:16 -0800
Moved /usr/bin/lesss to /bin/less


  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[bf8c11f]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
[db63ccc]38<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
[bf8c11f]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
[3ab1db1]61 <para os="g">Move less to /bin:</para>
62
63<screen os="h"><userinput>mv /usr/bin/less /bin</userinput></screen>
64
[bf8c11f]65 </sect2>
66
67 <sect2 id="contents-less" role="content">
68 <title>Contents of Less</title>
69
70 <segmentedlist>
71 <segtitle>Installed programs</segtitle>
72
73 <seglistitem>
74 <seg>less, lessecho, and lesskey</seg>
75 </seglistitem>
76 </segmentedlist>
77
78 <variablelist>
79 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
80 <?dbfo list-presentation="list"?>
81 <?dbhtml list-presentation="table"?>
82
83 <varlistentry id="less">
84 <term><command>less</command></term>
85 <listitem>
86 <para>A file viewer or pager; it displays the contents of the given
87 file, letting the user scroll, find strings, and jump to marks</para>
88 <indexterm zone="ch-system-less less">
89 <primary sortas="b-less">less</primary>
90 </indexterm>
91 </listitem>
92 </varlistentry>
93
94 <varlistentry id="lessecho">
95 <term><command>lessecho</command></term>
96 <listitem>
97 <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
98 and <emphasis>?</emphasis>, in filenames on Unix systems</para>
99 <indexterm zone="ch-system-less lessecho">
100 <primary sortas="b-lessecho">lessecho</primary>
101 </indexterm>
102 </listitem>
103 </varlistentry>
104
105 <varlistentry id="lesskey">
106 <term><command>lesskey</command></term>
107 <listitem>
108 <para>Used to specify the key bindings for
109 <command>less</command></para>
110 <indexterm zone="ch-system-less lesskey">
111 <primary sortas="b-lesskey">lesskey</primary>
112 </indexterm>
113 </listitem>
114 </varlistentry>
115
116 </variablelist>
117
118 </sect2>
119
120</sect1>
Note: See TracBrowser for help on using the repository browser.