home *** CD-ROM | disk | FTP | other *** search
-
- NAME
- PostNews
-
- SYNOPSIS
- PostNews <newsfile [-f user] [-r "realname"]
- [-R reffile] [-x delfile] [newsfile]
-
- DESCRIPTION
-
- Postnews posts news by building a complete news article based on
- the input from "newsfile", and if specified "reffile", and then
- submitting that article to RNews.
-
- The newsfile may be either standard input (stdin), or the *last*
- argument on the command line.
-
- The newsfile is normally generated by the user with some help from
- a newsreader. It must contain a Newsgroups header. It may contain
- "From", "Date", "Message-Id", "Organization", and "Subject" headers
- as well. If they are not present, they will be generated.
-
- A "Distribution" header is recommended, but not required.
-
- If -f is not specified, the username is extracted from the
- environment first (ENV:USERNAME), UserName config entry second.
-
- If -r is not specified, the user's real name is extracted from the
- environment first (ENV:REALNAME), RealName config entry second.
-
- The username and realname are used in building a "From" header
- if it isn't present. They are required entries to post news. A
- "nodename" configuration variable is also required.
-
- If -R is specified, its associated file contains one or more header
- lines (no blank lines) to be included in the news. This file is
- normally generated by the news reading program (for example, to
- generate the References header) and is not usually editable by the
- user.
-
- Any files specified with the -x option are deleted after the news
- is queued with RNews. Up to 31 files may be specified. This allows
- you or the newsreader to RUN PostNews in the background and have it
- clean up after itself when it is done.
-
- If PostNews detects any errors, the temporary files are not removed;
- and they can be resubmitted after the error is corrected.
-