source: postlfs/editors/nano.xml@ 6c42d4e

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.2 6.2.0 6.2.0-rc1 6.2.0-rc2 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 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since 6c42d4e was 6c42d4e, checked in by Randy McMurchy <randy@…>, 18 years ago

Updated all the wiki links to point to the existing package wiki page if one existed

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