|
|
1.1 root 1: .TH NETNEWS 5
2: .CT 1 inst_info
3: .SH NAME
4: netnews \- usenet news articles, utility files
5: .SH DESCRIPTION
6: .PP
7: There are two formats of news articles:
8: A and B.
9: Format A is the only format that the older
10: .IR netnews (A)
11: understands.
12: .I Readnews
13: and
14: .IR postnews (7)
15: deal with both formats, but produce B
16: by default.
17: .PP
18: Format A looks like this:
19: .LP
20: .BI A article-ID
21: .br
22: .I newsgroups
23: .br
24: .I path
25: .br
26: .I date
27: .br
28: .I title
29: .br
30: .I body of article
31: .br
32: .LP
33: Format B
34: contains two extra pieces of information: receipt date and expiration
35: date.
36: A file in B format consists of a series of headers and then the body.
37: A header
38: is a line with a capital letter in the 1st column and
39: a colon somewhere on the line.
40: Unrecognized header fields are ignored.
41: News is stored in whichever format it was created.
42: The following fields are among those recognized:
43: .IP
44: .EX
45: From:
46: Newsgroups:
47: Subject:
48: Date:
49: Date-Received:
50: Expires:
51: Reply-To:
52: References: \fRID of article this is a follow-up to\fP
53: Control: \fRText of a control message\fP
54: .EE
55: .LP
56: Each line of the control file
57: .F /usr/lib/news/sys
58: file line has four fields, separated by colons:
59: .LP
60: .IB system-name : subscriptions : flags ":\fItransmission command\fP"
61: .PP
62: Only the
63: .I system-name
64: and
65: .I subscriptions
66: need to be present.
67: .PP
68: The
69: .I system name
70: is the name of the system being sent to.
71: The
72: .I subscriptions
73: are the newsgroups it gets.
74: The
75: .L flags
76: are a set of letters describing how the article should be transmitted.
77: The default is
78: .BR B .
79: Valid flags include
80: .BR A ,
81: .BR B ,
82: .B N
83: (use ihave/sendme protocol),
84: .B U
85: (use
86: .L uux -c
87: and the name of the stored article in a
88: .L %s
89: string).
90: .LP
91: The
92: .I transmission command
93: is executed by the shell with the article to be transmitted as the standard
94: input.
95: The default is
96: .BI "uux \- \-z \-r " sysname !rnews .
97: .LP
98: Somewhere in the control
99: file, there must be a line for the host system.
100: This line has no
101: .IR flags
102: or
103: .I transmission commands.
104: A
105: .L #
106: as the first character in a line denotes a comment.
107: .SH FILES
108: .TF /usr/spool/netnews/*
109: .TP
110: .F /usr/lib/news/*
111: .TP
112: .F /usr/spool/news/*
113: .SH SEE ALSO
114: .IR postnews (7),
115: .IR readnews (7)
116: .br
117: M. Horton,
118: .I
119: Standard for the Interchange of USENET Messages,
120: RFC850,
121: DARPA Information Processing Techniques Office,
122: Arlington VA,
123: 1983
This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.