aboutsummaryrefslogtreecommitdiffstats
path: root/chapter06/less.xml
diff options
context:
space:
mode:
authorMatthew Burgess <matthew@linuxfromscratch.org>2004-05-03 10:59:46 +0000
committerMatthew Burgess <matthew@linuxfromscratch.org>2004-05-03 10:59:46 +0000
commit673b0d84ba9591e07c0bdf0ee49d92eba10f502c (patch)
tree129e27a1450727b440da4378e0117a468eb9c25e /chapter06/less.xml
parent287ea55da70ceb1f0990554b7db921d525fef816 (diff)
* Merged newxml into HEAD
git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@3435 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
Diffstat (limited to 'chapter06/less.xml')
-rw-r--r--chapter06/less.xml52
1 files changed, 41 insertions, 11 deletions
diff --git a/chapter06/less.xml b/chapter06/less.xml
index 1445b1529..e404cc8fa 100644
--- a/chapter06/less.xml
+++ b/chapter06/less.xml
@@ -1,16 +1,23 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
+ <!ENTITY % general-entities SYSTEM "../general.ent">
+ %general-entities;
+]>
<sect1 id="ch-system-less" xreflabel="Less">
-<title>Installing Less-&less-version;</title>
-<?dbhtml filename="less.html" dir="chapter06"?>
+<title>Less-&less-version;</title>
+<?dbhtml filename="less.html"?>
+
+<indexterm zone="ch-system-less"><primary sortas="a-Less">Less</primary></indexterm>
<para>The Less package contains a text file viewer.</para>
-<screen>&buildtime; &less-time;
-&diskspace; &less-compsize;</screen>
+<screen>&buildtime; 0.1 SBU
+&diskspace; 3.4 MB</screen>
+
+<para>Less installation depends on: Bash, Binutils, Coreutils, Diffutils,
+GCC, Glibc, Grep, Make, Ncurses, Sed.</para>
-&aa-less-down;
-&aa-less-dep;
-<sect2><title>&nbsp;</title><para>&nbsp;</para></sect2>
<sect2>
<title>Installation of Less</title>
@@ -31,14 +38,37 @@ configuration files.</para></listitem>
<screen><userinput>make</userinput></screen>
-<para>And install it:</para>
+<para>Now install it:</para>
<screen><userinput>make install</userinput></screen>
</sect2>
-&aa-less-shortdesc;
-&aa-less-desc;
-</sect1>
+<sect2 id="contents-less"><title>Contents of Less</title>
+
+<para><emphasis>Installed programs</emphasis>: less, lessecho and lesskey</para>
+
+</sect2>
+
+
+<sect2><title>Short descriptions</title>
+<indexterm zone="ch-system-less less"><primary sortas="b-less">less</primary></indexterm>
+<para id="less"><command>less</command> is a file viewer or pager. It displays the
+contents of the given file, letting you scroll around, find strings, and jump
+to marks.</para>
+
+<indexterm zone="ch-system-less lessecho"><primary sortas="b-lessecho">lessecho</primary></indexterm>
+<para id="lessecho"><command>lessecho</command> is needed to expand meta-characters,
+such as * and ?, in filenames on Unix systems.</para>
+
+<indexterm zone="ch-system-less lesskey"><primary sortas="b-lesskey">lesskey</primary></indexterm>
+<para id="lesskey"><command>lesskey</command> is used to specify the key bindings
+for less.</para>
+
+</sect2>
+
+
+
+</sect1>