Multiple cleanup of cruft that doesn't belong within <userinput> elements.

PR:		docs/41049
Submitted by:	Martin Heinen <martin@sumuk.de>
This commit is contained in:
Ceri Davies 2002-08-27 18:08:02 +00:00
parent 2b6ce9005a
commit 283b5f4ae2
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=14048
6 changed files with 16 additions and 16 deletions
en_US.ISO8859-1/books
faq
handbook
cutting-edge
disks
ppp-and-slip
printing
users

View file

@ -5007,7 +5007,7 @@ crw-rw-rw- 1 root wheel 41, 1 Oct 15 22:14 spx</screen>
that will update installed ports to the latest version in
the ports tree.</para>
<screen>&prompt.root; <userinput>pkg_version <option>-c</option> > <replaceable>/tmp/myscript</replaceable></userinput></screen>
<screen>&prompt.root; <userinput>pkg_version -c &gt; <replaceable>/tmp/myscript</replaceable></userinput></screen>
<para>The output script <emphasis>must</emphasis> be edited by
hand before you use it. Current versions of
@ -6098,7 +6098,7 @@ C:\="DOS"</programlisting>
<para>Unmounting the device is simple:</para>
<screen>&prompt.user; <userinput>umount <filename>~/my-mount-point</></userinput></screen>
<screen>&prompt.user; <userinput>umount ~/my-mount-point</userinput></screen>
<para>Enabling <varname>vfs.usermount</varname>, however, has
negative security implications. A better way to access MSDOS

View file

@ -867,7 +867,7 @@ Script done, &hellip;</screen>
<para>The general format of the command line you will type is as
follows:</para>
<screen>&prompt.root; <userinput>make <option>-<replaceable/x/</option> <option>-D<replaceable>VARIABLE</replaceable></option> <replaceable>target</replaceable></userinput></screen>
<screen>&prompt.root; <userinput>make -<replaceable/x/ -D<replaceable>VARIABLE</replaceable> <replaceable>target</replaceable></userinput></screen>
<para>In this example, <option>-<replaceable>x</replaceable></option>
is an option that you would pass to &man.make.1;. See the

View file

@ -651,7 +651,7 @@ sh MAKEDEV ccd0</programlisting>
that is an image of a directory tree in the Unix filesystem name
space. The simplest usage is:</para>
<screen>&prompt.root; <userinput>mkisofs <option>-o</option> <replaceable>imagefile.iso</replaceable> <replaceable>/path/to/tree</replaceable></userinput></screen>
<screen>&prompt.root; <userinput>mkisofs -o <replaceable>imagefile.iso</replaceable> <replaceable>/path/to/tree</replaceable></userinput></screen>
<indexterm>
<primary>filesystems</primary>
@ -730,7 +730,7 @@ sh MAKEDEV ccd0</programlisting>
as <filename>/usr/sbin/burncd</filename>. Usage is very simple, as
it has few options:</para>
<screen>&prompt.root; <userinput>burncd <option>-f</option> <replaceable>cddevice</replaceable> data <replaceable>imagefile.iso</replaceable> fixate</userinput></screen>
<screen>&prompt.root; <userinput>burncd -f <replaceable>cddevice</replaceable> data <replaceable>imagefile.iso</replaceable> fixate</userinput></screen>
<para>Will burn a copy of <replaceable>imagefile.iso</replaceable> on
<replaceable>cddevice</replaceable>. The default device is
@ -758,7 +758,7 @@ sh MAKEDEV ccd0</programlisting>
is even simpler than <command>burncd</command>. Burning an ISO 9660
image is done with:</para>
<screen>&prompt.root; <userinput>cdrecord <option>dev=</option><replaceable>device</replaceable> <replaceable>imagefile.iso</replaceable></userinput></screen>
<screen>&prompt.root; <userinput>cdrecord dev=<replaceable>device</replaceable> <replaceable>imagefile.iso</replaceable></userinput></screen>
<para>The tricky part of using <command>cdrecord</command> is finding
the <option>dev</option> to use. To find the proper setting, use
@ -768,7 +768,7 @@ sh MAKEDEV ccd0</programlisting>
<primary>CDROMs</primary>
<secondary>burning</secondary>
</indexterm>
<screen>&prompt.root; <userinput>cdrecord <option>-scanbus</option></userinput>
<screen>&prompt.root; <userinput>cdrecord -scanbus</userinput>
Cdrecord 1.9 (i386-unknown-freebsd4.2) Copyright (C) 1995-2000 J&ouml;rg Schilling
Using libscg version 'schily-0.1'
scsibus0:
@ -795,7 +795,7 @@ scsibus1:
numbers separated by commas as the value for
<option>dev</option>. In this case, the CRW device is 1,5,0, so the
appropriate input would be
<userinput><option>dev</option>=1,5,0</userinput>. There are easier
<option>dev=1,5,0</option>. There are easier
ways to specify this value; see &man.cdrecord.1; for
details. That is also the place to look for information on writing
audio tracks, controlling the speed, and other things.</para>

