old-www/LDP/nag/node263.html

86 lines
4.0 KiB
HTML

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<!--Converted with LaTeX2HTML 96.1-c (Feb 29, 1996) by Nikos Drakos (nikos@cbl.leeds.ac.uk), CBLU, University of Leeds -->
e<!-- updated Sun Jul 14 17:59:48 MET DST 1996 by:
Tony den Haan (tony@iaehv.nl) ftp://ftp.IAEhv.nl/pub/users/tony-->
<HTML>
<HEAD>
<TITLE>The active file</TITLE>
</HEAD>
<BODY LANG="EN">
<A HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <BR>
<B> Next:</B> <A HREF="node264.html">Article Batching</A>
<B>Up:</B> <A HREF="node259.html">C-News</A>
<B> Previous:</B> <A HREF="node262.html">The sys file</A>
<BR> <P>
<H1><A NAME="SECTION0019400000">The active file</A></H1>
<A NAME="cnewsactive"></A>
The active file is located in /usr/lib/news and lists all groups
known at your site, and the articles currently online. You will rarely
have to touch it, but we explain it nevertheless for sake of
completeness. Entries take the following form:
<PRE>
newsgroup high low perm
</PRE>
newsgroup is, of course, the group's name. low and
high are the lowest and highest numbers of articles currently
available. If none are available at the moment, low is equal to
high+1.
<P>
At least, that's what the low field is meant to do. However, for
efficiency reasons, C-News doesn't update this field. This wouldn't be
such a big loss if there weren't some newsreaders that depend on it.
For instance, trn checks this field to see if it can purge any
articles from its thread database. To update the low field, you
therefore have to run the updatemin command regularly (or, in
earlier version of C-News, the upact script).
<P>
perm is a parameter detailing the access users are
granted to the group. It takes one of the following values:
<DL><DT>y<DD> Users are allowed to post to this group.
<DT>n<DD> Users are not allowed to post to this group. However, the group may still be read.
<DT>x <DD>This group has been disabled locally. This happens sometimes when news admininistrators (or their superiors) take offense
to articles posted to certain groups.
<P>
Articles received for this group are not stored locally,
although they are forwarded to the sites that request them.
<DT>m<DD> This denotes a moderated group. When a user tries to post to this group, an intelligent newsreader will notify her of this,
and send the article to the moderator instead. The moderator's
address is taken from the moderators file in /usr/lib/news.
<DT>=real-group<DD> This marks newsgroup as being a local alias for another
group, namely real-group. All articles posted to newsgroup
will be redirected to it.
</DL>
In C-News, you will generally not have to access this file directly.
Groups may be added or deleted locally using addgroup and
delgroup (see below in section-<A HREF="#cnewsmaint"><IMG ALIGN=BOTTOM ALT="gif" SRC="cross_ref_motif.gif"></A>).
When groups are added or deleted for the whole of Usenet, this
is usually done by sending a newgroup or rmgroup
control message, respectively. <em>Never send such a message yourself!</em>
For instructions on how to create a newsgroup, read the monthly
postings in news.announce.newusers.
<P>
A file closely related to active is active.times. Whenever
a group is created, C-News logs a message to this file, containing
the name of the group created, the date of creation, whether it
was done by a newgroup control message or locally, and who did it.
This is for the convenience of newsreaders who may notify the user
of any recently created groups. It is also used by the
NEWGROUPS command of NNTP.
<P>
<A NAME="9511"></A>
<P>
<HR><A HREF="node1.html"><IMG WIDTH=65 HEIGHT=24 ALIGN=BOTTOM ALT="contents" SRC="contents_motif.gif"></A> <BR>
<B> Next:</B> <A HREF="node264.html">Article Batching</A>
<B>Up:</B> <A HREF="node259.html">C-News</A>
<B> Previous:</B> <A HREF="node262.html">The sys file</A>
<P><ADDRESS>
<I>Andrew Anderson <BR>
Thu Mar 7 23:22:06 EST 1996</I>
</ADDRESS>
</BODY>
</HTML>