source: postlfs/editors/nano.xml@ b5951ec

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 b5951ec was b5951ec, checked in by Bruce Dubbs <bdubbs@…>, 20 years ago

New XML Chapter 6

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

  • Property mode set to 100644
File size: 3.0 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-size "942 KB">
10 <!ENTITY nano-buildsize "4.6 MB">
11 <!ENTITY nano-time "0.08 SBU">
12]>
13
14<sect1 id="postlfs-editors-nano">
15<?dbhtml filename="nano.html"?>
16<title>nano-&nano-version;</title>
17
18<sect2>
19<title>Introduction to <application>nano</application></title>
20
21<para>The <application>nano</application> package contains a small, simple text editor which
22aims to replace <application>Pico</application>, the default editor in
23the <application>Pine</application> package.</para>
24
25<sect3><title>Package information</title>
26<itemizedlist spacing='compact'>
27<listitem><para>Download (HTTP): <ulink
28url="&nano-download-http;"/></para></listitem>
29<listitem><para>Download (FTP): <ulink
30url="&nano-download-ftp;"/></para></listitem>
31<listitem><para>Download size: &nano-size;</para></listitem>
32<listitem><para>Estimated Disk space required:
33&nano-buildsize;</para></listitem>
34<listitem><para>Estimated build time:
35&nano-time;</para></listitem></itemizedlist>
36</sect3>
37
38<sect3><title><application>nano</application> dependencies</title>
39<sect4><title>Optional</title>
40<para><xref linkend="slang"/>
41</para></sect4>
42</sect3>
43
44</sect2>
45
46<sect2>
47<title>Installation of <application>nano</application></title>
48
49<para>Install <application>nano</application> by running the following commands:</para>
50
51<screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
52 --enable-color --enable-multibuffer --enable-nanorc &amp;&amp;
53make &amp;&amp;
54make install &amp;&amp;
55mkdir -p /usr/share/doc/nano/examples &amp;&amp;
56cp nanorc.sample /usr/share/doc/nano/examples</command></userinput></screen>
57
58</sect2>
59
60<sect2>
61<title>Configuring nano</title>
62
63<sect3><title>Config files</title>
64<para><filename>/etc/nanorc</filename>, <filename>~/.nanorc</filename></para>
65
66<para>Example Configuration</para>
67
68<screen><userinput>set autoindent
69set const
70set fill 72
71set historylog
72set multibuffer
73set nohelp
74set regexp
75set smooth
76set suspend</userinput></screen>
77
78<para>Another example is in the <filename
79class="directory">/usr/share/doc/nano/examples</filename> directory in
80the <filename>nanorc.sample</filename> file. It includes color
81configurations and has some documentation included in the
82comments.</para>
83</sect3>
84</sect2>
85
86<sect2>
87<title>Contents</title>
88
89<para>The <application>nano</application> package contains
90<command>nano</command>.</para>
91
92</sect2>
93
94<sect2><title>Description</title>
95
96<sect3><title>nano</title>
97<para><command>nano</command> is a small, simple text editor which aims to replace
98<application>Pico</application>, the default editor in the
99<application>Pine</application> package.</para></sect3>
100
101</sect2>
102
103</sect1>
Note: See TracBrowser for help on using the repository browser.