source: BOOK/final-system/common/less.xml@ 93b4e7f

sysvinit
Last change on this file since 93b4e7f was c891ecd, checked in by Chris Staub <chris@…>, 10 years ago

Command explanation not needed for less

  • Property mode set to 100644
File size: 2.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/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 </sect2>
23
24 <sect2 role="installation">
25 <title>Installation of Less</title>
26
27 <para os="a">Prepare Less for compilation:</para>
28
29<screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
30
31 <para os="c">Compile the package:</para>
32
33<screen os="d"><userinput>make</userinput></screen>
34
35 <para os="e">This package does not come with a test suite.</para>
36
37 <para os="f">Install the package:</para>
38
39<screen os="g"><userinput>make install</userinput></screen>
40
41 <para os="h">Move <command>less</command> to
42 <filename class="directory">/bin</filename>:</para>
43
44<screen os="i"><userinput>mv -v /usr/bin/less /bin</userinput></screen>
45
46 </sect2>
47
48 <sect2 id="contents-less" role="content">
49 <title>Contents of Less</title>
50
51 <segmentedlist>
52 <segtitle>Installed programs</segtitle>
53
54 <seglistitem>
55 <seg>less, lessecho, lesskey</seg>
56 </seglistitem>
57 </segmentedlist>
58
59 <variablelist>
60 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
61 <?dbfo list-presentation="list"?>
62 <?dbhtml list-presentation="table"?>
63
64 <varlistentry id="less">
65 <term><command>less</command></term>
66 <listitem>
67 <para>A file viewer or pager; it displays the contents of the given
68 file, letting the user scroll, find strings, and jump to marks</para>
69 <indexterm zone="ch-system-less less">
70 <primary sortas="b-less">less</primary>
71 </indexterm>
72 </listitem>
73 </varlistentry>
74
75 <varlistentry id="lessecho">
76 <term><command>lessecho</command></term>
77 <listitem>
78 <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
79 and <emphasis>?</emphasis>, in filenames on Unix systems</para>
80 <indexterm zone="ch-system-less lessecho">
81 <primary sortas="b-lessecho">lessecho</primary>
82 </indexterm>
83 </listitem>
84 </varlistentry>
85
86 <varlistentry id="lesskey">
87 <term><command>lesskey</command></term>
88 <listitem>
89 <para>Used to specify the key bindings for
90 <command>less</command></para>
91 <indexterm zone="ch-system-less lesskey">
92 <primary sortas="b-lesskey">lesskey</primary>
93 </indexterm>
94 </listitem>
95 </varlistentry>
96
97 </variablelist>
98
99 </sect2>
100
101</sect1>
Note: See TracBrowser for help on using the repository browser.