source: postlfs/editors/nano.xml@ 36d9b2b

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 6.0 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 36d9b2b was 36d9b2b, checked in by Larry Lawrence <larry@…>, 19 years ago

reformat joe

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

  • Property mode set to 100644
File size: 3.9 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN"
3 "http://www.oasis-open.org/docbook/xml/4.3/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 "2c513310ec5e8b63abaecaf48670ac7a">
10 <!ENTITY nano-size "897 KB">
11 <!ENTITY nano-buildsize "4.3 MB">
12 <!ENTITY nano-time "0.08 SBU">
13]>
14
15<sect1 id="nano">
16<sect1info>
17<othername>$LastChangedBy$</othername>
18<date>$Date$</date>
19</sect1info>
20<?dbhtml filename="nano.html"?>
21<title>nano-&nano-version;</title>
22<indexterm zone="nano"><primary
23sortas="a-nano">nano</primary></indexterm>
24
25<sect2>
26<title>Introduction to <application>nano</application></title>
27
28<para>The <application>nano</application> package contains a small, simple
29text editor which aims to replace <application>Pico</application>, the default
30editor in the <application>Pine</application> package.</para>
31
32<sect3><title>Package information</title>
33<itemizedlist spacing='compact'>
34<listitem><para>Download (HTTP): <ulink
35url="&nano-download-http;"/></para></listitem>
36<listitem><para>Download (FTP): <ulink
37url="&nano-download-ftp;"/></para></listitem>
38<listitem><para>Download MD5 sum: &nano-md5sum;</para></listitem>
39<listitem><para>Download size: &nano-size;</para></listitem>
40<listitem><para>Estimated disk space required:
41&nano-buildsize;</para></listitem>
42<listitem><para>Estimated build time:
43&nano-time;</para></listitem></itemizedlist>
44</sect3>
45
46<sect3><title><application>nano</application> dependencies</title>
47<sect4><title>Optional</title>
48<para><xref linkend="slang"/></para>
49</sect4>
50</sect3>
51
52</sect2>
53
54<sect2>
55<title>Installation of <application>nano</application></title>
56
57<para>Install <application>nano</application> by running the following
58commands:</para>
59
60<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
61 --enable-color --enable-multibuffer --enable-nanorc &amp;&amp;
62make</command></userinput></screen>
63
64<para>Now, as the root user:</para>
65
66<screen><userinput role='root'><command>make install &amp;&amp;
67mkdir -p /usr/share/doc/nano/examples &amp;&amp;
68cp nanorc.sample /usr/share/doc/nano/examples</command></userinput></screen>
69
70</sect2>
71
72<sect2>
73<title>Configuring nano</title>
74
75<sect3 id="nano-config"><title>Config files</title>
76<para><filename>/etc/nanorc</filename>, <filename>~/.nanorc</filename></para>
77<indexterm zone="nano nano-config">
78<primary sortas="e-etc-nanorc">/etc/nanorc</primary>
79</indexterm>
80<indexterm zone="nano nano-config">
81<primary sortas="e-AA.nanorc">~/.nanorc</primary>
82</indexterm>
83
84<para>Example Configuration</para>
85
86<screen><userinput>set autoindent
87set const
88set fill 72
89set historylog
90set multibuffer
91set nohelp
92set regexp
93set smooth
94set suspend</userinput></screen>
95
96<para>Another example is in the
97<filename class="directory">/usr/share/doc/nano/examples</filename> directory
98in the <filename>nanorc.sample</filename> file. It includes color
99configurations and has some documentation included in the comments.</para>
100</sect3>
101</sect2>
102
103<sect2>
104<title>Contents</title>
105
106<segmentedlist>
107<segtitle>Installed Programs</segtitle>
108<segtitle>Installed Directory</segtitle>
109<seglistitem>
110<seg>nano</seg>
111<seg>/usr/share/doc/nano</seg>
112</seglistitem>
113</segmentedlist>
114
115<variablelist>
116<bridgehead renderas="sect3">Short Descriptions</bridgehead>
117<?dbfo list-presentation="list"?>
118
119<varlistentry id="nano-prog">
120<term><filename>nano</filename></term>
121<listitem><para>is a small, simple text editor which aims to
122replace <application>Pico</application>, the default editor in the
123<application>Pine</application> package.</para>
124<indexterm zone="nano nano-prog">
125<primary sortas="b-nano">nano</primary></indexterm>
126</listitem>
127</varlistentry>
128
129</variablelist>
130
131</sect2>
132
133</sect1>
Note: See TracBrowser for help on using the repository browser.