glfs/postlfs/editors/nano.xml
Dan Nichilson 0af9f25712 Updated to nano-2.0.1
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6370 af4574ff-66df-0310-9fd7-8a98e5e911e0
2006-12-09 05:59:12 +00:00

181 lines
5.4 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.4//EN"
"http://www.oasis-open.org/docbook/xml/4.4/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY nano-download-http "http://www.nano-editor.org/dist/v2.0/nano-&nano-version;.tar.gz">
<!ENTITY nano-download-ftp "ftp://ftp.uni-koeln.de/editor/nano-&nano-version;.tar.gz">
<!ENTITY nano-md5sum "8abe33be6816ad9acd17391806b42d92">
<!ENTITY nano-size "1.2 MB">
<!ENTITY nano-buildsize "4.5 MB">
<!ENTITY nano-time "0.1 SBU">
]>
<sect1 id="nano" xreflabel="nano-&nano-version;">
<?dbhtml filename="nano.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Nano-&nano-version;</title>
<indexterm zone="nano">
<primary sortas="a-Nano">Nano</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Nano</title>
<para>The <application>nano</application> package contains a small,
simple text editor which aims to replace <application>Pico</application>,
the default editor in the <application>Pine</application> package.</para>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&nano-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&nano-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &nano-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &nano-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &nano-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &nano-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Nano Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="slang"/></para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/Nano"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Nano</title>
<para>Install <application>nano</application> by running the following
commands:</para>
<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/nano \
--enable-color --enable-multibuffer --enable-nanorc &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install &amp;&amp;
install -v -m644 -D doc/nanorc.sample /etc/nano/nanorc.sample &amp;&amp;
install -v -m755 -d /usr/share/doc/nano-&nano-version; &amp;&amp;
install -v -m644 doc/{,man/,texinfo/}*.html /usr/share/doc/nano-&nano-version;</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring nano</title>
<sect3 id="nano-config">
<title>Config Files</title>
<para><filename>/etc/nano/nanorc</filename> and
<filename>~/.nanorc</filename></para>
<indexterm zone="nano nano-config">
<primary sortas="e-etc-nano-nanorc">/etc/nano/nanorc</primary>
</indexterm>
<indexterm zone="nano nano-config">
<primary sortas="e-AA.nanorc">~/.nanorc</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para>Example configuration (create as a system-wide
<filename>/etc/nano/nanorc</filename> or a personal
<filename>~/.nanorc</filename> file)</para>
<screen><literal>set autoindent
set const
set fill 72
set historylog
set multibuffer
set nohelp
set regexp
set smooth
set suspend</literal></screen>
<para>Another example is the <filename>nanorc.sample</filename> file
in the <filename class="directory">/etc/nano</filename> directory.
It includes color configurations and has some documentation included
in the comments.</para>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>nano and rnano</seg>
<seg>None</seg>
<seg>/etc/nano and /usr/share/doc/nano-&nano-version;</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="nano-prog">
<term><command>nano</command></term>
<listitem>
<para>is a small, simple text editor which aims to replace
<application>Pico</application>, the default editor in the
<application>Pine</application> package.</para>
<indexterm zone="nano nano-prog">
<primary sortas="b-nano">nano</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="rnano-prog">
<term><command>rnano</command></term>
<listitem>
<para>is a restricted mode for <command>nano</command>.</para>
<indexterm zone="nano rnano-prog">
<primary sortas="b-rnano">rnano</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>