Manual Reference Pages - NEWS (5)
news - USENET network news articles and batches
There are two formats of news articles:
A and B.
A format is obsolete,
looks like this:
Body of article
article consists of a series of header lines
(collectively referred to as the message
header), followed by an empty line,
followed by the body.
line must begin with a word
(consisting of alphanumerics and dashes),
and at least one space,
in that order.
This is a specialisation of RFC 822 format.
Continued headers are as per RFC 822.
Unrecognized headers are ignored.
News is stored in the same format transmitted,
see Standard for the Interchange of USENET Messages
(RFC 1036 nee 850)
Standard for the Format of ARPA Internet Text Messages
(RFC 822, but note amendments in RFC 1123)
for a full description.
The following headers are among those recognized:
email@example.com[.domain ...] (
<Unique RFC822 message-id>
address for mail replies
Message-ID of article this is a follow-up to.
text of a control message
news batch consists of zero or more articles,
each preceded by a line of the form
#! rnews byte-count
byte-count is the number of bytes in the following article,
where each newline is counted as a single byte,
even if it is stored as a CR-LF or
some other representation.
Spaces are significant:
one before and one after
rnews. News batches are usually transmitted
Various peculiar optional encapsulations of news batches exist
which consist of doing something to the
then prepending a
#! goo line to the output,
goo reflects the form of encapsulation;
known values of
cunbatch (the null encapsulation),
c7unbatch (encode the batch using only seven bits per character).
From: firstname.lastname@example.org (Jerry Schwarz)
Subject: Usenet Etiquette -- Please Read
Date: Friday, 19 Nov 82 16:14:55 EST
Expires: Saturday, 1 Jan 83 00:00:00 EST
Organization: Bell Labs, Murray Hill
The body of the article comes here, after an empty line.
DARPA RFCs 1036, 850, 822, 1123
B format articles must not start with
A, to distinguish them from
this is only a problem if moderators put
Processing would be easier and potentially faster
Control: (if present)
Newsgroups: were required to be the first headers.
People insist on making their whacko local encapsulation schemes
One could argue that RFC 822
is less than an ideal base for article format.
(On the other hand,
at least its textual,
unlike ISO messages.)
Visit the GSP FreeBSD Man Page Interface.
Output converted with manServer 1.07.