source: postlfs/editors/nano.xml@ a90bc8c

10.0 10.1 11.0 11.1 6.3 6.3-rc1 6.3-rc2 6.3-rc3 7.10 7.4 7.5 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 krejzi/svn lazarus nosym perl-modules qt5new systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/test-20220226
Last change on this file since a90bc8c was a90bc8c, checked in by Robert Daniels <rdaniels@…>, 14 years ago

Update to Nano-2.0.7

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@7257 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 5.5 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY nano-download-http "http://www.nano-editor.org/dist/v2.0/nano-&nano-version;.tar.gz">
8 <!ENTITY nano-download-ftp "ftp://ftp.gnu.org/gnu/nano/nano-&nano-version;.tar.gz">
9 <!ENTITY nano-md5sum "16187fed2bdefec6275ece6401ce4cd2">
10 <!ENTITY nano-size "1.4 MB">
11 <!ENTITY nano-buildsize "8.3 MB">
12 <!ENTITY nano-time "0.1 SBU">
13]>
14
15<sect1 id="nano" xreflabel="nano-&nano-version;">
16 <?dbhtml filename="nano.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>Nano-&nano-version;</title>
24
25 <indexterm zone="nano">
26 <primary sortas="a-Nano">Nano</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to Nano</title>
31
32 <para>The <application>nano</application> package contains a small,
33 simple text editor which aims to replace <application>Pico</application>,
34 the default editor in the <application>Pine</application> package.</para>
35
36 <bridgehead renderas="sect3">Package Information</bridgehead>
37 <itemizedlist spacing="compact">
38 <listitem>
39 <para>Download (HTTP): <ulink url="&nano-download-http;"/></para>
40 </listitem>
41 <listitem>
42 <para>Download (FTP): <ulink url="&nano-download-ftp;"/></para>
43 </listitem>
44 <listitem>
45 <para>Download MD5 sum: &nano-md5sum;</para>
46 </listitem>
47 <listitem>
48 <para>Download size: &nano-size;</para>
49 </listitem>
50 <listitem>
51 <para>Estimated disk space required: &nano-buildsize;</para>
52 </listitem>
53 <listitem>
54 <para>Estimated build time: &nano-time;</para>
55 </listitem>
56 </itemizedlist>
57
58 <bridgehead renderas="sect3">Nano Dependencies</bridgehead>
59
60 <bridgehead renderas="sect4">Optional</bridgehead>
61 <para role="optional"><xref linkend="slang"/></para>
62
63 <para condition="html" role="usernotes">User Notes:
64 <ulink url="&blfs-wiki;/Nano"/></para>
65
66 </sect2>
67
68 <sect2 role="installation">
69 <title>Installation of Nano</title>
70
71 <para>Install <application>nano</application> by running the following
72 commands:</para>
73
74<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/nano \
75 --enable-color --enable-multibuffer --enable-nanorc &amp;&amp;
76make</userinput></screen>
77
78 <para>This package does not come with a test suite.</para>
79
80 <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
81
82<screen role="root"><userinput>make install &amp;&amp;
83install -v -m644 -D doc/nanorc.sample /etc/nano/nanorc.sample &amp;&amp;
84install -v -m755 -d /usr/share/doc/nano-&nano-version; &amp;&amp;
85install -v -m644 doc/{,man/,texinfo/}*.html /usr/share/doc/nano-&nano-version;</userinput></screen>
86
87 </sect2>
88
89 <sect2 role="configuration">
90 <title>Configuring nano</title>
91
92 <sect3 id="nano-config">
93 <title>Config Files</title>
94
95 <para><filename>/etc/nano/nanorc</filename> and
96 <filename>~/.nanorc</filename></para>
97
98 <indexterm zone="nano nano-config">
99 <primary sortas="e-etc-nano-nanorc">/etc/nano/nanorc</primary>
100 </indexterm>
101
102 <indexterm zone="nano nano-config">
103 <primary sortas="e-AA.nanorc">~/.nanorc</primary>
104 </indexterm>
105
106 </sect3>
107
108 <sect3>
109 <title>Configuration Information</title>
110
111 <para>Example configuration (create as a system-wide
112 <filename>/etc/nano/nanorc</filename> or a personal
113 <filename>~/.nanorc</filename> file)</para>
114
115<screen><literal>set autoindent
116set const
117set fill 72
118set historylog
119set multibuffer
120set nohelp
121set regexp
122set smooth
123set suspend</literal></screen>
124
125 <para>Another example is the <filename>nanorc.sample</filename> file
126 in the <filename class="directory">/etc/nano</filename> directory.
127 It includes color configurations and has some documentation included
128 in the comments.</para>
129
130 </sect3>
131
132 </sect2>
133
134 <sect2 role="content">
135 <title>Contents</title>
136
137 <segmentedlist>
138 <segtitle>Installed Programs</segtitle>
139 <segtitle>Installed Libraries</segtitle>
140 <segtitle>Installed Directories</segtitle>
141
142 <seglistitem>
143 <seg>nano and rnano</seg>
144 <seg>None</seg>
145 <seg>/etc/nano, /usr/share/nano and
146 /usr/share/doc/nano-&nano-version;</seg>
147 </seglistitem>
148 </segmentedlist>
149
150 <variablelist>
151 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
152 <?dbfo list-presentation="list"?>
153 <?dbhtml list-presentation="table"?>
154
155 <varlistentry id="nano-prog">
156 <term><command>nano</command></term>
157 <listitem>
158 <para>is a small, simple text editor which aims to replace
159 <application>Pico</application>, the default editor in the
160 <application>Pine</application> package.</para>
161 <indexterm zone="nano nano-prog">
162 <primary sortas="b-nano">nano</primary>
163 </indexterm>
164 </listitem>
165 </varlistentry>
166
167 <varlistentry id="rnano-prog">
168 <term><command>rnano</command></term>
169 <listitem>
170 <para>is a restricted mode for <command>nano</command>.</para>
171 <indexterm zone="nano rnano-prog">
172 <primary sortas="b-rnano">rnano</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.