source: postlfs/editors/nano.xml@ c0f1ac2

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 9.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since c0f1ac2 was c0f1ac2, checked in by Bruce Dubbs <bdubbs@…>, 5 years ago

Update to phonon-backend-vlc-4.11.0.
Update to phonon-backend-gstreamer-4.10.0.
Update to phonon-4.11.0.

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

  • Property mode set to 100644
File size: 6.1 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!-- Note minor version in URL -->
8 <!ENTITY nano-download-http "https://www.nano-editor.org/dist/v4/nano-&nano-version;.tar.xz">
9 <!ENTITY nano-download-ftp " ">
10 <!ENTITY nano-md5sum "9650dd3eb0adbab6aaa748a6f1398ccb">
11 <!ENTITY nano-size "1.4 MB">
12 <!ENTITY nano-buildsize "19 MB">
13 <!ENTITY nano-time "0.2 SBU">
14]>
15
16<sect1 id="nano" xreflabel="nano-&nano-version;">
17 <?dbhtml filename="nano.html"?>
18
19 <sect1info>
20 <othername>$LastChangedBy$</othername>
21 <date>$Date$</date>
22 </sect1info>
23
24 <title>Nano-&nano-version;</title>
25
26 <indexterm zone="nano">
27 <primary sortas="a-Nano">Nano</primary>
28 </indexterm>
29
30 <sect2 role="package">
31 <title>Introduction to Nano</title>
32
33 <para>
34 The <application>Nano</application> package contains a small,
35 simple text editor which aims to replace <application>Pico</application>,
36 the default editor in the <application>Pine</application> package.
37 </para>
38
39 &lfs90_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&nano-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&nano-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &nano-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &nano-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &nano-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &nano-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <para condition="html" role="usernotes">User Notes:
76 <ulink url="&blfs-wiki;/Nano"/>
77 </para>
78 </sect2>
79
80 <sect2 role="installation">
81 <title>Installation of Nano</title>
82
83 <para>Install <application>Nano</application> by running the following
84 commands:</para>
85
86<screen><userinput>./configure --prefix=/usr \
87 --sysconfdir=/etc \
88 --enable-utf8 \
89 --docdir=/usr/share/doc/nano-&nano-version; &amp;&amp;
90make</userinput></screen>
91
92 <para>
93 This package does not come with a test suite.
94 </para>
95
96 <para>
97 Now, as the <systemitem class="username">root</systemitem> user:
98 </para>
99
100<screen role="root"><userinput>make install &amp;&amp;
101install -v -m644 doc/{nano.html,sample.nanorc} /usr/share/doc/nano-&nano-version;</userinput></screen>
102
103 </sect2>
104
105 <sect2 role="commands">
106 <title>Command Explanations</title>
107
108 <para>
109 <parameter>--enable-utf8</parameter>: This switch enables unicode support
110 in <application>Nano</application>.
111 </para>
112
113 </sect2>
114
115 <sect2 role="configuration">
116 <title>Configuring nano</title>
117
118 <sect3 id="nano-config">
119 <title>Config Files</title>
120
121 <para><filename>/etc/nanorc</filename> and
122 <filename>~/.nanorc</filename></para>
123
124 <indexterm zone="nano nano-config">
125 <primary sortas="e-etc-nanorc">/etc/nanorc</primary>
126 </indexterm>
127
128 <indexterm zone="nano nano-config">
129 <primary sortas="e-AA.nanorc">~/.nanorc</primary>
130 </indexterm>
131
132 </sect3>
133
134 <sect3>
135 <title>Configuration Information</title>
136
137 <para>
138 Example configuration (create as a system-wide
139 <filename>/etc/nanorc</filename> or a personal
140 <filename>~/.nanorc</filename> file)
141 </para>
142
143<screen><literal>set autoindent
144set constantshow
145set fill 72
146set historylog
147set multibuffer
148set nohelp
149set positionlog
150set quickblank
151set regexp
152set suspend</literal></screen>
153
154 <para>
155 Check the <filename>sample.nanorc</filename> file in the installed
156 documentation directory. It includes color configurations and has
157 some documentation included in the comments.
158 </para>
159
160 <para>
161 Syntax highlighting is provided for several file types, in
162 <filename class="directory">/usr/share/nano/</filename> directory.
163 E.g., for shell scripts, you can insert
164 <option>include /usr/share/nano/sh.nanorc</option> in the personal or
165 global configuration file. If you wish highlighting for all supported
166 files, use <option>include /usr/share/nano/*.nanorc</option>.
167 </para>
168
169 </sect3>
170
171 </sect2>
172
173 <sect2 role="content">
174 <title>Contents</title>
175
176 <segmentedlist>
177 <segtitle>Installed Programs</segtitle>
178 <segtitle>Installed Libraries</segtitle>
179 <segtitle>Installed Directories</segtitle>
180
181 <seglistitem>
182 <seg>
183 nano and rnano (symlink)
184 </seg>
185 <seg>
186 None
187 </seg>
188 <seg>
189 /usr/share/nano and
190 /usr/share/doc/nano-&nano-version;
191 </seg>
192 </seglistitem>
193 </segmentedlist>
194
195 <variablelist>
196 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
197 <?dbfo list-presentation="list"?>
198 <?dbhtml list-presentation="table"?>
199
200 <varlistentry id="nano-prog">
201 <term><command>nano</command></term>
202 <listitem>
203 <para>
204 is a small, simple text editor which aims to replace
205 <application>Pico</application>, the default editor in the
206 <application>Pine</application> package.
207 </para>
208 <indexterm zone="nano nano-prog">
209 <primary sortas="b-nano">nano</primary>
210 </indexterm>
211 </listitem>
212 </varlistentry>
213
214 <varlistentry id="rnano-prog">
215 <term><command>rnano</command></term>
216 <listitem>
217 <para>
218 is a restricted mode for <command>nano</command>.
219 </para>
220 <indexterm zone="nano rnano-prog">
221 <primary sortas="b-rnano">rnano</primary>
222 </indexterm>
223 </listitem>
224 </varlistentry>
225
226 </variablelist>
227
228 </sect2>
229
230</sect1>
Note: See TracBrowser for help on using the repository browser.