Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.2 9/18/84; site turtlevax.UUCP
Path: utzoo!linus!decvax!decwrl!turtlevax!ken
From: ken@turtlevax.UUCP (Ken Turkowski)
Newsgroups: net.news.group
Subject: Re: Table of contents for news
Message-ID: <586@turtlevax.UUCP>
Date: Sun, 11-Nov-84 17:37:37 EST
Article-I.D.: turtleva.586
Posted: Sun Nov 11 17:37:37 1984
Date-Received: Tue, 13-Nov-84 00:59:37 EST
References: <1612@nsc.UUCP> <379@amdahl.UUCP> <1614@nsc.UUCP> <4034@elsie.UUCP>, <370@ucsfcgl.UUCP> <201@ganehd.UUCP> <6@vax2.fluke.UUCP>
Organization: CADLINC, Inc. @ Palo Alto, CA
Lines: 34

>Only one other person mentioned this in the 200+ articles I read in the last
>few days (sorry, I forgot who) -- is there anyway to get the news reading
>software (readnews, vnews, etc.) to display a "Table of Contents" based on
>the Subject Line or Keywords Line of, for example, a screenful of articles.
>At that point, the user would be able to decide which articles they do not
>want to read.  Then the software would take that info and update the .newsrc
>file to reflect the wishes of the user.

I have a package, called newsweed, which does more than that.
"readnews -l" will create a table of contents, but newsweed puts this
into a file, then puts you into your favorite editor to delete titles
of articles that you do not wish to read.  Newsweed then edits your
.newsrc file with awk to reflect the changes.  Your may then read the
news at your leisure.

There are some undesirable side effects, though.  Newsweed does take a
long time to both generate the list of titles and to update your
.newsrc, but through the magic of the csh and (^Z, fg, bg) job control
capability, this isn't too bothersome.

Your "options" line should not be continued on other lines.

Also, if you have a feeble Bourne shell that doesn't like long command
lines, you may have to put the awk program into a file, and use the -f
option of awk.

Small computers may suffer, too; the awk script may have to be
rewritten to not be such a memory hog.

I'll repost it in the near future with sufficient interest.
-- 
Ken Turkowski @ CADLINC, Palo Alto, CA
UUCP: {amd,decwrl,flairvax,nsc}!turtlevax!ken
ARPA: turtlevax!ken@DECWRL.ARPA