<literal>HOME</literal> -> <envar>HOME</envar>

refuse file -> <filename>refuse</filename> file

PR:		docs/41291
Submitted by:	Martin Heinen <martin@sumuk.de>
This commit is contained in:
Chern Lee 2002-08-04 10:19:27 +00:00
parent 6e07e3c6a8
commit 21f3a06709
Notes: svn2git 2020-12-08 03:00:23 +00:00
svn path=/head/; revision=13778

View file

@ -1103,7 +1103,7 @@
<para>The <command>cvs login</command> command, stores the passwords
that are used for authenticating to the CVS server in a file
called <filename>.cvspass</filename> in your
<literal>HOME</literal> directory. If this file doesn't exist,
<envar>HOME</envar> directory. If this file doesn't exist,
you might get an error when trying to use <command>cvs
login</command> for the first time. Just make an empty
<filename>.cvspass</filename> file, and retry to login.</para>
@ -2005,7 +2005,7 @@ src-all</programlisting>
</listitem>
</itemizedlist>
<sect3>
<title>The refuse File</title>
<title>The <filename>refuse</filename> File</title>
<para>As mentioned above, <application>CVSup</application> uses
a <emphasis>pull method</emphasis>. Basically, this means that
@ -2027,28 +2027,28 @@ src-all</programlisting>
saying <emphasis>ports-all</emphasis>). However, since the doc
and www trees do not have language-specific collections, you
must use one of <application>CVSup</application>'s many nifty
features; the <emphasis>refuse file</emphasis>.</para>
features; the <filename>refuse</filename> file.</para>
<para>The <emphasis>refuse file</emphasis> essentially tells
<para>The <filename>refuse</filename> file essentially tells
<application>CVSup</application> that it should not take every
single file from a collection; in other words, it tells the
client to <emphasis>refuse</emphasis> certain files from the
server. The refuse file can be found (or, if you do not yet
server. The <filename>refuse</filename> file can be found (or, if you do not yet
have one, should be placed) in
<filename><replaceable>base</replaceable>/sup/refuse</filename>.
<replaceable>base</replaceable> is defined in your supfile; by
default, <replaceable>base</replaceable> is
<filename>/usr/local/etc/cvsup</filename>,
which means that by default the refuse file is in
which means that by default the <filename>refuse</filename> file is in
<filename>/usr/local/etc/cvsup/sup/refuse</filename>.</para>
<para>The refuse file has a very simple format; it simply
<para>The <filename>refuse</filename> file has a very simple format; it simply
contains the names of files or directories that you do not wish
to download. For example, if you cannot speak any languages other
than English and some German, and you do not feel the need to use
the German applications (or applications for any other
languages, except for English), you can put the following in your
<emphasis>refuse file</emphasis>:</para>
<filename>refuse</filename> file:</para>
<screen>ports/chinese
ports/french
@ -2076,13 +2076,13 @@ doc/zh_TW.Big5</screen>
URL="ftp://ftp.FreeBSD.org/pub/FreeBSD/FreeBSD-current/">FreeBSD
FTP server</ulink>). Note that the name
of the repository is the first <quote>directory</quote> in the
<emphasis>refuse file</emphasis>.</para>
<filename>refuse</filename> file.</para>
<para>With this very useful feature, those users who are on
slow links or pay by the minute for their Internet connection
will be able to save valuable time as they will no longer need
to download files that they will never use. For more
information on <emphasis>refuse files</emphasis> and other neat
information on <filename>refuse</filename> files and other neat
features of <application>CVSup</application>, please view its
manual page.</para>
</sect3>