Ignore:
Timestamp:
03/25/2020 03:07:11 PM (4 years ago)
Author:
Pierre Labastie <pieere@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, lazarus, lxqt, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
986f53b9
Parents:
fa3edfef
Message:

Format postlfs config

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • postlfs/config/logon.xml

    rfa3edfef r81a73ed8  
    2020  </indexterm>
    2121
    22   <para>When you first boot up your new LFS system, the logon screen will
    23   be nice and plain (as it should be in a bare-bones system).  Many people
    24   however, will want their system to display some information in the logon
    25   message.  This can be accomplished using the
    26   file <filename>/etc/issue</filename>.</para>
     22  <para>
     23    When you first boot up your new LFS system, the logon screen will be
     24    nice and plain (as it should be in a bare-bones system).  Many people
     25    however, will want their system to display some information in the logon
     26    message.  This can be accomplished using the
     27    file <filename>/etc/issue</filename>.
     28  </para>
    2729
    28   <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
    30   insert information about the system.  There is also the file
    31   <filename>issue.net</filename> which can be used when logging on remotely.
    32   <command>ssh</command> however, will only use it if you set the option in the
    33   configuration file and will <emphasis>not</emphasis> interpret the
    34   escape sequences shown below.</para>
     30  <para>
     31    The <filename>/etc/issue</filename> file is a plain text file
     32    which will also accept certain escape sequences (see below) in order to
     33    insert information about the system.  There is also the file
     34    <filename>issue.net</filename> which can be used when logging on remotely.
     35    <command>ssh</command> however, will only use it if you set the option in
     36    the configuration file and will <emphasis>not</emphasis> interpret the
     37    escape sequences shown below.
     38  </para>
    3539
    36   <para>One of the most common things which people want to do is clear the
    37   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 doing
    39   this is to issue the command <command>clear &gt; /etc/issue</command>.  This
    40   will insert the relevant escape code into the start of the
    41   <filename>/etc/issue</filename> file.  Note that if you do this, when you
    42   edit the file, you should leave the characters (normally '^[[H^[[2J') on the
    43   first line alone.</para>
     40  <para>
     41    One of the most common things which people want to do is clear the
     42    screen at each logon.  The easiest way of doing that is to put a "clear"
     43    escape sequence into <filename>/etc/issue</filename>.  A simple way of
     44    doing this is to issue the command <command>clear &gt;
     45    /etc/issue</command>.  This will insert the relevant escape code into
     46    the start of the <filename>/etc/issue</filename> file.  Note that if
     47    you do this, when you edit the file, you should leave the characters
     48    (normally '^[[H^[[2J') on the first line alone.
     49  </para>
    4450
    45   <note><para>Terminal escape sequences are special codes recognized by the
    46   terminal.  The ^[ represents an ASCII ESC character.  The sequence ESC [ H
    47   puts the cursor in the upper left hand corner of the screen and ESC 2 J
    48   erases the screen.  For more information on terminal escape sequences see
    49   <ulink url='http://rtfm.etla.org/xterm/ctlseq.html'/></para></note>
     51  <note>
     52    <para>
     53      Terminal escape sequences are special codes recognized by the terminal.
     54      The ^[ represents an ASCII ESC character.  The sequence ESC [ H
     55      puts the cursor in the upper left hand corner of the screen and ESC 2 J
     56      erases the screen.  For more information on terminal escape sequences see
     57      <ulink url='http://rtfm.etla.org/xterm/ctlseq.html'/>
     58    </para>
     59  </note>
    5060
    51   <para>The following sequences are recognized by <command>agetty</command>
    52   (the program which usually parses <filename>/etc/issue</filename>).  This
    53   information is from <command>man agetty</command> where you can find
    54   extra information about the logon process.</para>
     61  <para>
     62    The following sequences are recognized by <command>agetty</command>
     63    (the program which usually parses <filename>/etc/issue</filename>).  This
     64    information is from <command>man agetty</command> where you can find
     65    extra information about the logon process.
     66  </para>
    5567
    56   <para>The <filename>issue</filename> file can contain certain character
    57   sequences to display various information.  All <filename>issue</filename>
    58   sequences consist of a backslash (\) immediately followed by one of the
    59   letters explained below (so <option>\d</option> in
    60   <filename>/etc/issue</filename> would insert the current date).</para>
     68  <para>
     69    The <filename>issue</filename> file can contain certain character
     70    sequences to display various information.  All <filename>issue</filename>
     71    sequences consist of a backslash (\) immediately followed by one of the
     72    letters explained below (so <option>\d</option> in
     73    <filename>/etc/issue</filename> would insert the current date).
     74  </para>
    6175
    6276<screen><literal>b   Insert the baudrate of the current line.
Note: See TracChangeset for help on using the changeset viewer.