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

clfs-3.0.0-systemd
Last change on this file since f010dec was 4ad54f3, 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
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[aa18ac0]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[3f8be484]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
[e0e40d3]29<screen os="b"><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
[3f8be484]30
[4ad54f3]31 <para os="c">Compile the package:</para>
[3f8be484]32
[4ad54f3]33<screen os="d"><userinput>make</userinput></screen>
[3f8be484]34
[4ad54f3]35 <para os="e">This package does not come with a test suite.</para>
[3f8be484]36
[4ad54f3]37 <para os="f">Install the package:</para>
[3f8be484]38
[4ad54f3]39<screen os="g"><userinput>make install</userinput></screen>
[0ba77ba2]40
[4ad54f3]41 <para os="h">Move <command>less</command> to
[b02e3b3]42 <filename class="directory">/bin</filename>:</para>
[5da8aa0]43
[4ad54f3]44<screen os="i"><userinput>mv -v /usr/bin/less /bin</userinput></screen>
[0ba77ba2]45
[3f8be484]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>
[f698055a]55 <seg>less, lessecho, lesskey</seg>
[3f8be484]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.