Changeset 615b431 for postlfs


Ignore:
Timestamp:
07/22/2005 08:07:57 PM (19 years ago)
Author:
Randy McMurchy <randy@…>
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:
853ae568
Parents:
ba0deaad
Message:

Minor textual updates to the '/etc/vimrc' and '/etc/issue' sections of Chapter 3

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

Location:
postlfs/config
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/logon.xml

    rba0deaad r615b431  
    2727
    2828  <para>The <filename>/etc/issue</filename> file is a plain text file
    29   which will also accept certain Escape sequences (see below) in order to
     29  which will also accept certain escape sequences (see below) in order to
    3030  insert information about the system.  There is also the file
    3131  <filename>issue.net</filename> which can be used when logging on remotely.
    3232  <command>ssh</command> however, will only use it if you set the option in the
    33   configuration file and will also <emphasis>not</emphasis> interpret the
     33  configuration file and will <emphasis>not</emphasis> interpret the
    3434  escape sequences shown below.</para>
    3535
    36   <para>One of the most common things which people want to do is to clear
     36  <para>One of the most common things which people want to do is clear
    3737  the screen at each logon.  The easiest way of doing that is to put a "clear"
    38   escape-sequence into <filename>/etc/issue</filename>.  A simple way of
    39   doing this is to do <command>clear &gt; /etc/issue</command>.
     38  escape sequence into <filename>/etc/issue</filename>.  A simple way of
     39  doing this is to issue the command <command>clear &gt; /etc/issue</command>.
    4040  This will insert the relevant escape code into the start of the
    4141  <filename>/etc/issue</filename> file.  Note that if you do this, when you
    4242  edit the file, you should leave the ^[c character on the first line alone.</para>
    4343
    44   <para>The following escapes are recognized by <command>agetty</command>
     44  <para>The following escape sequences are recognized by <command>agetty</command>
    4545  (the program which usually parses <filename>/etc/issue</filename>).  This
    4646  information is from <command>man agetty</command> where you can find
     
    5757s   Insert the system name, the name of the operating system.
    5858l   Insert the name of the current tty line.
    59 m   Insert the architecture identifier of the machine, e.g., i486
     59m   Insert the architecture identifier of the machine, e.g., i686.
    6060n   Insert the nodename of the machine, also known as the hostname.
    6161o   Insert the domainname of the machine.
    62 r   Insert the release number of the kernel, e.g., 2.4.16.
     62r   Insert the release number of the kernel, e.g., 2.6.11.12.
    6363t   Insert the current time.
    6464u   Insert the number of current users logged in.
     
    6868
    6969</sect1>
    70 
  • postlfs/config/vimrc.xml

    rba0deaad r615b431  
    2525
    2626  <para>The LFS book installs <application>Vim</application>
    27   as its text editor.  At this point we should state that there are a
     27  as its text editor.  At this point it should be noted that there are a
    2828  <emphasis>lot</emphasis> of different editing applications out there including
    2929  <application>Emacs</application>, <application>nano</application>,
     
    3333  <application>Emacs</application> users!</para>
    3434
    35   <para>The LFS book gives a basic <filename>vimrc</filename> file.  Here, we
    36   attempt to enhance this file.  At startup, <command>vim</command> reads
    37   <filename>/etc/vimrc</filename> and <filename>~/.vimrc</filename> (i.e., the
    38   global <filename>vimrc</filename> and the user-specific one.).  Note that this is
    39   only true if you compiled <application>vim</application> using LFS-3.1 onwards.
    40   Prior to this, the global <filename>vimrc</filename> was
     35  <para>The LFS book creates a basic <filename>vimrc</filename> file. In this
     36  section you'll find an attempt to enhance this file. At startup,
     37  <command>vim</command> reads <filename>/etc/vimrc</filename> and
     38  <filename>~/.vimrc</filename> (i.e., the global <filename>vimrc</filename>
     39  and the user-specific one).  Note that this is only true if you compiled
     40  <application>vim</application> using LFS-3.1 onwards. Prior to this, the
     41  global <filename>vimrc</filename> was
    4142  <filename>/usr/share/vim/vimrc</filename>.</para>
    4243
     
    4647  will be made available to users you add to the system later. You can also copy
    4748  the file from <filename>/etc/skel/.vimrc</filename> to the home directory of
    48   users already on the system, like root. Be sure to set permissions, owner, and
    49   group if you do copy anything directly from
     49  users already on the system, such as
     50  <systemitem class='username'>root</systemitem>. Be sure to set permissions,
     51  owner, and group if you do copy anything directly from
    5052  <filename class="directory">/etc/skel</filename>.</para>
    5153
     
    6365  <filename>vimrc</filename> is slightly unusual.</para>
    6466
    65   <para>We'll run through a quick explanation of what each of the
     67  <para>Below you'll find a quick explanation of what each of the
    6668  options in this example file means here:</para>
    6769
     
    117119
    118120</sect1>
    119 
Note: See TracChangeset for help on using the changeset viewer.