[news.software.b] C News and readnews

tale@pawl.rpi.edu (David C Lawrence) (11/24/89)

Would anyone who has gotten the "rna" readnews which comes with C News
to work please contact me via e-mail.  I've finally tried to put it
together for the sake of one of my users who wants to use it in a
non-interactive script for batch processing of some articles (he used
to use the old readnews back when we had B News).

I edited defs.h and the Makefile.  It compiled fine but ended up core
dumping in getline() in newsrc.c.  I fixed that by making it also
check whether the character which it getc()'ed was a newline; where it
had dumped core was trying to parse a line of "news.announce.newgroups:"
which newsetup would produce as default -- the lack of trailing space
made it create one _huge_ "word" of all the groups in the file.

Now it doesn't core dump, but it doesn't give me any news either.  Oh
wait, it does dump still -- "readnews -s+ some.group" dies in subsub()
because slist is a nil pointer.  "readnews -n rpi.news" will mark all
articles as read for the group but won't show any.

I haven't seen any bug reports about it, so I am really curious what
my problem is.  Is it just that no one bothers with this?  Or is that
black cat that crossed my path as I walked under a ladder yesterday
really having an affect on my life?

Pretty common system configuration: SunOS 4.0.3, Sun 3/280.  The C
News is current through the November patch.

Dave
-- 
 (setq mail '("tale@pawl.rpi.edu" "tale@ai.mit.edu" "tale@rpitsmts.bitnet"))

henry@utzoo.uucp (Henry Spencer) (11/28/89)

In article <256CE0EB.2F3A@rpi.edu> tale@pawl.rpi.edu (David C Lawrence) writes:
>Would anyone who has gotten the "rna" readnews which comes with C News
>to work please contact me via e-mail...
>I haven't seen any bug reports about it, so I am really curious what
>my problem is.  Is it just that no one bothers with this?  Or is that
>black cat that crossed my path ...

Most people use more sophisticated news readers, and the ones who do use
rna use it mostly as a dead-simple reader for novices.  (Both of C News's
"home systems" do that, for example.)  Its various options and such have
not been exercised very well for a long time.  It's definitely somewhat
cranky about the format of the .newsrc file.

We would welcome fixes for it, but it's not high on our own priorities.
-- 
That's not a joke, that's      |     Henry Spencer at U of Toronto Zoology
NASA.  -Nick Szabo             | uunet!attcan!utzoo!henry henry@zoo.toronto.edu