source: postlfs/editors/nano.xml@ e19ad480

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 e19ad480 was e19ad480, checked in by Manuel Canales Esparcia <manuel@…>, 18 years ago

Adding automatized scripts generation related tags. Postlfs part.

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

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