source: BOOK/final-system/common/less.xml@ 375e915

clfs-1.2 clfs-2.1 clfs-3.0.0-systemd clfs-3.0.0-sysvinit systemd sysvinit
Last change on this file since 375e915 was e0e40d3, checked in by Jim Gifford <clfs@…>, 19 years ago

r781@server (orig r779): jim | 2005-11-30 22:14:06 -0800

r836@server: jim | 2005-11-30 22:13:02 -0800
Text updates to final-system


  • 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 %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 os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
39
40 <variablelist os="c">
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="d">Compile the package:</para>
54
55<screen os="e"><userinput>make</userinput></screen>
56
57 <para os="f">Install the package:</para>
58
59<screen os="g"><userinput>make install</userinput></screen>
60
61 <para os="h">Move less to /bin:</para>
62
63<screen os="i"><userinput>mv /usr/bin/less /bin</userinput></screen>
64
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.