source: postlfs/editors/nano.xml@ d113301

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d113301 was 5b55f9b3, checked in by Pierre Labastie <pieere@…>, 8 years ago

Updates and tags:

  • GCC-2.6.0
  • Nano-2.6.3
  • Sysstat 11.4.0
  • OpenJPEG-2.1.1

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

  • Property mode set to 100644
File size: 6.6 KB
RevLine 
[b5951ec]1<?xml version="1.0" encoding="ISO-8859-1"?>
[6732c094]2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
[b5951ec]4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
[9513623]7 <!-- Note minor version in URL -->
8 <!ENTITY nano-download-http "https://www.nano-editor.org/dist/v2.6/nano-&nano-version;.tar.xz">
9 <!ENTITY nano-download-ftp " ">
[5b55f9b3]10 <!ENTITY nano-md5sum "b82fe6f019f9bc8e069c5c021096e280">
[9513623]11 <!ENTITY nano-size "1.0 MB">
[5b55f9b3]12 <!ENTITY nano-buildsize "12.5 MB">
[b5e1815e]13 <!ENTITY nano-time "less than 0.1 SBU">
[b5951ec]14]>
15
[fd680fb]16<sect1 id="nano" xreflabel="nano-&nano-version;">
[2cfa892]17 <?dbhtml filename="nano.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Nano-&nano-version;</title>
25
26 <indexterm zone="nano">
27 <primary sortas="a-Nano">Nano</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Nano</title>
32
[d78d84d]33 <para>
34 The <application>Nano</application> package contains a small,
35 simple text editor which aims to replace <application>Pico</application>,
36 the default editor in the <application>Pine</application> package.
37 </para>
[2cfa892]38
[5b55f9b3]39 &lfs7a_checked;
[c70fd34]40
[2cfa892]41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
[d78d84d]44 <para>
45 Download (HTTP): <ulink url="&nano-download-http;"/>
46 </para>
[2cfa892]47 </listitem>
48 <listitem>
[d78d84d]49 <para>
50 Download (FTP): <ulink url="&nano-download-ftp;"/>
51 </para>
[2cfa892]52 </listitem>
53 <listitem>
[d78d84d]54 <para>
55 Download MD5 sum: &nano-md5sum;
56 </para>
[2cfa892]57 </listitem>
58 <listitem>
[d78d84d]59 <para>
60 Download size: &nano-size;
61 </para>
[2cfa892]62 </listitem>
63 <listitem>
[d78d84d]64 <para>
65 Estimated disk space required: &nano-buildsize;
66 </para>
[2cfa892]67 </listitem>
68 <listitem>
[d78d84d]69 <para>
70 Estimated build time: &nano-time;
71 </para>
[2cfa892]72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Nano Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Optional</bridgehead>
[d78d84d]78 <para role="optional">
79 <xref linkend="slang"/>
80 </para>
[2cfa892]81
[3597eb6]82 <para condition="html" role="usernotes">User Notes:
[4890200]83 <ulink url="&blfs-wiki;/Nano"/>
84 </para>
[2cfa892]85 </sect2>
86
87 <sect2 role="installation">
88 <title>Installation of Nano</title>
89
[d78d84d]90 <para>Install <application>Nano</application> by running the following
[2cfa892]91 commands:</para>
92
[fad8db2]93<screen><userinput>./configure --prefix=/usr \
[d78d84d]94 --sysconfdir=/etc \
[30fe7dd]95 --enable-utf8 \
96 --docdir=/usr/share/doc/nano-&nano-version; &amp;&amp;
[2cfa892]97make</userinput></screen>
[d7444dee]98
[d78d84d]99 <para>
100 This package does not come with a test suite.
101 </para>
[40729db]102
[d78d84d]103 <para>
104 Now, as the <systemitem class="username">root</systemitem> user:
105 </para>
[d7444dee]106
[2cfa892]107<screen role="root"><userinput>make install &amp;&amp;
[d78d84d]108install -v -m644 doc/nanorc.sample /etc &amp;&amp;
[30fe7dd]109install -v -m644 doc/texinfo/nano.html /usr/share/doc/nano-&nano-version;</userinput></screen>
[b5951ec]110
[2cfa892]111 </sect2>
[b5951ec]112
[c70fd34]113 <sect2 role="commands">
114 <title>Command Explanations</title>
115
[90c160c]116 <para>
117 <parameter>--enable-utf8</parameter>: This switch enables unicode support
[4890200]118 in <application>Nano</application>.
119 </para>
120
[d78d84d]121 <para>
[90c160c]122 <option>--with-slang</option>: This forces <application>Nano</application>
123 to use <application>S-Lang</application>.
[d78d84d]124 Use this if installed.
125 </para>
[c70fd34]126
127 </sect2>
128
[2cfa892]129 <sect2 role="configuration">
130 <title>Configuring nano</title>
[b5951ec]131
[2cfa892]132 <sect3 id="nano-config">
133 <title>Config Files</title>
[b5951ec]134
[d78d84d]135 <para><filename>/etc/nanorc</filename> and
[2cfa892]136 <filename>~/.nanorc</filename></para>
[b5951ec]137
[2cfa892]138 <indexterm zone="nano nano-config">
[d78d84d]139 <primary sortas="e-etc-nanorc">/etc/nanorc</primary>
[2cfa892]140 </indexterm>
141
142 <indexterm zone="nano nano-config">
143 <primary sortas="e-AA.nanorc">~/.nanorc</primary>
144 </indexterm>
145
146 </sect3>
147
148 <sect3>
149 <title>Configuration Information</title>
150
[d78d84d]151 <para>
152 Example configuration (create as a system-wide
153 <filename>/etc/nanorc</filename> or a personal
154 <filename>~/.nanorc</filename> file)
155 </para>
[2cfa892]156
157<screen><literal>set autoindent
[b5951ec]158set const
159set fill 72
160set historylog
161set multibuffer
162set nohelp
163set regexp
164set smooth
[2cfa892]165set suspend</literal></screen>
166
[d78d84d]167 <para>
168 Another example is the <filename>nanorc.sample</filename> file
169 in the <filename class="directory">/etc</filename> directory.
170 It includes color configurations and has some documentation included
171 in the comments.
172 </para>
[2cfa892]173
[fcabde3c]174 <para>
175 Syntax highlighting is provided for several file types, in
176 <filename class="directory">/usr/share/nano/</filename> directory.
177 E.g., for shell scripts, you can insert
178 <option>include /usr/share/nano/sh.nanorc</option> in the personal or
179 global configuration file. If you wish highlighting for all supported
180 files, use <option>include /usr/share/nano/*.nanorc</option>.
181 </para>
182
[2cfa892]183 </sect3>
184
185 </sect2>
186
187 <sect2 role="content">
188 <title>Contents</title>
189
190 <segmentedlist>
191 <segtitle>Installed Programs</segtitle>
[c3c56b2]192 <segtitle>Installed Libraries</segtitle>
[0af9f257]193 <segtitle>Installed Directories</segtitle>
[2cfa892]194
195 <seglistitem>
[d78d84d]196 <seg>
[30fe7dd]197 nano and rnano (symlink)
[d78d84d]198 </seg>
[c3c56b2]199 <seg>
200 None
201 </seg>
[d78d84d]202 <seg>
203 /usr/share/nano and
204 /usr/share/doc/nano-&nano-version;
205 </seg>
[2cfa892]206 </seglistitem>
207 </segmentedlist>
208
209 <variablelist>
210 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
211 <?dbfo list-presentation="list"?>
212 <?dbhtml list-presentation="table"?>
213
214 <varlistentry id="nano-prog">
215 <term><command>nano</command></term>
216 <listitem>
[d78d84d]217 <para>
218 is a small, simple text editor which aims to replace
219 <application>Pico</application>, the default editor in the
220 <application>Pine</application> package.
221 </para>
[2cfa892]222 <indexterm zone="nano nano-prog">
223 <primary sortas="b-nano">nano</primary>
224 </indexterm>
225 </listitem>
226 </varlistentry>
227
[0af9f257]228 <varlistentry id="rnano-prog">
229 <term><command>rnano</command></term>
230 <listitem>
[d78d84d]231 <para>
232 is a restricted mode for <command>nano</command>.
233 </para>
[0af9f257]234 <indexterm zone="nano rnano-prog">
235 <primary sortas="b-rnano">rnano</primary>
236 </indexterm>
237 </listitem>
238 </varlistentry>
239
[2cfa892]240 </variablelist>
241
242 </sect2>
[f45b1953]243
244</sect1>
Note: See TracBrowser for help on using the repository browser.