source: postlfs/editors/nano.xml@ 9f12e36

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 9f12e36 was 9f12e36, checked in by Randy McMurchy <randy@…>, 18 years ago

Removed 'keywordset' blocks and extra spaces from the XML files (note this was by accident as I meant to do just in the gnome directory but I was in the root of BOOK when I ran the script, but this was going to happen anyway so I don't think it is a big deal)

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

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