Ignore:
Timestamp:
05/04/2003 05:39:22 PM (21 years ago)
Author:
Larry Lawrence <larry@…>
Branches:
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, v5_0, v5_0-pre1, v5_1, v5_1-pre1, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
342dc1e4
Parents:
3fedd09
Message:

tagged some writeups

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/logon.xml

    r3fedd09 r766bbe40  
    33<title>/etc/issue (Customizing your logon)</title>
    44
    5 <para>When you first boot up your new LFS system, the logon screen will
     5<para>When you first boot up your new <acronym>LFS</acronym> system, the logon
     6screen will
    67be nice and plain (as it should be in a bare-bones system).  Many people
    78however, will want their system to display some information in the logon
     
    1314insert information about the system.  There is also the file
    1415<filename>issue.net</filename> which can be used when logging on remotely. 
    15 SSH however, will only use it if you set the option in the
     16<command>ssh</command> however, will only use it if you set the option in the
    1617configuration file and will also <emphasis>not</emphasis> interpret the
    1718escape sequences as shown below.</para>
     
    1920<para>One of the most common things which people want to do is to clear
    2021the screen at each logon.  The easiest way of doing that is to put a
    21 "clear" escape into <filename>/etc/issue</filename>.  A simple way of doing this is to do
    22 <userinput>clear &gt; /etc/issue</userinput>.  This will insert the
    23 relevant escape code into the start of the
     22"clear" escape into <filename>/etc/issue</filename>.  A simple way of doing
     23this is to do <userinput><command>clear &gt; /etc/issue</command></userinput>. 
     24This will insert the relevant escape code into the start of the
    2425<filename>/etc/issue</filename> file.  Note that if you do this, when
    25 you edit the file, you should leave the ^[c character on the first line
    26 alone.</para>
     26you edit the file, you should leave the ^[c character on
     27the first line alone.</para>
    2728
    2829<para>The following escapes are recognized by agetty (the program which
    2930usually parses <filename>/etc/issue</filename>).  This information is from
    30 <userinput>man agetty</userinput> where you can find extra information
     31<command>man agetty</command> where you can find extra information
    3132about the logon process.</para>
    3233
    33 <para>The <filename>issue</filename> file can contain certain escape codes to display various
    34 information.  All escape codes consist of a backslash (\) immediately followed
    35 by one of the letters explained below (so \d in
    36 <filename>/etc/issue</filename> would insert the current date).</para>
     34<para>The <filename>issue</filename> file can contain certain escape codes to
     35display various information.  All escape codes consist of a backslash
     36(\) immediately followed by one of the letters explained
     37below (so \d in <filename>/etc/issue</filename> would
     38insert the current date).</para>
    3739
    38 <para><screen>b   Insert the baudrate of the current line.
     40<screen>b   Insert the baudrate of the current line.
    3941d   Insert the current date.
    4042s   Insert the system name, the name of the operating system.
     
    4850U   Insert the string "1 user" or "&lt;n&gt; users" where &lt;n&gt; is the
    4951    number of current users logged in.
    50 v   Insert the version of the OS, e.g. the build-date etc.</screen></para>
     52v   Insert the version of the <acronym>OS</acronym>, e.g. the build-date etc.</screen>
    5153
    5254</sect1>
Note: See TracChangeset for help on using the changeset viewer.