View file

@ -2256,7 +2256,7 @@ adsl:
manuals pages for &man.chmod.1; and &man.chown.8; for further
information.</para>
<screen>&prompt.root; <userinput>chown root:wheel /etc/ppp/ppp.conf</userinput>
&prompt.root; <userinput>chmod 600 <filename>/etc/ppp/ppp.conf</filename></userinput></screen>
&prompt.root; <userinput>chmod 600 /etc/ppp/ppp.conf</userinput></screen>
</warning>
<para>This will open a tunnel for a PPP session to your DSL router.

View file

@ -629,7 +629,7 @@ sio2: type 16550A</screen>
<step>
<para>Type:</para>
<screen>&prompt.root; <userinput>lptcontrol -i -d <filename>/dev/lpt<replaceable>N</replaceable></filename></userinput></screen>
<screen>&prompt.root; <userinput>lptcontrol -i -d /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>to set interrupt-driven mode for
<literal>lpt<replaceable>N</replaceable></literal>.</para>
@ -638,7 +638,7 @@ sio2: type 16550A</screen>
<step>
<para>Type:</para>
<screen>&prompt.root; <userinput>lptcontrol -p -d <filename>/dev/lpt<replaceable>N</replaceable></filename></userinput></screen>
<screen>&prompt.root; <userinput>lptcontrol -p -d /dev/lpt<replaceable>N</replaceable></userinput></screen>
<para>to set polled-mode for
<literal>lpt<replaceable>N</replaceable></literal>.</para>

View file

@ -1007,8 +1007,8 @@ passwd: done</screen>
<example>
<title>Adding a Group Using &man.pw.8;</title>
<screen>&prompt.root; <userinput><command>pw</command> groupadd <groupname>teamtwo</groupname></userinput>
&prompt.root; <userinput><command>pw</command> groupshow <groupname>teamtwo</groupname></userinput>
<screen>&prompt.root; <userinput>pw groupadd teamtwo</userinput>
&prompt.root; <userinput>pw groupshow teamtwo</userinput>
teamtwo:*:1100:</screen>
</example>
@ -1021,8 +1021,8 @@ teamtwo:*:1100:</screen>
<example>
<title>Adding Somebody to a Group Using &man.pw.8;</title>
<screen>&prompt.root; <userinput><command>pw</command> groupmod <groupname>teamtwo</groupname> <option>-M</option> <username>jru</username></userinput>
&prompt.root; <userinput><command>pw</command> groupshow <groupname>teamtwo</groupname></userinput>
<screen>&prompt.root; <userinput>pw groupmod teamtwo -M jru</userinput>
&prompt.root; <userinput>pw groupshow teamtwo</userinput>
teamtwo:*:1100:jru</screen>
</example>
@ -1040,7 +1040,7 @@ teamtwo:*:1100:jru</screen>
<example>
<title>Using &man.id.1; to Determine Group Membership</title>
<screen>&prompt.user; <userinput><command>id</command> <username>jru</username></userinput>
<screen>&prompt.user; <userinput>id jru</userinput>
uid=1001(jru) gid=1001(jru) groups=1001(jru), 1100(teamtwo)</screen>
</example>