* Add <filename> tags.
* Use 'DOS', for Disk Operating System, consistently. PR: docs/30612 Submitted by: Giorgos Keramidas <charon@labs.gr>
This commit is contained in:
parent
283d06109c
commit
b338f4c086
Notes:
svn2git
2020-12-08 03:00:23 +00:00
svn path=/head/; revision=10702
1 changed files with 12 additions and 12 deletions
|
@ -1,4 +1,4 @@
|
|||
<!-- $FreeBSD: doc/en_US.ISO8859-1/articles/new-users/article.sgml,v 1.23 2001/07/25 11:54:31 asmodai Exp $ -->
|
||||
<!-- $FreeBSD: doc/en_US.ISO8859-1/articles/new-users/article.sgml,v 1.24 2001/09/11 11:26:41 dd Exp $ -->
|
||||
<!-- The FreeBSD Documentation Project -->
|
||||
|
||||
<!DOCTYPE ARTICLE PUBLIC "-//FreeBSD//DTD DocBook V4.1-Based Extension//EN">
|
||||
|
@ -604,7 +604,7 @@
|
|||
so here's a way to create a file from a man page, move it to a
|
||||
floppy, and then print it from DOS. Suppose you want to read
|
||||
carefully about changing permissions on files (pretty
|
||||
important). You can use the command man chmod to read about it.
|
||||
important). You can use <command>man chmod</command> to read about it.
|
||||
The command</para>
|
||||
|
||||
<informalexample>
|
||||
|
@ -625,7 +625,7 @@
|
|||
|
||||
<para>Now (you no longer need to be root, and you can type
|
||||
<command>exit</command> to get back to being user jack) you can go to
|
||||
the directory where you created chmod.txt and copy the file to
|
||||
the directory where you created <filename>chmod.txt</filename> and copy the file to
|
||||
the floppy with:</para>
|
||||
|
||||
<informalexample>
|
||||
|
@ -664,20 +664,20 @@
|
|||
Wordpad, or a word processor, make a minor change so the file
|
||||
has to be saved, and print as you normally would from DOS or
|
||||
Windows. Hope it works! man pages come out best if printed
|
||||
with the dos <command>print</command> command. (Copying files from
|
||||
FreeBSD to a mounted dos partition is in some cases still a
|
||||
with the DOS <command>print</command> command. (Copying files from
|
||||
FreeBSD to a mounted DOS partition is in some cases still a
|
||||
little risky.)</para>
|
||||
|
||||
<para>Getting the printer printing from FreeBSD involves creating
|
||||
an appropriate entry in <filename>/etc/printcap</filename> and
|
||||
creating a matching spool directory in
|
||||
<filename>/var/spool/output</filename>. If your printer is on
|
||||
<hardware>lpt0</hardware> (what dos calls <hardware>LPT1</hardware>), you may
|
||||
<hardware>lpt0</hardware> (what DOS calls <hardware>LPT1</hardware>), you may
|
||||
only need to go to <filename>/var/spool/output</filename> and
|
||||
(as root) create the directory <filename>lpd</filename> by typing:
|
||||
<command> mkdir lpd</command>, if it doesn't already exist.
|
||||
<command>mkdir lpd</command>, if it doesn't already exist.
|
||||
Then the printer should respond if it's turned on when the
|
||||
system is booted, and lp or lpr should send a file to the
|
||||
system is booted, and <command>lp</command> or <command>lpr</command> should send a file to the
|
||||
printer. Whether or not the file actually prints depends on
|
||||
configuring it, which is covered in the <ulink
|
||||
URL="../../books/handbook/handbook.html">FreeBSD handbook.</ulink></para>
|
||||
|
@ -751,7 +751,7 @@
|
|||
</varlistentry>
|
||||
</variablelist>
|
||||
|
||||
<para>Use <command>find</command> to locate filename in
|
||||
<para>Use <command>find</command> to locate <filename>filename</filename> in
|
||||
<filename>/usr</filename> or any of its subdirectories
|
||||
with</para>
|
||||
|
||||
|
@ -761,10 +761,10 @@
|
|||
|
||||
<para>You can use <literal>*</literal> as a wildcard in
|
||||
<parameter>"<replaceable>filename</replaceable>"</parameter> (which should be in
|
||||
quotes). If you tell find to search in <filename>/</filename>
|
||||
quotes). If you tell <command>find</command> to search in <filename>/</filename>
|
||||
instead of <filename>/usr</filename> it will look for the
|
||||
file(s) on all mounted file systems, including the CDROM and the
|
||||
dos partition.</para>
|
||||
DOS partition.</para>
|
||||
|
||||
<para>An excellent book that explains Unix commands and utilities
|
||||
is Abrahams & Larson, <citetitle>Unix for the
|
||||
|
@ -837,7 +837,7 @@
|
|||
<filename>/cdrom/ports/distfiles</filename>, you will have to
|
||||
get the distfile using another machine and copy it to
|
||||
<filename>/usr/ports/distfiles</filename> from a floppy or your
|
||||
dos partition. Read <filename>Makefile</filename> (with <command>cat</command>
|
||||
DOS partition. Read <filename>Makefile</filename> (with <command>cat</command>
|
||||
or <command>more</command> or <command>view</command>) to find out where to go
|
||||
(the master distribution site) to get the file and what its name
|
||||
is. Its name will be truncated when downloaded to DOS, and
|
||||
|
|
Loading…
Reference in a new issue