Article View: news.software.nn
Article #1086classifying newsgroups in nn
From: Richard Kennaway CMP RA
Date: Tue, 13 Nov 1990 15:59
Date: Tue, 13 Nov 1990 15:59
69 lines
3634 bytes
3634 bytes
Like most readers of news, I read some groups for professional reasons, and
some for recreation. Naturally, I try to read the "serious" groups at work,
and the recreational ones on my own time. I've set up my presentation
sequence to show me first the serious groups, then the others, but it is
difficult to resist the temptation to read just one more newsgroup, and then
just one more,...
What I would like is to be able to divide my subscribed newsgroups up into
classes, and when I invoke nn be able to tell it to only show me the
newsgroups in some specified class.
I havent found a way of doing this. I could try having multiple .newsrc
files, containing different sets of subscriptions, and write shell scripts
along the lines of:
mv .newsrc.serious .newsrc
nn
mv .newsrc .newsrc.serious
but this isnt very satisfactory. One reason is that the expire system
relies on reading people's .newsrc files to find groups that no-one reads,
which it can expire faster. The above method would defeat this. Another
defect is that when a new group is created, I'll see it once for every
different newsgroup-class.
There doesnt seem to be any way of doing it by swapping .nn/init files
instead of .newsrc - the presentation sequence defined in .nn/init cannot
specify that certain newsgroups are not to be read.
Therefore I propose that the feature be built in to nn. For example, allow
an extra field in the lines of the presentation sequence in .nn/init,
specifying the class of that newsgroup or family of newsgroups. A single
digit would allow ten different classes, which may be enough. Personally, I
would only need two classes, but people may find a use for more.
By default, the class mark would be ignored, but there would be a command
line option to cause nn to read only specified classes. There would also
have to be a command for changing the class of a newsgroup, and when a new
newsgroup is discovered, then if class marks are used at all in the init
file, nn should ask which class to assign the new group to.
I could then have a presentation sequence looking like:
news.announce.important
NEW
sci.logic 0
comp.theory 0
comp.binaries.mac 0
sci.physics 1
talk* 1
rec* 1
etc., and define csh aliases:
alias serious nn -c 0
alias frivolous nn -c 1
Then the command 'serious' would read only news.announce.important,
sci.logic, comp.theory, and comp.binaries.mac, while 'frivolous' would read
news.announce.important, sci.physics, and all subscribed-to talk and rec
groups. Unmarked groups, unsequenced groups, and new groups would be read
by both commands.
Comments? (If you want me to see them, please email me. I do read this
group, but our news system regularly overflows and loses news.)
--
Richard Kennaway SYS, University of East Anglia, Norwich, U.K.
Internet: jrk@sys.uea.ac.uk uucp: ...mcvax!ukc!uea-sys!jrk
Technical Details
Message-ID:
<5013.9011131559@s4.sys.uea.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!information-systems.east-anglia.ac.uk!jrkShow Full Headers
Complete Article Headers
Message-ID: <5013.9011131559@s4.sys.uea.ac.uk> Subject: classifying newsgroups in nn Date: Tue, 13 Nov 1990 15:59:44 +0000 From: jrk@information-systems.east-anglia.ac.uk (Richard Kennaway CMP RA) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!mcsun!uunet!zaphod.mps.ohio-state.edu!usc!apple!agate!ucbvax!information-systems.east-anglia.ac.uk!jrk Newsgroups: news.software.nn Sender: daemon@ucbvax.BERKELEY.EDU Lines: 69 Posted: Tue Nov 13 16:59:44 1990