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

systemd
Last change on this file since ba88a9b was 7cd7f99, checked in by Chris Staub <chris@…>, 9 years ago

Put one configure option per line

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