source: postlfs/editors/nano.xml@ 86eaa277

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 86eaa277 was 86eaa277, checked in by Dan Nichilson <dnicholson@…>, 18 years ago

Implemented Alexander Patrakov's Locale Related Issues changes

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

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