DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - download
Index: ┃ T i

⟦4fa77dc30⟧ TextFile

    Length: 7211 (0x1c2b)
    Types: TextFile
    Names: »inews.8«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/news/man/inews.8« 

TextFile

.if n .ds La '
.if n .ds Ra '
.if t .ds La `
.if t .ds Ra '
.if n .ds Lq "
.if n .ds Rq "
.if t .ds Lq ``
.if t .ds Rq ''
.de Ch
\\$3\\*(Lq\\$1\\*(Rq\\$2
..
.TH INEWS 8 "October 14, 1986"
.ds ]W  Version B 2.11
.SH NAME
inews \- submit news articles
.SH SYNOPSIS
.BR inews " [ " \-h " ]"
.BI \-t " title " \-n " newsgroups"
[
.BI \-e " expiration date"
] [
.BI \-f " sender name"
] [
.BI \-d " distribution"
] [
.BI \-F " references"
] [
.BI \-o " organization"
] [
.BI \-M
] [
.BI \-S
] [
.BI \-a " approvedby"
] [
.BI \-r " replyto"
] [
.BI \-x " dontsentto"
] [
.BI \-c " control-message"
]
.PP
.BI "inews \-p " filename
.PP
.BI "inews \-C " newsgroup
.PP
.BI "rnews \-U"
.SH DESCRIPTION
.I Inews
submits news articles to the USENET news network.
It is a raw interface called by news-posting programs.
You should not use
.I inews
directly. Most people use
.IR postnews (1)
to post news articles. Ultimately, of course,
.IR postnews (1)
and other news-posting programs call inews to do the actual submission.
.PP
The first form (no
.BI \-p
or
.BI \-C
options) is for submitting ordinary articles.
The body of the article will be read from the standard input.  A
.I title
(
.Ch Subject:
field)
must be specified (there is no default).
.PP
If
.IR expire (8)
is currently running or if 
.B SPOOLBATCH
was specified at compilation time, the articles may be spooled to
.I /usr/spool/news/.rnews
for later processing. Running 
.I "rnews \-U"
will unspool this articles.
.I "Rnews \-U"
is run automatically by expire when it is finished.
.PP
Each article is posted to one or more newsgroups. If the
.B \-n
flag is omitted, the list
will default to something like
.BR general .
If you wish to submit an article to multiple newsgroups, the
.I newsgroups
must be separated by commas and/or spaces.
.PP
The
.B \-e
flag is used to override the default expiration date. This is seldom
used.
.PP
The
.B \-f
flag specifies the article's sender.  Without this flag, the sender
defaults to the user's name.
If
.B \-f
is specified, the real sender's name will be included as a ``Sender:'' line
to prevent forged articles.
.PP
The
.B \-d
flag allows you to specify the maximum geographic distribution of your
article; for example, a distribution of
.Ch aus
limits distribution to Australia, and a distribution of
.Ch nj
limits distribution to New Jersey. There is no way to send a message from
California for distribution only in New Jersey\(emyour machine must be in the
distribution that you ask for.
.PP
The
.B \-r
flag allows you to specify the ``Reply-To:'' line in the article header.
.PP
The
.B \-x
flag says not to forward this article to the specified site despite
what the
.I /usr/lib/news/sys
file says.
.PP
The
.B \-F
flag is used to attach a list of related articles that this
message references; it creates the
.Ch References:
field of the posted article.
.PP
The
.B \-o
is used to override the default organization name.
.PP
The
.B \-M
and
.B \-a
flags are to be used only by the moderator of a moderated newsgroup. The
.B \-M
flag causes the
.Ch From:
and
.Ch Path:
fields of the article to be set to correct values for a moderated newsgroup.
The
.B \-a
flag is used to add an
.Ch Approved:
line to the header. Note that if the
.B \-M
flag is used in conjuction with the
.B \-h
flag (see below), the article headers must not have a
.Ch Path:
field in them already.
.PP
The
.B \-h
flag specifies that headers are present at the beginning of the
article, and these headers should be included with the article
header instead of as text. Everything before the first blank line in the
article is taken as a header field, and everything after that blank line is
taken to be part of the body of the message.
(This mechanism can be used to edit headers and supply additional
nondefault headers, but not to specify certain information,
such as the sender and article ID, that
.I inews
itself generates.)
.I Inews
will ignore nonstandard and misspelled header fields entered with the \-h
option.
.PP
The
.I \-c
flag is used to send a control message.
.PP
The
.I \-S
flag is used to override the automatic spooling option (if enabled).
It shold never be specified directly.  (It is normally used by
.IR "rnews \-U" .
.LP
When posting an article
.I inews
checks the environment for certain information about the sender. If
an environment variable
.B NAME
is defined,
.I inews
uses its value as the full name of the poster. If
.B NAME
is not defined,
\kx\f2$HOME\fP\h'|\nxu+2u'\f2$HOME/.name\fP
is checked and if it exists, its contents are used as the full name.
Otherwise, the system value (often in
.IR /etc/passwd )
is used.
This is useful if the system value cannot be set, or when
more than one person uses the same login.
If the environment variable
.B ORGANIZATION
is defined, then
.I inews
uses its value instead of the system
default organization name. If its value begins with a
.Ch / ,
then it is taken to be a file name, and
.I inews
takes the name of the organization from the contents of the file.
This is useful when a person uses a guest login and is
not primarily associated with the organization that owns the machine.
.LP
The second form (
.BI "inews \-p"
) is used for receiving articles from other machines. If
.I filename
is given, the article will be read from the file of that name; otherwise
the article will be read from the standard input.  An expiration date
need not be present and a reception date, if present, will be ignored.
.LP
When
.I inews
receives an article this way, it will check the history file to make sure
that the article is not already present, and it will make certain consistency
checks to make sure that the newsgroup names are legal and that the sys file
permits the article to be installed on the local machine. Once the article
passes those checks, it is installed in the appropriate directory on the
local machine. If the article fails those checks, it is installed in
newsgroup
.Ch junk
on the local machine. In any event,
.I inews
will then transmit the article to all systems that match in the sys file
and are not mentioned in the
.Ch Path:
field of the just-posted message. The details of this transmission are
determined by the contents of the sys file.
.LP
The third form (
.IB "inews \-C"
) is for creating new newsgroups. The use of this feature is
limited to certain users such as the super-user or news administrator.
.SH FILES
.PD 0
.TP 25
/usr/spool/news/.sys.nnn
temporary articles
.TP 25
/usr/spool/news/.rnews
spooled articles not yet processed by rnews \-U
.TP 25
.RI /usr/spool/news/ newsgroups / article_no.
Articles
.TP 25
/usr/lib/news/active
List of known newsgroups and highest local article numbers in each.
.TP 25
/usr/lib/news/seq
Sequence number of last article
.TP 25
/usr/lib/news/history
List of all articles currently stored on this machine.
.TP 25
/usr/lib/news/sys
System subscription list
.TP 25
/usr/lib/news/distributions
Suggested distribution code names
.PD
.SH "SEE ALSO"
Mail(1),
binmail(1),
mailx(1),
checknews(1),
msgs(1),
postnews(1),
readnews(1),
vnews(1),
getdate(3),
news(5),
newsrc(5),
expire(8),
recnews(8),
sendnews(8),
uurec(8)
.SH AUTHORS
Matt Glickman
.br
Mark Horton
.br
Stephen Daniel
.br
Tom Truscott
.br
Rick Adams