LDP/LDP/retired/LFS/chapter01/conventions.xml

49 lines
1.8 KiB
XML
Raw Permalink Normal View History

2002-03-20 23:31:55 +00:00
<sect1 id="ch01-conventions">
<title>Conventions used in this book</title>
<?dbhtml filename="conventions.html" dir="chapter01"?>
<para>To make things easy to follow, there are a number of conventions used
2002-10-07 16:04:19 +00:00
throughout the book. Following are some examples:</para>
2002-03-20 23:31:55 +00:00
2003-11-06 15:49:30 +00:00
<screen><userinput>./configure --prefix=/usr</userinput></screen>
2002-03-20 23:31:55 +00:00
<blockquote><para>This form of text is designed to be typed exactly
2002-10-07 16:04:19 +00:00
as seen unless otherwise noted in the surrounding text. It is also used
2002-03-20 23:31:55 +00:00
in the explanation sections to identify which of the commands is being
2002-10-07 16:04:19 +00:00
referenced.</para></blockquote>
2002-03-20 23:31:55 +00:00
<para><filename>install-info: unknown option
`--dir-file=/mnt/lfs/usr/info/dir'</filename></para>
<blockquote><para>This form of text (fixed width text) is showing screen
2002-10-07 16:04:19 +00:00
output, probably as the result of commands issued, and is also used to
2003-11-06 15:49:30 +00:00
show filenames, such as <filename>/etc/ld.so.conf</filename>.</para></blockquote>
2002-03-20 23:31:55 +00:00
<para><emphasis>Emphasis</emphasis></para>
<blockquote><para>This form of text is used for several purposes in the
2002-10-07 16:04:19 +00:00
book, mainly to emphasize important points, and to give examples of
2002-03-20 23:31:55 +00:00
what to type.</para></blockquote>
2002-10-07 16:04:19 +00:00
<para><ulink url="http://www.linuxfromscratch.org/"/></para>
2002-03-20 23:31:55 +00:00
<blockquote><para>This form of text is used for hyperlinks, both within the
2003-11-06 15:49:30 +00:00
book and to external pages such as HOWTOs, download locations and
websites.</para></blockquote>
2002-03-20 23:31:55 +00:00
2003-11-06 15:49:30 +00:00
<screen><userinput>cat &gt; $LFS/etc/group &lt;&lt; "EOF"</userinput>
2002-03-20 23:31:55 +00:00
root:x:0:
bin:x:1:
......
<userinput>EOF</userinput>
</screen>
<blockquote><para>This type of section is used mainly when creating
2003-11-06 15:49:30 +00:00
configuration files. The first command tells the system to create
2002-03-20 23:31:55 +00:00
the file $LFS/etc/group from whatever is typed on the following lines until
the sequence EOF is encountered. Therefore, this whole section is generally
typed as seen.</para></blockquote>
</sect1>