view docs/inews.1 @ 150:1c7303c71f66 noffle

[svn] * src/protocol.c: Fix bug in Prt_getLn if we should read a line starting with '\0' - according to the leafnode mailing list, this has been seen in the wild. * docs/inews.1,docs/noffle.1,docs/noffle.conf.5, packages/redhat/noffle.spec,src/configfile.h,src/configfile.c, src/noffle.c,src/post.h,src/post.c: Removed use of getopt_long, and added inews mode - the Noffle executable behaves as inews is invoked as inews. This includes adding From: and Organization: headers if necessary - add configs to override defaults for the From: domain and specify the organization. For all my fellow trn-heads out there, and users of any other ageing newsreader that expects inews. Updated RPM spec to create inews link to noffle on install.
author bears
date Thu, 26 Oct 2000 22:21:13 +0100
parents
children
line wrap: on
line source

.TH inews 1
.\" $Id: inews.1 227 2000-10-26 21:21:13Z bears $
.SH NAME
inews \- Send a Usenet article.

.SH SYNOPSIS

.B inews
[
.B \-D
]
[
.B \-O
]
[
.B \-S
]
[
.I input
]

.SH DESCRIPTION

.I inews
reads a Usenet news article including headers from
the named file or standard input if no file is given.
It adds some headers and performs some checks. If the article
fails the checks (e.g. the article lacks a body, or has no Newsgroups:
line), the article is rejected. Otherwise the article is posted.


.SH OPTIONS

.TP
.B \-D
Debug mode.
.I inews
adds header lines and performs some checks. If the checks are successful,
the article is printed on the standard output and not posted.
.TP
.B \-O
If no
.I Organization:
header is found, and a value for
.I organization
is specified in
.BR noffle.conf (5),
.I inews
will add a
.I Organization:
header using that value. To suppress this behaviour, use the
.B \-O
flag.
.TP
.B "\-h \-A \-V \-W"
For compatibility with inews programs used with other news servers,
.I inews
accepts, but ignores, the ``\fB\-h\fP'', ``\fB\-A\fP'', ``\fB\-V\fP''
and ``\fB\-W\fP'' flags.
.TP
.B \-N
For compatability with inews programs used with other news servers,
the ``\fB\-N\fP'' flag is treated as the ``\fB\-D\fP'' flag.
.TP
.B \-S
Normally, if a file named
.I .signature
exists in the user's home directory,
.I inews
will try to append it to the end of the article. If the file cannot be
read, the article will not be posted.
If the
.B \-S
flag is given, .signature will not be added.

.SH NOTES

.I inews
exits with a zero status if the article was successfully posted, or a
non-zero status if a check fails or posting fails.

.PP
This
.I inews
is supplied with the
.B NOFFLE
news server. It is, in fact, the main
.BR noffle (1)
executable, and the
.I inews
program is just a link to the main
.I noffle
program. If the
.I noffle
program sees it is being executed under the name
.I inews
it adjusts its behaviour accordingly.

.SH FILES

.B NOFFLE
takes its configuration from a configuration file, by default
.I /etc/noffle.conf.
For a description of this file, see
.BR noffle.conf(5).

.SH SEE ALSO

.BR noffle (1),
.BR noffle.conf (5),

.SH AUTHORS

Markus Enzenberger <markus.enzenberger@t-online.de>
.br
Volker Wysk <volker.wysk@student.uni-tuebingen.de>
.br
Jim Hague <jim.hague@acm.org>
.br
Uwe Hermann <uh1763@bingo-ev.de>

1998-2000.