Fix a filename attribute and enhance markup in a few places

Approved by:	gabor (mentor)
This commit is contained in:
Manolis Kiagias 2008-08-03 19:56:27 +00:00
parent 588a5826a0
commit 61b79d91e9
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=32616

View file

@ -735,7 +735,7 @@ showpage</programlisting>
<para>Alternatively, you can put the program in a file <para>Alternatively, you can put the program in a file
and type:</para> and type:</para>
<screen>&prompt.root; <userinput><command>cat <replaceable>file</replaceable> &gt; <filename class="devicefile">/dev/lpt<replaceable>N</replaceable></filename></command></userinput></screen> <screen>&prompt.root; <userinput><command>cat <filename><replaceable>file</replaceable></filename> &gt; <filename class="devicefile">/dev/lpt<replaceable>N</replaceable></filename></command></userinput></screen>
<para>Where <replaceable>file</replaceable> is the <para>Where <replaceable>file</replaceable> is the
name of the file containing the program you want to name of the file containing the program you want to
@ -1060,7 +1060,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
that is identical to the name of the printer, as shown that is identical to the name of the printer, as shown
below:</para> below:</para>
<screen>&prompt.root; <userinput><command>mkdir <filename>/var/spool/<replaceable>printer-name</replaceable></filename></command></userinput></screen> <screen>&prompt.root; <userinput><command>mkdir <filename class="directory">/var/spool/<replaceable>printer-name</replaceable></filename></command></userinput></screen>
<para>However, if you have a lot of printers on your network, <para>However, if you have a lot of printers on your network,
you might want to put the spooling directories under a single you might want to put the spooling directories under a single
@ -1111,7 +1111,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<para>If you do not specify a spooling directory with <para>If you do not specify a spooling directory with
<literal>sd</literal>, the spooling system will use <literal>sd</literal>, the spooling system will use
<filename class="devicefile">/var/spool/lpd</filename> as a <filename class="directory">/var/spool/lpd</filename> as a
default.</para> default.</para>
</sect4> </sect4>
@ -1527,7 +1527,7 @@ $%&amp;'()*+,-./01234567
its standard error to the error logging file (specified in the its standard error to the error logging file (specified in the
<literal>lf</literal> capability in <literal>lf</literal> capability in
<filename>/etc/printcap</filename>, or <filename>/etc/printcap</filename>, or
<filename>/dev/console</filename> by default).</para> <filename class="devicefile">/dev/console</filename> by default).</para>
<indexterm> <indexterm>
<primary><command>troff</command></primary> <primary><command>troff</command></primary>
@ -2067,8 +2067,8 @@ exit 2</programlisting>
<para>Since conversion filters are programs you install outside of <para>Since conversion filters are programs you install outside of
the base &os; installation, they should probably go under the base &os; installation, they should probably go under
<filename>/usr/local</filename>. The directory <filename class="directory">/usr/local</filename>. The directory
<filename>/usr/local/libexec</filename> is a popular location, <filename class="directory">/usr/local/libexec</filename> is a popular location,
since they are specialized programs that only since they are specialized programs that only
<application>LPD</application> will run; <application>LPD</application> will run;
regular users should not ever need to run them.</para> regular users should not ever need to run them.</para>
@ -2184,7 +2184,7 @@ exec grops</programlisting>
<para>That is it. Here is the entry we need to add to <para>That is it. Here is the entry we need to add to
<filename>/etc/printcap</filename> to enable the filter:</para> <filename>/etc/printcap</filename> to enable the filter:</para>
<programlisting>:tf=/usr/local/libexec/pstf:</programlisting> <programlisting>:tf=<filename>/usr/local/libexec/pstf</filename>:</programlisting>
<para>Here is an example that might make old hands at FORTRAN blush. <para>Here is an example that might make old hands at FORTRAN blush.
It is a FORTRAN-text filter for any printer that can directly It is a FORTRAN-text filter for any printer that can directly
@ -3060,9 +3060,9 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<para>Then, we just need to make spooling directories on <para>Then, we just need to make spooling directories on
<hostid>orchid</hostid>:</para> <hostid>orchid</hostid>:</para>
<screen>&prompt.root; <userinput><command>mkdir <option>-p</option> <filename>/var/spool/lpd/rattan</filename> <filename>/var/spool/lpd/bamboo</filename></command></userinput> <screen>&prompt.root; <userinput><command>mkdir <option>-p</option> <filename class="directory">/var/spool/lpd/rattan</filename> <filename class="directory">/var/spool/lpd/bamboo</filename></command></userinput>
&prompt.root; <userinput><command>chmod 770 <filename>/var/spool/lpd/rattan</filename> <filename>/var/spool/lpd/bamboo</filename></command></userinput> &prompt.root; <userinput><command>chmod 770 <filename class="directory">/var/spool/lpd/rattan</filename> <filename class="directory">/var/spool/lpd/bamboo</filename></command></userinput>
&prompt.root; <userinput><command>chown daemon:daemon <filename>/var/spool/lpd/rattan</filename> <filename>/var/spool/lpd/bamboo</filename></command></userinput></screen> &prompt.root; <userinput><command>chown daemon:daemon <filename class="directory">/var/spool/lpd/rattan</filename> <filename class="directory">/var/spool/lpd/bamboo</filename></command></userinput></screen>
<para>Now, users on <hostid>orchid</hostid> can print to <para>Now, users on <hostid>orchid</hostid> can print to
<literal>rattan</literal> and <literal>bamboo</literal>. If, for <literal>rattan</literal> and <literal>bamboo</literal>. If, for
@ -3072,7 +3072,7 @@ bamboo|ps|PS|S|panasonic|Panasonic KX-P4455 PostScript v51.4:\
<para>the <application>LPD</application> system on <para>the <application>LPD</application> system on
<hostid>orchid</hostid> would copy the job to the spooling directory <hostid>orchid</hostid> would copy the job to the spooling directory
<filename>/var/spool/lpd/bamboo</filename> and note that it was a <filename class="directory">/var/spool/lpd/bamboo</filename> and note that it was a
DVI job. As soon as the host <hostid>rose</hostid> has room in its DVI job. As soon as the host <hostid>rose</hostid> has room in its
<literal>bamboo</literal> spooling directory, the two <literal>bamboo</literal> spooling directory, the two
<application>LPD</application>s would transfer the <application>LPD</application>s would transfer the