INEWS
Section: User Commands (1)
Updated: 7 June 1989
Index
Return to Main Contents
NAME
inews - `user-friendly' news-posting front-end for rnews
SYNOPSIS
inews
-p
[ file ... ]
inews
[
-h
]
[
-x
excluded-site
]
[
-A
]
[
-M
]
[
-V
]
[
-W
]
[
-a
Approved:-contents
]
[
-c
Control:-contents
]
[
-d
Distribution:-contents
]
[
-e
Expires:-contents
]
[
-f
From:-contents
]
[
-n
Newsgroups:-contents
]
[
-o
Organization:-contents
]
[
-r
Reply-To:-contents
]
[
-t
Subject:-contents
]
[
-C
newsgroup
]
[
-F
References:-contents
]
[
file ...
]
DESCRIPTION
Inews
installs locally
and
broadcasts a (network) news article
(injects it into the
news
flow),
read from
files
or standard input if none,
normally
by giving it as standard input to
rnews(1),
after adding and altering headers,
notably
Message-ID:,
From:
and
Path:,
deleting invisible characters,
and
appending the first four lines of
$HOME/.signature,
if any.
The article will instead be mailed
to the moderators of the moderated newsgroups in the
Newsgroups:
header,
if any are found.
inews -p
is exactly equivalent to
rnews.
Normal usage is simply
inews -h,
which assumes the presence of at least
Subject:
and
Newsgroups:
headers.
-h
tells
inews
that the article starts with headers;
otherwise it starts with the article body.
-x
prevents transmission to site
excluded-site.
-A
waits until enough space becomes free in
/usr/spool/news.
-M
does nothing,
for B news compatibility.
-V
causes
relaynews
to emit a log file line on stdout
after processing is complete,
by having
relaynews
not redirect stdout and stderr
to
/usr/lib/news/log
and
/usr/lib/news/errlog.
-W
waits for
relaynews
to complete,
instead of running it in the background and not waiting.
The remaining options are inherited from B news
and exist only for backward-compatibility with news readers.
They should not be used by humans,
as they are equivalent to
adding the obvious headers,
with two small twists:
-f
generates
From: From:-contents
which generates a
Sender: user@host
header
if there is no
Sender:
header in the input,
and
-C
generates
Control: newgroup newsgroup
and
Newsgroups: newsgroup
headers.
FILES
- /usr/lib/news/active
-
contains (un)moderated flag
- /usr/lib/news/mailpaths
-
routes to moderators, Internet gateway
- /usr/lib/news/mailname
-
the name of this cluster of machines for purposes of mail,
including any domain
- /usr/lib/news/server
-
the hostname of this cluster's server
- /usr/lib/news/whoami
-
the name of this cluster for purposes of news
- /usr/lib/newsbin/inject/anne.jones
-
header censor
- $HOME/.signature
-
your name and network addresses
(no line-printer graphics, please)
- /tmp/in*
-
temporaries
SEE ALSO
mail(1),
rnews(1)
DIAGNOSTICS
inews
can take several seconds to run,
so it almost immediately begins running in the background;
error messages may appear somewhat later,
perhaps in the midst of other activity.
HISTORY
Written by Geoff Collyer
at the University of Toronto
as part of the C news project.
BUGS
Inews
should be unnecessary;
its only useful function is adding
Message-ID:
headers
and
most novices use
Pnews,
which could invoke
rnews
directly.
Index
- NAME
-
- SYNOPSIS
-
- DESCRIPTION
-
- FILES
-
- SEE ALSO
-
- DIAGNOSTICS
-
- HISTORY
-
- BUGS
-
This document was created by
man2html,
using the manual pages.
Time: 05:46:27 GMT, January 05, 2023