.\" @(#)$Id: bbc.rf,v 2.5 1992/02/05 21:00:33 jromine Exp $
bbc \- check on BBoards
\%[bboards\ ...]
\%[\-topics] \%[\-check] \%[\-read]
\%[\-quiet] \%[\-verbose]
\%[\-archive] \%[\-noarchive]
\%[\-protocol] \%[\-noprotocol]
\%[\-mshproc\ program]
\%[switches\ for\ \fImshproc\fR]
\%[\-rcfile rcfile] \%[\-norcfile]
\%[\-file\ BBoardsfile] \%[\-user\ BBoardsuser]
\%[\-host\ host]
\%[\-rpop] \%[\-norpop]
\%[\-host\ host]
\fIbbc\fR is a BBoard
reading/checking program that interfaces to the BBoard

The \fIbbc\fR program has three action switches which direct its operation:

The `\-read' switch invokes the \fImsh\fR program on the named
\fIBBoards\fR.  If you also specify
the `\-archive' switch, then  \fIbbc\fR will invoke the \fImsh\fR program on
the archives of the named \fIBBoards\fR.  If no \fIBBoards\fR are given
on the command line, and you specified `\-archive',
\fIbbc\fR will not read your `bboards' profile entry, but will
read the archives of the \*(lqsystem\*(rq \fIBBoard\fR instead.

The `\-check' switch types out status information for the named \fIBBoards\fR.
can print one of several messages depending on the status of both the 
and the user's reading habits.  
As with each of these messages, the number
given is the item number of the last item placed in the 
This number (which is marked in the messages as the \*(lqBBoard\-Id\*(rq) is
ever increasing.  Hence, when \fIbbc\fR
says \*(lqn items\*(rq, it really means that the highest BBoard\-Id is \*(lqn\*(rq.
There may, or may not actually be \*(lqn\*(rq items in the BBoard.
Some common messages are:
.in +1i

.ti -.5i
\fBBBoard \-\- n items unseen\fR
This message tells how many items the user has not yet seen.  
When invoked with the `\-quiet' switch,
this is the only informative line that \fIbbc\fR will possibly print out.

.ti -.5i
\fBBBoard \-\- empty\fR
The BBoard is empty.

.ti -.5i
\fBBBoard \-\- n items (none seen)\fR
The BBoard has items in it, but the user hasn't seen any.

.ti -.5i
\fBBBoard \-\- n items (all seen)\fR
The BBoard is non\-empty, and the user has seen everything in it.

.ti -.5i
\fBBBoard \-\- n items seen out of m\fR
The BBoard has at most m\-n items that the user has not seen.
.in -1i

The `\-topics' switch directs \fIbbc\fR to print three items about the named
it's official name,
the number of items present,
and the date and time of the last update.
If no \fIBBoards\fR
are named, then all BBoards
are listed.  If the `\-verbose' switch is given, more information is output.

The `\-quiet' switch specifies that \fIbbc\fR should be silent if no
\fIBBoards\fR are found with new information.
The `\-verbose' switch specifies that \fIbbc\fR is to consider you to be 
interested in \fIBBoards\fR that you've already seen everything in.

To override the default \fImshproc\fR and the profile entry,
use the `\-mshproc\ program' switch.
Any arguments not understood by \fIbbc\fR are passed to this program.
The `\-protocol' switch tells \fIbbc\fR that your \fImshproc\fR knows about
the special \fIbbc\fR protocol for reporting back information.
\fImsh\fR\0(1), the default \fImshproc\fR, knows all about this.

The `\-file\ BBoardsfile' switch tells \fIbbc\fR to use a non\-standard
\fIBBoards\fR file when performing its calculations.
Similarly, the `\-user BBoardsuser' switch tells \fIbbc\fR to use a
non\-standard username.
Both of these switches are useful for debugging a new \fIBBoards\fR or
\fIPOP\fR file.

If the local host is configured as a POP BBoards client,
or if the `\-host\ host' switch is given,
then \fIbbc\fR will query the POP service host as to the status of the BBoards.
The `\-user\ user' switch then takes on a new meaning:
it refers to the name of the guest account for BBoards on the service host.
The `\-rpop' switch uses the UNIX \fIrPOP\fR
(authentication done via trusted connections).
In contrast, the `\-norpop' switch uses the ARPA \fIPOP\fR
(in which case \fIbbc\fR will prompt for a password,
unless the \-user specifies the guest account).

If the local host is configured as an NNTP BBoards client,
or if the `\-host\ host' switch is given,
then \fIbbc\fR will query the NNTP service host
as to the status of the BBoards.
For NNTP BBoards clients,
the `\-user\ user' and the `\-rpop' switches are ignored.

The \fI\&.bbrc\fR file in the 
user's \fB$HOME\fR directory
is used to keep track of what messages have been read.
The `\-rcfile\ rcfile' switch overrides the use of \fI\&.bbrc\fR for
this purpose.
If the value given to the switch is not absolute,
(i.e., does not begin with a \fB/\fR\0),
it will be presumed to start from the current working directory.
If this switch is not given (or the `\-norcfile' switch is given),
then \fIbbc\fR consults the envariable \fB$MHBBRC\fR,
and honors it similarly.
^$HOME/\&.mh\(ruprofile~^The user profile
^$HOME/\&.bbrc~^BBoard \*(lqcurrent\*(rq message information
^Path:~^To determine the user's MH directory
^bboards:~^To specify interesting BBoards
^mshproc:~^Program to read a given BBoard
bbl(1), bboards(1), msh(1)
`bboards' defaults to \*(lqsystem\*(rq
`\-file @(BBHOME)/BBoards'
`\-user bboards'
`\-rpop' unless the guest account for BBoards is used
The `\-user' switch takes effect only if followed by the `\-file' switch.