- Timestamp:
- 07/28/2005 04:56:52 AM (19 years ago)
- 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:
- 718b162b
- Parents:
- 60867ce
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
postlfs/config/logon.xml
r60867ce r754c0de 34 34 escape sequences shown below.</para> 35 35 36 <para>One of the most common things which people want to do is clear 37 thescreen 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 issue the command <command>clear > /etc/issue</command>.40 Thiswill insert the relevant escape code into the start of the36 <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 > /etc/issue</command>. This 40 will insert the relevant escape code into the start of the 41 41 <filename>/etc/issue</filename> file. Note that if you do this, when you 42 edit the file, you should leave the ^[c character on the first line alone.</para> 42 edit the file, you should leave the characters (normally '^[[H^[[2J') on the 43 first line alone.</para> 44 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> 43 50 44 <para>The following escapesequences are recognized by <command>agetty</command>51 <para>The following sequences are recognized by <command>agetty</command> 45 52 (the program which usually parses <filename>/etc/issue</filename>). This 46 53 information is from <command>man agetty</command> where you can find 47 54 extra information about the logon process.</para> 48 55 49 <para>The <filename>issue</filename> file can contain certain escape codes to50 display various information. All escape codes consist of a backslash (\)51 immediately followed by one of the letters explained below (so52 <option>\d</option> in <filename>/etc/issue</filename> would53 insert the current date).</para>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> 54 61 55 62 <screen><literal>b Insert the baudrate of the current line.
Note:
See TracChangeset
for help on using the changeset viewer.