r4762 - trunk/BOOK/postlfs/config

randy at linuxfromscratch.org randy at linuxfromscratch.org
Fri Jul 22 13:07:57 PDT 2005


Author: randy
Date: 2005-07-22 14:07:57 -0600 (Fri, 22 Jul 2005)
New Revision: 4762

Modified:
   trunk/BOOK/postlfs/config/logon.xml
   trunk/BOOK/postlfs/config/vimrc.xml
Log:
Minor textual updates to the '/etc/vimrc' and '/etc/issue' sections of Chapter 3

Modified: trunk/BOOK/postlfs/config/logon.xml
===================================================================
--- trunk/BOOK/postlfs/config/logon.xml	2005-07-22 18:47:45 UTC (rev 4761)
+++ trunk/BOOK/postlfs/config/logon.xml	2005-07-22 20:07:57 UTC (rev 4762)
@@ -26,22 +26,22 @@
   file <filename>/etc/issue</filename>.</para>
 
   <para>The <filename>/etc/issue</filename> file is a plain text file
-  which will also accept certain Escape sequences (see below) in order to
+  which will also accept certain escape sequences (see below) in order to
   insert information about the system.  There is also the file
   <filename>issue.net</filename> which can be used when logging on remotely.
   <command>ssh</command> however, will only use it if you set the option in the
-  configuration file and will also <emphasis>not</emphasis> interpret the
+  configuration file and will <emphasis>not</emphasis> interpret the
   escape sequences shown below.</para>
 
-  <para>One of the most common things which people want to do is to clear
+  <para>One of the most common things which people want to do is clear
   the screen at each logon.  The easiest way of doing that is to put a "clear"
-  escape-sequence into <filename>/etc/issue</filename>.  A simple way of
-  doing this is to do <command>clear > /etc/issue</command>.
+  escape sequence into <filename>/etc/issue</filename>.  A simple way of
+  doing this is to issue the command <command>clear > /etc/issue</command>.
   This will insert the relevant escape code into the start of the
   <filename>/etc/issue</filename> file.  Note that if you do this, when you
   edit the file, you should leave the ^[c character on the first line alone.</para>
 
-  <para>The following escapes are recognized by <command>agetty</command>
+  <para>The following escape sequences are recognized by <command>agetty</command>
   (the program which usually parses <filename>/etc/issue</filename>).  This
   information is from <command>man agetty</command> where you can find
   extra information about the logon process.</para>
@@ -56,10 +56,10 @@
 d   Insert the current date.
 s   Insert the system name, the name of the operating system.
 l   Insert the name of the current tty line.
-m   Insert the architecture identifier of the machine, e.g., i486
+m   Insert the architecture identifier of the machine, e.g., i686.
 n   Insert the nodename of the machine, also known as the hostname.
 o   Insert the domainname of the machine.
-r   Insert the release number of the kernel, e.g., 2.4.16.
+r   Insert the release number of the kernel, e.g., 2.6.11.12.
 t   Insert the current time.
 u   Insert the number of current users logged in.
 U   Insert the string "1 user" or "<n> users" where <n> is the
@@ -67,4 +67,3 @@
 v   Insert the version of the OS, e.g., the build-date etc.</literal></screen>
 
 </sect1>
-

Modified: trunk/BOOK/postlfs/config/vimrc.xml
===================================================================
--- trunk/BOOK/postlfs/config/vimrc.xml	2005-07-22 18:47:45 UTC (rev 4761)
+++ trunk/BOOK/postlfs/config/vimrc.xml	2005-07-22 20:07:57 UTC (rev 4762)
@@ -24,7 +24,7 @@
   </indexterm>
 
   <para>The LFS book installs <application>Vim</application>
-  as its text editor.  At this point we should state that there are a
+  as its text editor.  At this point it should be noted that there are a
   <emphasis>lot</emphasis> of different editing applications out there including
   <application>Emacs</application>, <application>nano</application>,
   <application>Joe</application> and many more.  Anyone who has been around the
@@ -32,12 +32,13 @@
   least one flame war, usually involving <application>Vim</application> and
   <application>Emacs</application> users!</para>
 
-  <para>The LFS book gives a basic <filename>vimrc</filename> file.  Here, we
-  attempt to enhance this file.  At startup, <command>vim</command> reads
-  <filename>/etc/vimrc</filename> and <filename>~/.vimrc</filename> (i.e., the
-  global <filename>vimrc</filename> and the user-specific one.).  Note that this is
-  only true if you compiled <application>vim</application> using LFS-3.1 onwards.
-  Prior to this, the global <filename>vimrc</filename> was
+  <para>The LFS book creates a basic <filename>vimrc</filename> file. In this
+  section you'll find an attempt to enhance this file. At startup,
+  <command>vim</command> reads <filename>/etc/vimrc</filename> and
+  <filename>~/.vimrc</filename> (i.e., the global <filename>vimrc</filename>
+  and the user-specific one).  Note that this is only true if you compiled
+  <application>vim</application> using LFS-3.1 onwards. Prior to this, the
+  global <filename>vimrc</filename> was
   <filename>/usr/share/vim/vimrc</filename>.</para>
 
   <para>Here is a slightly expanded <filename>.vimrc</filename> that you can
@@ -45,8 +46,9 @@
   course, if you put it into <filename>/etc/skel/.vimrc</filename> instead, it
   will be made available to users you add to the system later. You can also copy
   the file from <filename>/etc/skel/.vimrc</filename> to the home directory of
-  users already on the system, like root. Be sure to set permissions, owner, and
-  group if you do copy anything directly from
+  users already on the system, such as
+  <systemitem class='username'>root</systemitem>. Be sure to set permissions,
+  owner, and group if you do copy anything directly from
   <filename class="directory">/etc/skel</filename>.</para>
 
 <screen><literal>" Begin .vimrc
@@ -62,7 +64,7 @@
   usual # or //.  This is correct, the syntax for
   <filename>vimrc</filename> is slightly unusual.</para>
 
-  <para>We'll run through a quick explanation of what each of the
+  <para>Below you'll find a quick explanation of what each of the
   options in this example file means here:</para>
 
   <itemizedlist>
@@ -116,4 +118,3 @@
   the User Manual Table of Contents.</para>
 
 </sect1>
-




More information about the blfs-book mailing list