source: chapter06/less.xml@ 3b45abb

Last change on this file since 3b45abb was 6856842, checked in by Jeremy Huntwork <jhuntwork@…>, 19 years ago

Bring alphabetical branch up-to-speed with trunk

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/alphabetical/BOOK@7219 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

  • Property mode set to 100644
File size: 2.9 KB
RevLine 
[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">
4 %general-entities;
5]>
[81fd230]6<sect1 id="ch-system-less" role="wrap">
[673b0d8]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>
[6370fa6]11
[a001133]12<sect2 role="package"><title/>
[81fd230]13<para>The Less package contains a text file viewer.</para>
[5888299]14
[a001133]15<segmentedlist>
16<segtitle>&buildtime;</segtitle>
17<segtitle>&diskspace;</segtitle>
[eb6d9eb]18<seglistitem><seg>0.1 SBU</seg><seg>2.3 MB</seg></seglistitem>
[a001133]19</segmentedlist>
[673b0d8]20
[81fd230]21<segmentedlist>
[45992ae]22<segtitle>&dependencies;</segtitle>
[81fd230]23<seglistitem><seg>Bash, Binutils, Coreutils, Diffutils,
24GCC, Glibc, Grep, Make, Ncurses, and Sed</seg></seglistitem>
25</segmentedlist>
[a001133]26</sect2>
[3554fa3a]27
[a001133]28<sect2 role="installation">
[73aedd1d]29<title>Installation of Less</title>
30
31<para>Prepare Less for compilation:</para>
32
[2a698a6]33<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc</userinput></screen>
[73aedd1d]34
[fc298480]35<para>The meaning of the configure options:</para>
[81fd230]36
37<variablelist>
38<varlistentry>
39<term><parameter>--sysconfdir=/etc</parameter></term>
40<listitem><para>This option tells the programs created by the package to look in
41<filename class="directory">/etc</filename> for the configuration files.</para></listitem>
42</varlistentry>
43</variablelist>
44
[73aedd1d]45<para>Compile the package:</para>
46
47<screen><userinput>make</userinput></screen>
48
[6856842]49<para>This package does not come with a test suite.</para>
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]71file, 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]80and <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
Note: See TracBrowser for help on using the repository browser.