[net.general] postnews handles Distribution incorrectly

ggr@pyuxbb.UUCP (09/30/83)

In some cases, that is.

If you do

	postnews file

the postnews shell script will prompt you for Subject, Newsgroups, and
Distribution, but then invokes inews with:

	inews -t "$title" -n $ng < $t &

and your article goes out without your carefully crafted Distribution
list.  This can't be fixed simply, since inews takes no flag argument
that would enable passing the distribution list on the command line.

The postnews shell will work (without surprises) if you give it
no file name, as it ends up invoking

	if inews -h <$t
	...

which is the only way to get the distribution into inews.

So, if you need to specify a non-default Distribution, invoke readnews
with no argument, answer the prompts, then when your editor is invoked,
read your already-prepared article in at the end of the heading lines
(making sure there is a blank line after the header).

			=== Guy Riddle == AT&T Bell Laboratories, Piscataway ===