Changeset 2cfa892


Ignore:
Timestamp:
05/13/2005 05:52:11 PM (19 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Branches:
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
Children:
09813307
Parents:
c0a34eb
Message:

Tagged nano.xml

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/editors/nano.xml

    rc0a34eb r2cfa892  
    1414
    1515<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
    23 sortas="a-nano">Nano</primary></indexterm>
     16  <?dbhtml filename="nano.html"?>
    2417
    25 <sect2>
    26 <title>Introduction to <application>nano</application></title>
     18  <sect1info>
     19    <othername>$LastChangedBy$</othername>
     20    <date>$Date$</date>
     21  </sect1info>
    2722
    28 <para>The <application>nano</application> package contains a small, simple
    29 text editor which aims to replace <application>Pico</application>, the default
    30 editor in the <application>Pine</application> package.</para>
     23  <title>Nano-&nano-version;</title>
    3124
    32 <sect3><title>Package information</title>
    33 <itemizedlist spacing='compact'>
    34 <listitem><para>Download (HTTP): <ulink
    35 url="&nano-download-http;"/></para></listitem>
    36 <listitem><para>Download (FTP): <ulink
    37 url="&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>
     25  <indexterm zone="nano">
     26    <primary sortas="a-Nano">Nano</primary>
     27  </indexterm>
    4528
    46 <sect3><title><application>nano</application> dependencies</title>
    47 <sect4><title>Optional</title>
    48 <para><xref linkend="slang"/></para>
    49 </sect4>
    50 </sect3>
     29  <sect2 role="package">
     30    <title>Introduction to Nano</title>
    5131
    52 </sect2>
     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>
    5335
    54 <sect2>
    55 <title>Installation of <application>nano</application></title>
     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>
    5657
    57 <para>Install <application>nano</application> by running the following
    58 commands:</para>
     58    <bridgehead renderas="sect3">Nano Dependencies</bridgehead>
    5959
    60 <screen><userinput><command>./configure --prefix=/usr --sysconfdir=/etc \
     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 \
    6172    --enable-color --enable-multibuffer --enable-nanorc &amp;&amp;
    62 make</command></userinput></screen>
     73make</userinput></screen>
    6374
    64 <para>Now, as the root user:</para>
     75    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    6576
    66 <screen><userinput role='root'><command>make install &amp;&amp;
    67 mkdir -p /usr/share/doc/nano/examples &amp;&amp;
    68 cp nanorc.sample /usr/share/doc/nano/examples</command></userinput></screen>
     77<screen role="root"><userinput>make install &amp;&amp;
     78mkdir -v -p /usr/share/doc/nano/examples &amp;&amp;
     79cp -v nanorc.sample /usr/share/doc/nano/examples</userinput></screen>
    6980
    70 </sect2>
     81  </sect2>
    7182
    72 <sect2>
    73 <title>Configuring nano</title>
     83  <sect2 role="configuration">
     84    <title>Configuring nano</title>
    7485
    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>
     86    <sect3 id="nano-config">
     87      <title>Config Files</title>
    8388
    84 <para>Example Configuration</para>
     89      <para><filename>/etc/nanorc</filename> and
     90      <filename>~/.nanorc</filename></para>
    8591
    86 <screen><userinput>set autoindent
     92      <indexterm zone="nano nano-config">
     93        <primary sortas="e-etc-nanorc">/etc/nanorc</primary>
     94      </indexterm>
     95
     96      <indexterm zone="nano nano-config">
     97        <primary sortas="e-AA.nanorc">~/.nanorc</primary>
     98      </indexterm>
     99
     100    </sect3>
     101
     102    <sect3>
     103      <title>Configuration Information</title>
     104
     105      <para>Example configuration</para>
     106
     107<screen><literal>set autoindent
    87108set const
    88109set fill 72
     
    92113set regexp
    93114set smooth
    94 set suspend</userinput></screen>
     115set suspend</literal></screen>
    95116
    96 <para>Another example is in the
    97 <filename class="directory">/usr/share/doc/nano/examples</filename> directory
    98 in the <filename>nanorc.sample</filename> file.  It includes color
    99 configurations and has some documentation included in the comments.</para>
    100 </sect3>
    101 </sect2>
     117      <para>Another example is in the <filename
     118      class="directory">/usr/share/doc/nano/examples</filename> directory
     119      in the <filename>nanorc.sample</filename> file.  It includes color
     120      configurations and has some documentation included in the comments.</para>
    102121
    103 <sect2>
    104 <title>Contents</title>
     122    </sect3>
    105123
    106 <segmentedlist>
    107 <segtitle>Installed Programs</segtitle>
    108 <segtitle>Installed Libraries</segtitle>
    109 <segtitle>Installed Directory</segtitle>
    110 <seglistitem>
    111 <seg>nano</seg>
    112 <seg>None</seg>
    113 <seg>/usr/share/doc/nano</seg>
    114 </seglistitem>
    115 </segmentedlist>
     124  </sect2>
    116125
    117 <variablelist>
    118 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
    119 <?dbfo list-presentation="list"?>
     126  <sect2 role="content">
     127    <title>Contents</title>
    120128
    121 <varlistentry id="nano-prog">
    122 <term><filename>nano</filename></term>
    123 <listitem><para>is a small, simple text editor which aims to
    124 replace <application>Pico</application>, the default editor in the
    125 <application>Pine</application> package.</para>
    126 <indexterm zone="nano nano-prog">
    127 <primary sortas="b-nano">nano</primary></indexterm>
    128 </listitem>
    129 </varlistentry>
     129    <segmentedlist>
     130      <segtitle>Installed Programs</segtitle>
     131      <segtitle>Installed Libraries</segtitle>
     132      <segtitle>Installed Directory</segtitle>
    130133
    131 </variablelist>
     134      <seglistitem>
     135        <seg>nano</seg>
     136        <seg>None</seg>
     137        <seg>/usr/share/doc/nano</seg>
     138      </seglistitem>
     139    </segmentedlist>
    132140
    133 </sect2>
     141    <variablelist>
     142      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
     143      <?dbfo list-presentation="list"?>
     144      <?dbhtml list-presentation="table"?>
     145
     146      <varlistentry id="nano-prog">
     147        <term><command>nano</command></term>
     148        <listitem>
     149          <para>is a small, simple text editor which aims to replace
     150          <application>Pico</application>, the default editor in the
     151          <application>Pine</application> package.</para>
     152          <indexterm zone="nano nano-prog">
     153            <primary sortas="b-nano">nano</primary>
     154          </indexterm>
     155        </listitem>
     156      </varlistentry>
     157
     158    </variablelist>
     159
     160  </sect2>
    134161
    135162</sect1>
Note: See TracChangeset for help on using the changeset viewer.