source: final-system/common/less.xml@ 91b682b

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

r627@server (orig r625): jim | 2005-10-31 12:59:34 -0800
Import of Cross-LFS Book

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