source: postlfs/editors/nano.xml@ 3597eb6

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

Added the 'User Notes' wiki link to each package page; changed all instances of .[so,a] to .{so,a} (brackets changed to braces); changed all replaceable tags to use angle brackets instead of square brackets to encapsulate the text - commit #7

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

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