r4798 - trunk/BOOK/postlfs/editors

randy at linuxfromscratch.org randy at linuxfromscratch.org
Tue Jul 26 19:00:14 PDT 2005


Author: randy
Date: 2005-07-26 20:00:09 -0600 (Tue, 26 Jul 2005)
New Revision: 4798

Modified:
   trunk/BOOK/postlfs/editors/bluefish.xml
   trunk/BOOK/postlfs/editors/ed.xml
   trunk/BOOK/postlfs/editors/emacs.xml
   trunk/BOOK/postlfs/editors/nano.xml
   trunk/BOOK/postlfs/editors/vim.xml
Log:
Fixed typos in various Chapter 6 package instructions; slight modifications to the nano build instructions

Modified: trunk/BOOK/postlfs/editors/bluefish.xml
===================================================================
--- trunk/BOOK/postlfs/editors/bluefish.xml	2005-07-26 21:42:38 UTC (rev 4797)
+++ trunk/BOOK/postlfs/editors/bluefish.xml	2005-07-27 02:00:09 UTC (rev 4798)
@@ -30,7 +30,7 @@
     <title>Introduction to Bluefish</title>
 
     <para>The <application>Bluefish</application> package contains a powerful X
-    Window System editor designed for web designers, but which is also suitable
+    Window System editor designed for web designers, but also suitable
     as a programmer's editor.  Bluefish supports many programming and markup
     languages, and as such is ideal for editing XML and HTML files.</para>
 

Modified: trunk/BOOK/postlfs/editors/ed.xml
===================================================================
--- trunk/BOOK/postlfs/editors/ed.xml	2005-07-26 21:42:38 UTC (rev 4797)
+++ trunk/BOOK/postlfs/editors/ed.xml	2005-07-27 02:00:09 UTC (rev 4798)
@@ -138,8 +138,9 @@
       <varlistentry id="red">
         <term><command>red</command></term>
         <listitem>
-          <para>is a restricted ed—it can only edit files in the
-          current directory and cannot execute shell commands.</para>
+          <para>is a restricted <command>ed</command>—it can only edit
+          files in the current directory and cannot execute shell
+          commands.</para>
           <indexterm zone="ed red">
             <primary sortas="b-red">red</primary>
           </indexterm>

Modified: trunk/BOOK/postlfs/editors/emacs.xml
===================================================================
--- trunk/BOOK/postlfs/editors/emacs.xml	2005-07-26 21:42:38 UTC (rev 4797)
+++ trunk/BOOK/postlfs/editors/emacs.xml	2005-07-27 02:00:09 UTC (rev 4798)
@@ -29,7 +29,7 @@
   <sect2 role="package">
     <title>Introduction to Emacs</title>
 
-    <para>The <application>Emacs</application> package contains the extensible,
+    <para>The <application>Emacs</application> package contains an extensible,
     customizable, self-documenting real-time display editor.</para>
 
     <bridgehead renderas="sect3">Package Information</bridgehead>
@@ -60,7 +60,7 @@
     <para>X (<xref linkend="xfree86"/> or <xref linkend="xorg"/>),
     <xref linkend="libjpeg"/>,
     <xref linkend="libpng"/>,
-    <xref linkend="libtiff"/> and
+    <xref linkend="libtiff"/>, and
     <xref linkend="libungif"/> or <xref linkend="giflib"/></para>
 
   </sect2>
@@ -71,8 +71,7 @@
     <para>Install <application>Emacs</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr \
-   --libexecdir=/usr/sbin &&
+<screen><userinput>./configure --prefix=/usr --libexecdir=/usr/sbin &&
 make bootstrap</userinput></screen>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
@@ -148,7 +147,7 @@
       <varlistentry id="emacsclient">
         <term><command>emacsclient</command></term>
         <listitem>
-          <para>attaches an emacs <command>session</command> to an already
+          <para>attaches an <command>emacs</command> session to an already
           running <command>emacsserver</command> instance.</para>
           <indexterm zone="emacs emacsclient">
             <primary sortas="b-emacsclient">emacsclient</primary>

Modified: trunk/BOOK/postlfs/editors/nano.xml
===================================================================
--- trunk/BOOK/postlfs/editors/nano.xml	2005-07-26 21:42:38 UTC (rev 4797)
+++ trunk/BOOK/postlfs/editors/nano.xml	2005-07-27 02:00:09 UTC (rev 4798)
@@ -68,7 +68,7 @@
     <para>Install <application>nano</application> by running the following
     commands:</para>
 
-<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
+<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc/nano \
     --enable-color --enable-multibuffer --enable-nanorc &&
 make</userinput></screen>
 
@@ -77,8 +77,9 @@
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
 <screen role="root"><userinput>make install &&
-mkdir -v -p /usr/share/doc/nano/examples &&
-cp -v nanorc.sample /usr/share/doc/nano/examples</userinput></screen>
+install -v -m644 -D nanorc.sample /etc/nano/nanorc.sample &&
+install -v -m755 -d /usr/share/doc/nano-&nano-version; &&
+install -v -m644 *.html /usr/share/doc/nano-&nano-version;</userinput></screen>
 
   </sect2>
 
@@ -88,11 +89,11 @@
     <sect3 id="nano-config">
       <title>Config Files</title>
 
-      <para><filename>/etc/nanorc</filename> and
+      <para><filename>/etc/nano/nanorc</filename> and
       <filename>~/.nanorc</filename></para>
 
       <indexterm zone="nano nano-config">
-        <primary sortas="e-etc-nanorc">/etc/nanorc</primary>
+        <primary sortas="e-etc-nano-nanorc">/etc/nano/nanorc</primary>
       </indexterm>
 
       <indexterm zone="nano nano-config">
@@ -104,7 +105,9 @@
     <sect3>
       <title>Configuration Information</title>
 
-      <para>Example configuration</para>
+      <para>Example configuration (create as a system-wide
+      <filename>/etc/nano/nanorc</filename> or a personal
+      <filename>~/.nanorc</filename> file)</para>
 
 <screen><literal>set autoindent
 set const
@@ -116,10 +119,10 @@
 set smooth
 set suspend</literal></screen>
 
-      <para>Another example is in the <filename
-      class="directory">/usr/share/doc/nano/examples</filename> directory
-      in the <filename>nanorc.sample</filename> file.  It includes color
-      configurations and has some documentation included in the comments.</para>
+      <para>Another example is the <filename>nanorc.sample</filename> file
+      in the <filename class="directory">/etc/nano</filename> directory.
+      It includes color configurations and has some documentation included
+      in the comments.</para>
 
     </sect3>
 

Modified: trunk/BOOK/postlfs/editors/vim.xml
===================================================================
--- trunk/BOOK/postlfs/editors/vim.xml	2005-07-26 21:42:38 UTC (rev 4797)
+++ trunk/BOOK/postlfs/editors/vim.xml	2005-07-27 02:00:09 UTC (rev 4798)
@@ -174,7 +174,7 @@
         <term><command>gvim</command></term>
         <listitem>
           <para>is the editor that runs under <application>X</application>
-          and includes a GUI</para>
+          and includes a GUI.</para>
           <indexterm zone="vim gvim">
             <primary sortas="b-gvim">gvim</primary>
           </indexterm>
@@ -185,7 +185,7 @@
         <term><command>gvimdiff</command></term>
         <listitem>
           <para>edits two or three versions of a file with
-          <command>gvim</command> and show differences.</para>
+          <command>gvim</command> and shows the differences.</para>
           <indexterm zone="vim gvimdiff">
             <primary sortas="b-gvimdiff">gvimdiff</primary>
           </indexterm>




More information about the blfs-book mailing list