mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-01 21:12:12 +08:00
4b65cdf158
Update to nano-2.7.5. Update to phonon-backend-vlc-0.9.1. Update to libsigsegv-2.11. Update to NSS-3.29.1. Update to poppler-0.52.0. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@18414 af4574ff-66df-0310-9fd7-8a98e5e911e0
244 lines
6.5 KiB
XML
244 lines
6.5 KiB
XML
<?xml version="1.0" encoding="ISO-8859-1"?>
|
|
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
|
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
|
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
|
%general-entities;
|
|
|
|
<!-- Note minor version in URL -->
|
|
<!ENTITY nano-download-http "https://www.nano-editor.org/dist/v2.7/nano-&nano-version;.tar.xz">
|
|
<!ENTITY nano-download-ftp " ">
|
|
<!ENTITY nano-md5sum "002703e368e07882f75e304c8860d83d">
|
|
<!ENTITY nano-size "1.0 MB">
|
|
<!ENTITY nano-buildsize "9.4 MB">
|
|
<!ENTITY nano-time "less than 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>
|
|
|
|
&lfs80_checked;
|
|
|
|
<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 \
|
|
--enable-utf8 \
|
|
--docdir=/usr/share/doc/nano-&nano-version; &&
|
|
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 &&
|
|
install -v -m644 doc/nano.html /usr/share/doc/nano-&nano-version;</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<para>
|
|
<parameter>--enable-utf8</parameter>: This switch enables unicode support
|
|
in <application>Nano</application>.
|
|
</para>
|
|
|
|
<para>
|
|
<option>--with-slang</option>: This forces <application>Nano</application>
|
|
to use <application>S-Lang</application>.
|
|
Use this if installed.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="configuration">
|
|
<title>Configuring nano</title>
|
|
|
|
<sect3 id="nano-config">
|
|
<title>Config Files</title>
|
|
|
|
<para><filename>/etc/nanorc</filename> and
|
|
<filename>~/.nanorc</filename></para>
|
|
|
|
<indexterm zone="nano nano-config">
|
|
<primary sortas="e-etc-nanorc">/etc/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/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</filename> directory.
|
|
It includes color configurations and has some documentation included
|
|
in the comments.
|
|
</para>
|
|
|
|
<para>
|
|
Syntax highlighting is provided for several file types, in
|
|
<filename class="directory">/usr/share/nano/</filename> directory.
|
|
E.g., for shell scripts, you can insert
|
|
<option>include /usr/share/nano/sh.nanorc</option> in the personal or
|
|
global configuration file. If you wish highlighting for all supported
|
|
files, use <option>include /usr/share/nano/*.nanorc</option>.
|
|
</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 (symlink)
|
|
</seg>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
/usr/share/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>
|