Changeset 766bbe40
- Timestamp:
- 05/04/2003 05:39:22 PM (21 years ago)
- Branches:
- 10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 12.2, 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, gimp3, 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/for-12.3, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/spidermonkey128, xry111/test-20220226, xry111/xf86-video-removal
- Children:
- 342dc1e4
- Parents:
- 3fedd09
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
index.xml
r3fedd09 r766bbe40 3 3 "/usr/share/docbook/docbookx.dtd" [ 4 4 5 <!ENTITY version "2003050 3">6 <!ENTITY releasedate "May 3rd, 2003">5 <!ENTITY version "20030504"> 6 <!ENTITY releasedate "May 4th, 2003"> 7 7 8 8 <!ENTITY % book SYSTEM "book/book.ent"> -
postlfs/config/inputrc.xml
r3fedd09 r766bbe40 3 3 <title>/etc/inputrc</title> 4 4 5 <para>Inputrc deals with the mapping of the keyboard for certain 6 situations. This file is the start-up file used by readline - the input 7 related library used by Bash and most other shells.</para> 5 <para><filename>inputrc</filename> deals with the mapping of the keyboard for 6 certain situations. This file is the start-up file used by 7 <application>readline</application> - the input related library used by 8 <application>Bash</application> and most other shells.</para> 8 9 9 <para>For more information see <filename>info bash</filename> -- Node: 10 Readline Init file as well as <filename>info readline</filename>. There 11 is a lot that can be done with this one rc file.</para> 10 <para>For more information see <command>info bash</command> -- <emphasis 11 role="strong">Node: Readline Init</emphasis> file as well as 12 <command>info readline</command>. There is a lot that can be done with this 13 one rc file.</para> 12 14 13 15 <para>The following is a base <filename>/etc/inputrc</filename> along with … … 17 19 same line as commands in <filename>inputrc</filename>.</para> 18 20 19 <para><screen># Begin /etc/inputrc 21 <screen><userinput><command>cat > /etc/inputrc << "EOF"</command> 22 # Begin /etc/inputrc 20 23 21 24 # Make sure we don't output everything on the 1 line … … 54 57 "\eOF": end-of-line 55 58 56 # End /etc/inputrc</screen></para> 59 # End /etc/inputrc 60 <command>EOF</command></userinput></screen> 57 61 58 62 <para>Global values are set in <filename>/etc/inputrc</filename>. 59 63 Personal user values as are set in <filename>~/.inputrc</filename>. The 60 64 <filename>~/.inputrc</filename> file will override the global settings 61 file. The previous page sets up Bashto use65 file. The previous page sets up <application>Bash</application> to use 62 66 <filename>/etc/inputrc</filename> by default. If you want your system 63 67 to use both, it might be a good idea to place a default -
postlfs/config/logon.xml
r3fedd09 r766bbe40 3 3 <title>/etc/issue (Customizing your logon)</title> 4 4 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 6 screen will 6 7 be nice and plain (as it should be in a bare-bones system). Many people 7 8 however, will want their system to display some information in the logon … … 13 14 insert information about the system. There is also the file 14 15 <filename>issue.net</filename> which can be used when logging on remotely. 15 SSHhowever, will only use it if you set the option in the16 <command>ssh</command> however, will only use it if you set the option in the 16 17 configuration file and will also <emphasis>not</emphasis> interpret the 17 18 escape sequences as shown below.</para> … … 19 20 <para>One of the most common things which people want to do is to clear 20 21 the 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 do22 <userinput>clear > /etc/issue</userinput>. This will insert the 23 relevant escape code into the start of the22 "clear" escape into <filename>/etc/issue</filename>. A simple way of doing 23 this is to do <userinput><command>clear > /etc/issue</command></userinput>. 24 This will insert the relevant escape code into the start of the 24 25 <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 line26 alone.</para>26 you edit the file, you should leave the ^[c character on 27 the first line alone.</para> 27 28 28 29 <para>The following escapes are recognized by agetty (the program which 29 30 usually parses <filename>/etc/issue</filename>). This information is from 30 < userinput>man agetty</userinput> where you can find extra information31 <command>man agetty</command> where you can find extra information 31 32 about the logon process.</para> 32 33 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 35 display various information. All escape codes consist of a backslash 36 (\) immediately followed by one of the letters explained 37 below (so \d in <filename>/etc/issue</filename> would 38 insert the current date).</para> 37 39 38 < para><screen>b Insert the baudrate of the current line.40 <screen>b Insert the baudrate of the current line. 39 41 d Insert the current date. 40 42 s Insert the system name, the name of the operating system. … … 48 50 U Insert the string "1 user" or "<n> users" where <n> is the 49 51 number of current users logged in. 50 v Insert the version of the OS, e.g. the build-date etc.</screen></para>52 v Insert the version of the <acronym>OS</acronym>, e.g. the build-date etc.</screen> 51 53 52 54 </sect1> -
postlfs/config/profile.xml
r3fedd09 r766bbe40 12 12 <filename>/etc/passwd</filename> file. An 13 13 interactive non-login shell is started at the command line (e.g. 14 [prompt]$<userinput>/bin/bash</userinput>). A non-interactive shell is 15 usually present when a shell script is running. It is non-interactive14 <prompt>[prompt]$</prompt><command>/bin/bash</command>). A non-interactive 15 shell is usually present when a shell script is running. It is non-interactive 16 16 because it is processing a script and not waiting for user input between 17 17 commands.</para> 18 18 19 <para>For more information see <filename>info bash</filename> -- Nodes: 20 Bash Startup Files and Interactive Shells</para> 19 <para>For more information see <command>info bash</command> -- 20 <emphasis role="strong">Nodes: Bash Startup Files and Interactive 21 Shells.</emphasis></para> 21 22 22 23 <para>The following files are needed to make sure that the correct … … 35 36 <para>Here is a base <filename>/etc/profile</filename>. Comments in the 36 37 file should explain everything you need. For more information on the 37 escape sequences you can use for your prompt (e.g. the PS1 environment 38 variable) see <filename>info bash</filename> -- Node: Printing a 39 Prompt.</para> 40 41 <para><screen># Begin /etc/profile 38 escape sequences you can use for your prompt (e.g. the 39 <envar>PS1</envar> environment variable) see <command>info 40 bash</command> -- <emphasis role="strong">Node: Printing a 41 Prompt.</emphasis></para> 42 43 <screen><userinput><command>cat > /etc/profile << "EOF"</command> 44 # Begin /etc/profile 42 45 # Written for Beyond Linux From Scratch 43 46 # by James Robertson <jameswrobertson@earthlink.net> … … 98 101 export PATH HISTSIZE PS1 LS_COLORS INPUTRC 99 102 100 # End /etc/profile</screen></para> 103 # End /etc/profile 104 <command>EOF</command></userinput></screen> 101 105 102 106 <para>Here is a base <filename>/etc/bashrc</filename>. Comments in the 103 107 file should explain everything you need.</para> 104 108 105 <para><screen># Begin /etc/bashrc 109 <screen><userinput><command>cat > /etc/bashrc << "EOF"</command> 110 # Begin /etc/bashrc 106 111 # Written for Beyond Linux From Scratch 107 112 # by James Robertson <jameswrobertson@earthlink.net> … … 126 131 alias ls='ls --color=auto' 127 132 128 # End /etc/bashrc</screen></para> 133 # End /etc/bashrc 134 <command>EOF</command></userinput></screen> 129 135 130 136 <para>Here is a base <filename>~/.bash_profile</filename>. Comments in 131 137 the file should explain everything you need.</para> 132 138 133 <para><screen># Begin ~/.bash_profile 139 <screen><userinput><command>cat > ~/.bash_profile << "EOF"</command> 140 # Begin ~/.bash_profile 134 141 # Written for Beyond Linux From Scratch 135 142 # by James Robertson <jameswrobertson@earthlink.net> … … 151 158 export PATH 152 159 153 # End ~/.bash_profile</screen></para> 160 # End ~/.bash_profile 161 <command>EOF</command></userinput></screen> 154 162 155 163 <para>Here is a base <filename>~/.bashrc</filename>. Comments in the 156 164 file should explain everything you need.</para> 157 165 158 <para><screen># Begin ~/.bashrc 166 <screen><userinput><command>cat > ~/.bashrc << "EOF"</command> 167 # Begin ~/.bashrc 159 168 # Written for Beyond Linux From Scratch 160 169 # by James Robertson <jameswrobertson@earthlink.net> … … 171 180 fi 172 181 173 # End ~/.bashrc</screen></para> 182 # End ~/.bashrc 183 <command>EOF</command></userinput></screen> 174 184 175 185 <para>Here is a base <filename>~/.bash_logout</filename>. Comments in … … 179 189 handled in the <filename>/etc/issue</filename> file.</para> 180 190 181 <para><screen># Begin ~/.bash_logout 191 <screen><userinput><command>cat > ~/.bash_logout << "EOF"</command> 192 # Begin ~/.bash_logout 182 193 # Written for Beyond Linux From Scratch 183 194 # by James Robertson <jameswrobertson@earthlink.net> … … 185 196 # Personal items to perform on logout. 186 197 187 # End ~/.bash_logout</screen></para> 198 # End ~/.bash_logout 199 <command>EOF</command></userinput></screen> 188 200 189 201 <para>If you want to use the <filename>/etc/dircolors</filename> or -
postlfs/config/random.xml
r3fedd09 r766bbe40 4 4 5 5 <para>The Linux kernel supplies a random number generator which is accessed 6 through <filename>/dev/random</filename> and 7 <filename>/dev/urandom</filename>. Programs that utilize the random and 8 urandom devices, such as OpenSSH, will benefit from these instructions.</para> 6 through <filename class="devicefile">/dev/random</filename> and 7 <filename class="devicefile">/dev/urandom</filename>. Programs that utilize 8 the random and urandom devices, such as <application>OpenSSH</application>, 9 will benefit from these instructions.</para> 9 10 10 11 <para>When a Linux system starts up without much operator interaction, the … … 16 17 for you automatically.</para> 17 18 18 < para><screen><userinput>cat > /etc/rc.d/init.d/random << "EOF"19 </ userinput>19 <screen><userinput><command>cat > /etc/rc.d/init.d/random << "EOF" 20 </command> 20 21 #!/bin/sh 21 22 # Begin $rc_base/init.d/random … … 51 52 52 53 # End $rc_base/init.d/random 53 < userinput>EOF54 chmod 755 /etc/rc.d/init.d/random</ userinput></screen></para>54 <command>EOF 55 chmod 755 /etc/rc.d/init.d/random</command></userinput></screen> 55 56 56 57 <para>Create the symbolic links to this file in the relevant 57 58 <filename class="directory">rc.d</filename> directories 58 59 with the following commands: 59 <screen><userinput> cd /etc/rc.d/init.d &&60 <screen><userinput><command>cd /etc/rc.d/init.d && 60 61 ln -sf ../init.d/random ../rc0.d/K45random && 61 62 ln -sf ../init.d/random ../rc2.d/S25random && … … 63 64 ln -sf ../init.d/random ../rc4.d/S25random && 64 65 ln -sf ../init.d/random ../rc5.d/S25random && 65 ln -sf ../init.d/random ../rc6.d/K45random</ userinput></screen></para>66 ln -sf ../init.d/random ../rc6.d/K45random</command></userinput></screen></para> 66 67 67 68
Note:
See TracChangeset
for help on using the changeset viewer.