[673b0d8] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
[1770019] | 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN" "http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
|
---|
[673b0d8] | 3 | <!ENTITY % general-entities SYSTEM "../general.ent">
|
---|
[3e36a78] | 4 | <!ENTITY % patches-entities SYSTEM "../patches.ent">
|
---|
[673b0d8] | 5 | %general-entities;
|
---|
[3e36a78] | 6 | %patches-entities;
|
---|
[673b0d8] | 7 | ]>
|
---|
[81fd230] | 8 | <sect1 id="ch-system-less" role="wrap">
|
---|
[673b0d8] | 9 | <title>Less-&less-version;</title>
|
---|
| 10 | <?dbhtml filename="less.html"?>
|
---|
| 11 |
|
---|
| 12 | <indexterm zone="ch-system-less"><primary sortas="a-Less">Less</primary></indexterm>
|
---|
[6370fa6] | 13 |
|
---|
[a001133] | 14 | <sect2 role="package"><title/>
|
---|
[81fd230] | 15 | <para>The Less package contains a text file viewer.</para>
|
---|
[5888299] | 16 |
|
---|
[a001133] | 17 | <segmentedlist>
|
---|
| 18 | <segtitle>&buildtime;</segtitle>
|
---|
| 19 | <segtitle>&diskspace;</segtitle>
|
---|
[eb6d9eb] | 20 | <seglistitem><seg>0.1 SBU</seg><seg>2.3 MB</seg></seglistitem>
|
---|
[a001133] | 21 | </segmentedlist>
|
---|
[673b0d8] | 22 |
|
---|
[81fd230] | 23 | <segmentedlist>
|
---|
[45992ae] | 24 | <segtitle>&dependencies;</segtitle>
|
---|
[81fd230] | 25 | <seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
|
---|
| 26 | GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
|
---|
| 27 | </segmentedlist>
|
---|
[a001133] | 28 | </sect2>
|
---|
[3554fa3a] | 29 |
|
---|
[a001133] | 30 | <sect2 role="installation">
|
---|
[73aedd1d] | 31 | <title>Installation of Less</title>
|
---|
| 32 |
|
---|
| 33 | <para>Prepare Less for compilation:</para>
|
---|
| 34 |
|
---|
| 35 | <screen><userinput>./configure --prefix=/usr --bindir=/bin --sysconfdir=/etc</userinput></screen>
|
---|
| 36 |
|
---|
[fc298480] | 37 | <para>The meaning of the configure options:</para>
|
---|
[81fd230] | 38 |
|
---|
| 39 | <variablelist>
|
---|
| 40 | <varlistentry>
|
---|
| 41 | <term><parameter>--sysconfdir=/etc</parameter></term>
|
---|
| 42 | <listitem><para>This option tells the programs created by the package to look in
|
---|
| 43 | <filename class="directory">/etc</filename> for the configuration files.</para></listitem>
|
---|
| 44 | </varlistentry>
|
---|
| 45 | </variablelist>
|
---|
| 46 |
|
---|
[73aedd1d] | 47 | <para>Compile the package:</para>
|
---|
| 48 |
|
---|
| 49 | <screen><userinput>make</userinput></screen>
|
---|
| 50 |
|
---|
[81fd230] | 51 | <para>Install the package:</para>
|
---|
[73aedd1d] | 52 |
|
---|
| 53 | <screen><userinput>make install</userinput></screen>
|
---|
| 54 | </sect2>
|
---|
[6370fa6] | 55 |
|
---|
[c6cb3aa] | 56 | <sect2 id="contents-less" role="content"><title>Contents of Less</title>
|
---|
[5888299] | 57 |
|
---|
[81fd230] | 58 | <segmentedlist>
|
---|
| 59 | <segtitle>Installed programs</segtitle>
|
---|
| 60 | <seglistitem><seg>less, lessecho, and lesskey</seg></seglistitem>
|
---|
| 61 | </segmentedlist>
|
---|
| 62 |
|
---|
| 63 | <variablelist><bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 64 | <?dbfo list-presentation="list"?>
|
---|
[8f97096] | 65 | <?dbhtml list-presentation="table"?>
|
---|
[81fd230] | 66 |
|
---|
| 67 | <varlistentry id="less">
|
---|
| 68 | <term><command>less</command></term>
|
---|
| 69 | <listitem>
|
---|
[8807fbe] | 70 | <para>A file viewer or pager; it displays the contents of the given
|
---|
[81fd230] | 71 | file, letting the user scroll, find strings, and jump to marks</para>
|
---|
| 72 | <indexterm zone="ch-system-less less"><primary sortas="b-less">less</primary></indexterm>
|
---|
| 73 | </listitem>
|
---|
| 74 | </varlistentry>
|
---|
| 75 |
|
---|
| 76 | <varlistentry id="lessecho">
|
---|
| 77 | <term><command>lessecho</command></term>
|
---|
| 78 | <listitem>
|
---|
[8807fbe] | 79 | <para>Needed to expand meta-characters, such as <emphasis>*</emphasis>
|
---|
[81fd230] | 80 | and <emphasis>?</emphasis>, in filenames on Unix systems</para>
|
---|
| 81 | <indexterm zone="ch-system-less lessecho"><primary sortas="b-lessecho">lessecho</primary></indexterm>
|
---|
| 82 | </listitem>
|
---|
| 83 | </varlistentry>
|
---|
| 84 |
|
---|
| 85 | <varlistentry id="lesskey">
|
---|
| 86 | <term><command>lesskey</command></term>
|
---|
| 87 | <listitem>
|
---|
[8807fbe] | 88 | <para>Used to specify the key bindings for <command>less</command></para>
|
---|
[81fd230] | 89 | <indexterm zone="ch-system-less lesskey"><primary sortas="b-lesskey">lesskey</primary></indexterm>
|
---|
| 90 | </listitem>
|
---|
| 91 | </varlistentry>
|
---|
| 92 | </variablelist>
|
---|
[673b0d8] | 93 |
|
---|
| 94 | </sect2>
|
---|
| 95 |
|
---|
| 96 | </sect1>
|
---|
[81fd230] | 97 |
|
---|