source: postlfs/editors/nano.xml@ 40729db

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.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 40729db was 40729db, checked in by David Jensen <djensen@…>, 19 years ago

Updated to Nano-1.2.5

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

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