[net.news.b] inews bug?

larry (07/25/82)

Has anybody noticed that the "tty" variable in "inews.c" is used several
times before it is initiallized (finally) around line 225?  We're a
little behind in getting version 2.8 up, so if someone already pointed
this out --sorry.  The problem is appearent when you run raw "inews"
(not postnews); you get your prompt back without putting in any article,
and a 'ps(1)' still shows an inews is running.  The solution is simply
moving the initiallizing line up to the front of the file (before the
variable is used).


		Larry A. Marek
		 Bell Labs, Naperville

jeff@heurikon.UUCP (05/30/84)

I don't know if this is a bug or a configuration problem.
When news is unbatched at night (via cron) I sometimes
find a message like this sitting in cronlog:

inews: Not contributor: uwvax!seismo!cmcl2!floyd!whuxle!mp and mp@whuxle.UUCP (Plotnick Mark).

Does anybody know what causes this and/or how to fix?
Thanks.
-- 
/"""\	Jeffrey Mattox, Heurikon Corp, Madison, WI
|O.O|	{harpo, hao, philabs}!seismo!uwvax!heurikon!jeff  (news & mail)
\_=_/				     ihnp4!heurikon!jeff  (mail - fast)

mp@whuxle.UUCP (Mark Plotnick) (06/01/84)

It's not strictly a bug, but it's a little annoying because other bugs
prevent some articles from being cancelled.  The problem is that
c_cancel compares the entire From (or Sender) field.  In the case you
cited, my name when I sent the article was "(Mark Plotnick)", but when
I cancelled it I was su'ed and inews didn't look for my .name file, so
the cancel article said "(Plotnick Mark)" which is my gecos entry.

The From fields may also differ if the poster's domain is not ".UUCP".
Articles that pass through cmcl2!rna!n44a!wjh12 will have any domain
stripped and ".UUCP" added.  Sigh.

The solution to all this was posted by Jim Rees a couple of months
ago.  In c_cancel, just do the string comparison only up to the first ' '
or '.'.
	Mark