POST(LOCAL)

NAME
post - news poster

SYNOPSIS
post [ -n newsgroups ] [ -s subject ] [ -d distribution ] [ -f followup-to ] [ -p quote-prefix ] [ - | news-article ]

DESCRIPTION
Post posts a news article to Usenet via inews, uux, or mail. Given an optional argument of the name of a file containing a news article, or an argument of `-' and a news article via stdin, post creates a follow-up article, with an attribution and quoted text. Post can be invoked as a filter from a newsreader: `|post -' would create a followup article to the current article in the newsreader. The newsgroups, subject, distribution, follow-up, and quote-prefix (the default is ` > ') can be specified on the command line.

Post is compatible with C-News, B-news, and bsnews (Bootstrap News). On systems with inews, the newsgroups and distribution are validated in the appropriate news system files.

ENVIRONMENT
The environment variable EDITOR overrides the default editor. ORGANIZATION overrides the file /usr/lib/news/organization to specify an optional Organization header. On non-UnixTM systems, the environment variable HOST may be used to override the Icon keyword &host as the sitename.

BUGS
The code to validate newsgroups assumes the file /usr/lib/news/active is sorted.

AUTHOR
Ronald Florence (ron@mlfarm.com). The code to generate a temporary file name is from Richard Goerwitz (goer@sophist.uchicago.edu). Options.icn is from the Icon Program Library.