svn commit: r44249 - head/en_US.ISO8859-1/books/handbook/basics
Warren Block
wblock at FreeBSD.org
Sun Mar 16 21:59:35 UTC 2014
Author: wblock
Date: Sun Mar 16 21:59:34 2014
New Revision: 44249
URL: http://svnweb.freebsd.org/changeset/doc/44249
Log:
Restore lost <replaceable> tags, and some class="directory" attributes
for <filename> tags.
Modified:
head/en_US.ISO8859-1/books/handbook/basics/chapter.xml
Modified: head/en_US.ISO8859-1/books/handbook/basics/chapter.xml
==============================================================================
--- head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Sun Mar 16 21:50:24 2014 (r44248)
+++ head/en_US.ISO8859-1/books/handbook/basics/chapter.xml Sun Mar 16 21:59:34 2014 (r44249)
@@ -535,8 +535,8 @@ console none
on the system. This is the user's starting directory
when the user logs in. A common convention is to put
all user home directories under
- <filename>/home/username</filename> or
- <filename>/usr/home/username</filename>. Each user
+ <filename class="directory"><replaceable>/home/username</replaceable></filename> or
+ <filename class="directory"><replaceable>/usr/home/username</replaceable></filename>. Each user
stores their personal files and subdirectories in
their own home directory.</para>
</listitem>
@@ -1043,7 +1043,7 @@ passwd: done</screen>
to a login class, <literal>default</literal> by default, and
each login class has a set of login capabilities associated
with it. A login capability is a
- <literal>name=value</literal> pair, where
+ <literal><replaceable>name</replaceable>=<replaceable>value</replaceable></literal> pair, where
<replaceable>name</replaceable> is a well-known identifier and
<replaceable>value</replaceable> is an arbitrary string which
is processed accordingly depending on the
@@ -1710,7 +1710,7 @@ total 530
<replaceable>FILE</replaceable>, and adds the execute
permissions for everyone:</para>
- <screen>&prompt.user; <userinput>chmod go-w,a+x FILE</userinput></screen>
+ <screen>&prompt.user; <userinput>chmod go-w,a+x <replaceable>FILE</replaceable></userinput></screen>
<!--
<para>Most users will not notice this, but it should be pointed
@@ -1813,7 +1813,7 @@ total 530
<screen>&prompt.root; <userinput>chmod 4755 suidexample.sh</userinput></screen>
<para>The permissions on
- <filename>suidexample.sh</filename>
+ <filename><replaceable>suidexample.sh</replaceable></filename>
now look like the following:</para>
<programlisting>-rwsr-xr-x 1 trhodes trhodes 63 Aug 29 06:36 suidexample.sh</programlisting>
@@ -2094,14 +2094,14 @@ root 5211 0.0 0.2 3620 1724 2
<entry><filename>/usr/local/</filename></entry>
<entry>Local executables and libraries. Also used as
the default destination for the &os; ports framework.
- Within <filename>/usr/local</filename>, the general
+ Within <filename class="directory">/usr/local</filename>, the general
layout sketched out by &man.hier.7; for
- <filename>/usr</filename> should be used. Exceptions
+ <filename class="directory">/usr</filename> should be used. Exceptions
are the man directory, which is directly under
- <filename>/usr/local</filename> rather than under
- <filename>/usr/local/share</filename>, and the ports
+ <filename class="directory">/usr/local</filename> rather than under
+ <filename class="directory">/usr/local/share</filename>, and the ports
documentation is in
- <filename>share/doc/port</filename>.</entry>
+ <filename class="directory">share/doc/<replaceable>port</replaceable></filename>.</entry>
</row>
<row>
@@ -2810,7 +2810,7 @@ root 5211 0.0 0.2 3620 1724 2
basic syntax is as follows:</para>
<informalexample>
- <screen>&prompt.root; <userinput>mount device mountpoint</userinput></screen>
+ <screen>&prompt.root; <userinput>mount <replaceable>device</replaceable> <replaceable>mountpoint</replaceable></userinput></screen>
</informalexample>
<para>This command provides many options which are described in
@@ -3421,7 +3421,7 @@ Swap: 2048M Total, 2048M Free
to this file. If it is missing, add it using this command,
replacing the path with the path of the shell:</para>
- <screen>&prompt.root; <userinput>echo /usr/local/bin/bash >> /etc/shells</userinput></screen>
+ <screen>&prompt.root; <userinput>echo <replaceable>/usr/local/bin/bash</replaceable> >> /etc/shells</userinput></screen>
<para>Then, rerun &man.chsh.1;.</para>
</note>
@@ -3527,7 +3527,7 @@ Swap: 2048M Total, 2048M Free
<para>A simple editor to learn is &man.ee.1;, which stands for
easy editor. To start this editor, type <command>ee
- filename</command> where
+ <replaceable>filename</replaceable></command> where
<replaceable>filename</replaceable> is the name of the file to
be edited. Once inside the editor, all of the commands for
manipulating the editor's functions are listed at the top of the
@@ -3600,7 +3600,7 @@ Swap: 2048M Total, 2048M Free
available arguments. These manuals can be viewed using
<command>man</command>:</para>
- <screen>&prompt.user; <userinput>man command</userinput></screen>
+ <screen>&prompt.user; <userinput>man <replaceable>command</replaceable></userinput></screen>
<para>where <replaceable>command</replaceable> is the name of the
command to learn about. For example, to learn more about
@@ -3668,7 +3668,7 @@ Swap: 2048M Total, 2048M Free
-k</command> to search for keywords in the manual page
descriptions:</para>
- <screen>&prompt.user; <userinput>man -k mail</userinput></screen>
+ <screen>&prompt.user; <userinput>man -k <replaceable>mail</replaceable></userinput></screen>
<para>This command displays a list of commands that have the
keyword <quote>mail</quote> in their descriptions. This is
More information about the svn-doc-head
mailing list