1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
|
---|
3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
4 | %general-entities;
|
---|
5 | ]>
|
---|
6 | <sect1 id="ch-system-less" xreflabel="Less">
|
---|
7 | <title>Less-&less-version;</title>
|
---|
8 | <?dbhtml filename="less.html"?>
|
---|
9 |
|
---|
10 | <indexterm zone="ch-system-less"><primary sortas="a-Less">Less</primary></indexterm>
|
---|
11 |
|
---|
12 | <para>The Less package contains a text file viewer.</para>
|
---|
13 |
|
---|
14 | <screen>&buildtime; 0.1 SBU
|
---|
15 | &diskspace; 3.4 MB</screen>
|
---|
16 |
|
---|
17 | <para>Less installation depends on: Bash, Binutils, Coreutils, Diffutils,
|
---|
18 | GCC, Glibc, Grep, Make, Ncurses, Sed.</para>
|
---|
19 |
|
---|
20 |
|
---|
21 |
|
---|
22 | <sect2>
|
---|
23 | <title>Installation of Less</title>
|
---|
24 |
|
---|
25 | <para>Prepare Less for compilation:</para>
|
---|
26 |
|
---|
27 | <screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen>
|
---|
28 |
|
---|
29 | <para>The meaning of the configure option:</para>
|
---|
30 |
|
---|
31 | <itemizedlist>
|
---|
32 | <listitem><para><userinput>--sysconfdir=/etc</userinput>: This option tells the
|
---|
33 | programs created by the package to look in <filename>/etc</filename> for their
|
---|
34 | configuration files.</para></listitem>
|
---|
35 | </itemizedlist>
|
---|
36 |
|
---|
37 | <para>Compile the package:</para>
|
---|
38 |
|
---|
39 | <screen><userinput>make</userinput></screen>
|
---|
40 |
|
---|
41 | <para>Now install it:</para>
|
---|
42 |
|
---|
43 | <screen><userinput>make install</userinput></screen>
|
---|
44 |
|
---|
45 | </sect2>
|
---|
46 |
|
---|
47 |
|
---|
48 | <sect2 id="contents-less"><title>Contents of Less</title>
|
---|
49 |
|
---|
50 | <para><emphasis>Installed programs</emphasis>: less, lessecho and lesskey</para>
|
---|
51 |
|
---|
52 | </sect2>
|
---|
53 |
|
---|
54 |
|
---|
55 | <sect2><title>Short descriptions</title>
|
---|
56 |
|
---|
57 | <indexterm zone="ch-system-less less"><primary sortas="b-less">less</primary></indexterm>
|
---|
58 | <para id="less"><command>less</command> is a file viewer or pager. It displays the
|
---|
59 | contents of the given file, letting you scroll around, find strings, and jump
|
---|
60 | to marks.</para>
|
---|
61 |
|
---|
62 | <indexterm zone="ch-system-less lessecho"><primary sortas="b-lessecho">lessecho</primary></indexterm>
|
---|
63 | <para id="lessecho"><command>lessecho</command> is needed to expand meta-characters,
|
---|
64 | such as * and ?, in filenames on Unix systems.</para>
|
---|
65 |
|
---|
66 | <indexterm zone="ch-system-less lesskey"><primary sortas="b-lesskey">lesskey</primary></indexterm>
|
---|
67 | <para id="lesskey"><command>lesskey</command> is used to specify the key bindings
|
---|
68 | for less.</para>
|
---|
69 |
|
---|
70 | </sect2>
|
---|
71 |
|
---|
72 |
|
---|
73 |
|
---|
74 | </sect1>
|
---|