|
|
1.1 root 1: .\"
2: .\" @(#)getactive.dst 1.2 (Berkeley) 10/15/87
3: .\"
4: .TH GETACTIVE 1 "8 July 1987"
5: .UC 4
6: .SH NAME
7: getactive \- retrieve the active file from the remote news server
8: .SH SYNOPSIS
9: .B RNLIB/getactive filename
10: .SH DESCRIPTION
11: .I Getactive
12: retrieves the newsgroup ``active file'' (which contains
13: the list of all known newsgroups and their high/low message
14: numbers) from the news server on a remote machine and
15: places it in
16: .I filename.
17: .PP
18: The normal use is in support of shell scripts (such as
19: .I newsgroups
20: or
21: .I newsetup )
22: which have been taken from existing software, such
23: as
24: .I rn.
25: When used in such scripts, the active file is usually
26: retrieved into a temporary file such as
27: .IR /tmp/active.$$ ,
28: and should be deleted before the shell script exits.
29: .PP
30: The active file is retrieved from the machine
31: listed in the file SERVERFILE, which is
32: defined by the constant
33: SERVER_FILE in
34: .I common/conf.h
35: in thef NNTP source directory.
36: The environment variable NNTPSERVER can be used to
37: override this choice.
38: .SH AUTHOR
39: Phil Lapsley
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.