🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
7 messages
7 total messages Started by Jarmo Vaisanen Tue, 14 Jan 1992 09:43
Is there some kind of hierarchial newreader?
#1035
Author: Jarmo Vaisanen
Date: Tue, 14 Jan 1992 09:43
17 lines
1423 bytes
Hi!

I was wondering if there is available some kind of hierarchial newsreader.
By hierarchial I mean that first display should show main 'newsareas' like
alt, comp, rec, and so on.  Then when user selects comp its subareas come
to display (admin, ai, binaries, ...) and finally as leaves in this 'tree'
newreader displays newsarticles.  (Just an idea...)


Thanks,
	Jarmo Vaisanen

-------------------------------------------------------------------------
Jarmo V{is{nen                 vaisanen@joyx.Joensuu.FI        (internet)
University of Joensuu      JVAISANEN@FINUJO                (earn, bitnet)
Computer Center              JOYL::JVAISANEN                 (decnet)
Joensuu, Finland
Re: Is there some kind of hierarchial newreader?
#1048
Author: Ted Richards
Date: Thu, 16 Jan 1992 14:09
26 lines
2079 bytes
rodger@hpbs2245.boi.hp.com (rodger@hpbs2245.boi.hp.com) writes:
: Hi!
: 
: I was wondering if there is available some kind of hierarchial newsreader.
: By hierarchial I mean that first display should show main 'newsareas' like
: alt, comp, rec, and so on.  Then when user selects comp its subareas come
: to display (admin, ai, binaries, ...) and finally as leaves in this 'tree'
: newreader displays newsarticles.  (Just an idea...)

Not quite, but just as useful (in my opinion), are the threaded news
readers: tin, Tass, trn and possibly others.  I am not familiar with
trn, but tin (which is a much enhanced version of Tass) starts off by
displaying a list of newsgroups which you can page through using single
keystrokes.  They are displayed in the order of your .newsrc file,
so you can group them by hierarchy.

To select a newsgroup, you just cursor to the line containing the group
and type <Return>.  The reader then displays a list of subjects
("threads") which you can again scroll through.  Choosing one of these
lines puts you in the first unread article with that subject (it
understands that "Re:" does not change the subject).

Tin appeared in alt.sources.
--
Ted Richards          ...uunet!utai!lsuc!isgtec!ted         ted@isgtec.UUCP
ISG Technologies Inc.   3030 Orlando Dr. Mississauga  Ont.  Canada   L4V 1S8
Re: Is there some kind of hierarchial newreader?
#1058
Author: Felix Lee
Date: Sun, 19 Jan 1992 22:57
23 lines
1685 bytes
Jarmo Vaisanen wants a newsreader that will:

>show main 'newsareas' like alt, comp, rec, and so on.  Then when user
>selects comp its subareas come to display (admin, ai, binaries, ...)
>and finally as leaves in this 'tree'

I've thought about this a little, and it doesn't seem really useful.

The hierarchic naming of newsgroups is somewhat accidental.  "alt",
"comp", etc. are not really useful categories for reading news.
They're more for administrative convenience.

I don't know if a hierarchy is really a good way of presenting topics.
When have you ever located something in the library by walking down
the Dewey Decimal System hierarchy?  The merit of the system is that
similar books end up near each other.

Something that might be interesting is mapping the newsgroups into an
associative net or a category space.  Visually arrange newsgroups so
those with related content are clustered near each other.  Find some
effective way of providing a map for the newsgroups.
--
Felix Lee	flee@cs.psu.edu
Re: Is there some kind of hierarchial newreader?
#1069
Author: Wm E Davidsen Jr
Date: Tue, 21 Jan 1992 20:11
27 lines
1970 bytes
In article <lb4Hg_d&4@cs.psu.edu> flee@cs.psu.edu (Felix Lee) writes:

| I've thought about this a little, and it doesn't seem really useful.
| 
| The hierarchic naming of newsgroups is somewhat accidental.  "alt",
| "comp", etc. are not really useful categories for reading news.
| They're more for administrative convenience.

  You mostly right, but there are times when you want that kind of
thing, such as reading news at work (comp, news, and a few technical
alt groups, thanks) or lunch time (add some rec and soc groups, maybe).

  What I would like, and may actually hack up, is a way to change the
order in which I see groups. Not just by sorting the .newsrc, since what
I want may change often, but perhaps as I start my news session or
something.

  I use sortnews to keep the .newsrc file in line, but that's only a
beginning. I want to be able to have ordering and selection criteria,
some what like the expire selections. So I can say *.graphics.* for all
graphics groups, or select all the source groups, or just a few news
groups, or whatever.

-- 
bill davidsen	(davidsen@crdos1.crd.GE.COM -or- uunet!crdgw1!crdos1!davidsen)
  GE Corp R&D Center, Information Systems Operation, DSS group
"A pointed truth is an honest knife"  -Gnoza, _Slow Lightning_
Re: Is there some kind of hierarchial newreader?
#1070
Author: Felix Lee
Date: Tue, 21 Jan 1992 22:24
19 lines
1636 bytes
Bill Davidsen writes:
>  You mostly right, but there are times when you want that kind of
>thing, such as reading news at work (comp, news, and a few technical
>alt groups, thanks) or lunch time (add some rec and soc groups, maybe).

For this, it's sensible for a newsreader to let you create clusters of
newsgroups, with easy ways of arranging newsgroups and clusters.

I've been meaning to experiment with something like this for GNUS, but
I haven't gotten around to it yet.

It would probably be much easier to use in a gooey interface.  Put
little icons or something for each newsgroup, let the user push the
pieces around on a newsgroup map.  The default map might have the
newsgroups clustered by topic.  Let each user customize his map as he
sees fit.  And perhaps you can automatically build the default map by
averaging over all the user maps.
--
Felix Lee	flee@cs.psu.edu
Re: Is there some kind of hierarchial newreader?
#1071
Author: Christopher Davis
Date: Wed, 22 Jan 1992 00:59
393 lines
13310 bytes
This serves a fair amount of the purpose, since it allows you to cluster
groups based on the names:

(/tcp-ip/) gets all tcp-ip groups, and so on.

#! /bin/sh
# This is a shell archive.  Remove anything before this line, then unpack
# it by saving it into a file and typing "sh file". To overwrite existing
# files, type "sh file -c".  You can also feed this as standard input via
# unshar, or by typing "sh <file", e.g.. If this archive is complete, you
# will see the following message at the end:
#		"End of shell archive."
# Contents:  README fixnewsrc sample.news.biblio sample.news.favorite
#   sample.news.new-list
# Wrapped by ckd@eff on Thu Aug  8 17:00:22 1991
PATH=/bin:/usr/bin:/usr/ucb ; export PATH
if test -f README -a "${1}" != "-c" ; then 
  echo shar: Will not over-write existing file \"README\"
else
echo shar: Extracting \"README\" \(1594 characters\)
sed "s/^X//" >README <<'END_OF_README'
XThis is fixnewsrc 1.4 - a perl program to manage the order of your
X.newsrc file.  Now, admittedly, there are some newsreaders which will do
Xthis, but how many of them support all of perl's power in expressions?
X
X(After all, rn.pl isn't here yet.)
X
XChanges in the program are currently documented within the source code;
XI will probably move it to a ChangeLog with the next release.
X
XUsage notes are within the program; run 'fixnewsrc -help'.
X
XFuture plans for version 1.5 (which may be 2.0) include:
X
X - support for a .news.dislikes file, to put your most-hated groups at
X   the bottom.  This would be useful for dropping groups like
X   vmsnet.networks.tcp-ip.* to the bottom while selecting all other
X   tcp-ip groups, for example.  Suggested by Ed Vielmetti.
X
X - new (and hopefully faster) syntax options in preference files:
X     ^comp       # will equal comp.all
X     .sources    # comp.sources.misc, alt.sources, etc
X   These would match only *whole name segments*, but should be faster
X   than the "old" (/pat/) matches.  The price will be vastly larger
X   amounts of RAM used.
X
XMany thanks to Dan Wallach <dwallach@soda.berkeley.edu> for the original
Xcode, Tom Christensen <tchrist@convex.com> and Liam Quin for their
Xassistance with Dan's versions, Ed Vielmetti <emv@msen.com> for many
Xfine suggestions, Randal L. Schwartz <merlyn@iwarp.intel.com> and Larry
XWall <lwall@netlabs.com> for the Camel Book, Larry Wall and the
Xcomp.lang.perl gang for perl, Masanobu Umeda for GNUS, and Helen Rose
Xfor her moral support, assistance, and help.  If I have forgotten anyone
Xabove, I apologize.
X
END_OF_README
if test 1594 -ne `wc -c <README`; then
    echo shar: \"README\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f fixnewsrc -a "${1}" != "-c" ; then 
  echo shar: Will not over-write existing file \"fixnewsrc\"
else
echo shar: Extracting \"fixnewsrc\" \(5776 characters\)
sed "s/^X//" >fixnewsrc <<'END_OF_fixnewsrc'
X#!/usr/local/bin/perl -- # -*- Perl -*-
X
X# FixNewsrc
X# v1.4 by Chris Davis <ckd@eff.org>
X# based on V1.1 by Dan Wallach <dwallach@soda.berkeley.edu>
X
X# run "fixnewsrc -help" for documentation and usage notes,
X# see the sample files, look at README, or Use the Source, Luke.
X
X# New feature in 1.4
X#
X# cleaned up the eval in sub insert, it's now evaling the loop instead
X# of being within it.  This optimizes (/pat/) perl patterns; it now runs in
X# much less time on my sample .news.favorite (with a 2500+ group .newsrc!)
X#
X#old: 44.0u 15.9s 1:10.66 84.9% 0+1080k 5+15io 0pf+0w
X#new: 12.4u  9.7s 0:27.94 79.7% 0+1012k 3+15io 0pf+0w
X# --ckd 91 Aug 09
X
X# New features in 1.3
X#
X# Cleaned up some messages to print the true filename.
X# added -s sortfile option (from Ed Vielmetti <emv@msen.com>)
X# Fixed an array-slice masquerading as a scalar...
X#
X# --ckd 91 Aug 08
X
X# New features in 1.2:
X#
X# Uses getopts.pl to allow the following new feature (so the help parsing
X#  also changed)
X#
X# has -f file to allow using something other than $HOME/.newsrc.
X#  (good for those GNUS users using .newsrc-nntpserver style files)
X# --ckd 91 Jul 16
X
X# New features in 1.1:
X#
X# handles arbitrary Perl patterns via eval (idea from Liam Quin's awk script)
X# handles stranger and more obscure error cases (happy, Tom? :-)
X
X# return true if it actually printed anything
Xsub counter {
X    return 0 unless ((++$counter % 100) == 0);
X    $prev_blurt = 0;
X    print STDERR "$counter...";
X    1;
X}
X
Xsub tally_counter {
X    print STDERR "$counter",(defined $verbosity)?" total\n\n":"\n";
X}
X
Xsub blurt {
X    return unless $verbosity;
X    print STDERR "\n" unless $prev_blurt;
X    print STDERR @_;
X    $prev_blurt = 1;
X}
X
Xsub insert {
X	local($group) = split(/[:!]/, $_[0], 2);
X	if(!defined $newsrc{$group}) {
X	    &blurt("Warning: $group not in $newsrc_file!\n")
X		if !defined($inserted{$group});
X	    next;
X	}
X
X	&blurt(">> $_\n");
X	&counter;
X	push (@output, $newsrc{$group});
X	$inserted{$group} = 1;
X	delete $newsrc{$group};
X}
X
Xsub print_favorites {
X    print STDERR "Parsing favorites: ";
X    favorite: foreach(<FAVORITE>) {
X	chop;
X	s/\s*\#.*$//;
X	next if /^$/;
X
X	if(/\(/) {
X	    &blurt("Matching: $_\n");
X	    $pattern = $_;
X	    eval <<END_OF_EVAL;
X	    foreach (\@newsrc) {
X		    if ($pattern) {
X			&insert(\$_);
X		    }
X	    }
XEND_OF_EVAL
X	    &blurt("Match complete\n");
X	    next favorite;
X	}
X	&insert($_);
X    }
X    &tally_counter;
X}
X
X#if(@ARGV == 1 && $ARGV[0] eq "-v") {
X#    # verbose mode on
X#    $verbosity = 1;
X#    shift;
X#}
Xrequire 'getopts.pl';		# and unfortunately require 3.0.44 or later
X&Getopts("h:s:f:v");		# help, sortlist (favorites), file, verbose
X
Xif (@ARGV || $opt_h) {
X    print STDERR <<NO_MORE_HELP;
Xfixnewsrc 1.4 by Chris Davis <ckd@eff.org>
X    based on fixnewsrc 1.1 by Dan Wallach <dwallach@soda.berkeley.edu>
X             and patches by Ed Vielmetti<emv@msen.com>
XUsage: $0       [-v] [-f file] [-s favoritefile] [any other argument]
X    -v == more verbose
X    -f == use file instead of .newsrc
X    -s == sort by this file instead of .news.favorite
X    anything else == this help message
X
XThis program sorts your .newsrc, putting groups you read on top.  In addition,
Xif you have a file in your home directory called .news.favorite, then the
Xlist of newsgroups in this file appear at the top of your .newsrc, so you
Xcan still read groups in your favorite order.
X
XPut any Perl expression you want to describe your group in parenthesis, and
Xthat's good, too.  If it's not in parenthesis, it's considered to be exact.
XRemember: you're matching on :'s and !'s, too.
X
X# Example:
Xrec.humor.funny                        # comments, and blank lines are cool
Xalt.fan.warlord
Xucb.computing.announce
Xcomp.lang.perl
X(/comp\\.text\\..*/ && (!/comp\\.text\\.tex/))  # comp.text everything but tex
X# Here's a more complicated one which matches "nas" and "nas.msgs"
X# but not "nasa.nudge" or "arc.nasamail.arc"
X(/^nas\\..*/ || /^nas[:!]/)
XNO_MORE_HELP
X    exit 0;
X}
X
X$verbosity = $opt_v;
X$newsrc_file = $opt_f || "$ENV{HOME}/.newsrc";
X$favorite_file = $opt_s || "$ENV{HOME}/.news.favorite";
Xdie "No .newsrc file!  Crapped out at" unless -e "$newsrc_file";
Xopen(NEWSRC, "<$newsrc_file") ||
X    die "Can't open $newsrc_file: $!, crapped out at";
X
X# we want to keep this associative array around for printing favorites
X# so if we've already printed something, we just delete it from the
X# associative array, and go on.
X
Xprint STDERR "Reading groups: ";
X$counter = 0;
Xforeach(<NEWSRC>) {
X    chop;
X    next if /^$/;
X    &counter;
X    $fullentry = $_;
X    s/[:!].*$//;
X    &blurt("Warning: $_ appears more than once!\n") if defined($newsrc{$_});
X    $newsrc{$_} = $fullentry;
X}
X&tally_counter;
X
Xprint STDERR "Sorting..." if $verbosity;
X@newsrc = sort values %newsrc;
Xprint STDERR "Done\n" if $verbosity;
X# output time... clear the counter and let's deal with the favorites file
X$counter = 0;
X
Xif (open(FAVORITE, $favorite_file)) {
X    &print_favorites;
X} else {
X    print STDERR "Couldn't find $favorite_file.  Just sorting $newsrc_file.\n";
X}
X
X# yeah, we have to do it twice... It's good enough...
Xundef @newsrc;
Xprint STDERR "Sorting again..." if $verbosity;
X@newsrc = sort values %newsrc;
Xprint STDERR "Done\n" if $verbosity;
Xprint STDERR "Generating output: ";
X
X#
X# I could just grep through the array for :'s then !'s, but that requies
X# making two passes.  This works in one pass.
X#
Xforeach(@newsrc) {
X    &counter;
X    if(/:/) {
X	push (@output, $_);
X    } elsif (/!/) {
X	push (@output2, $_);
X    }
X}
X&tally_counter;
X
Xclose(NEWSRC);
Xrename($newsrc_file,"${newsrc_file}.bak") ||
X    die "Can't rename ${newsrc_file}: $!, crapped out at";
X
Xopen(NEWSRC, ">$newsrc_file") || die "Can't open $newsrc_file for writing: $!, crapped out at";
X
X$\ = $, = "\n";
Xprint NEWSRC @output, @output2;
X
X
X
END_OF_fixnewsrc
if test 5776 -ne `wc -c <fixnewsrc`; then
    echo shar: \"fixnewsrc\" unpacked with wrong size!
fi
chmod +x fixnewsrc
# end of overwriting check
fi
if test -f sample.news.biblio -a "${1}" != "-c" ; then 
  echo shar: Will not over-write existing file \"sample.news.biblio\"
else
echo shar: Extracting \"sample.news.biblio\" \(196 characters\)
sed "s/^X//" >sample.news.biblio <<'END_OF_sample.news.biblio'
X# emv's .news.new-list favorite file
X# works with fixnewsrc (a perl script which is cool)
X# try to find bibliographic stuff for pbs inc
X(/librar/)
X(/pacs-l/)
X(/book/)
X(/biblio/)
X(/text/)
X(/tex/)
X
END_OF_sample.news.biblio
if test 196 -ne `wc -c <sample.news.biblio`; then
    echo shar: \"sample.news.biblio\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f sample.news.favorite -a "${1}" != "-c" ; then 
  echo shar: Will not over-write existing file \"sample.news.favorite\"
else
echo shar: Extracting \"sample.news.favorite\" \(867 characters\)
sed "s/^X//" >sample.news.favorite <<'END_OF_sample.news.favorite'
X# ckd's .news.favorite file ; -*- Fundamental -*-
X#
X# (perl expr) to wildcard, or groupname to not do so
Xcontrol                            # do the icky newsadmin stuff first
Xjunk
X(/eff\./ && (!/^eff\.mail\./))     # then local and comp.org.eff
X(/^eff\.mail\./)                   # then the mailing lists
X
X# now the system admin stuff
X(/security/)
X(/admin/)
X(/archives/)
X(/^ddn\./)
X(/announce/)
X
X# regional hierarchies
X(/^ne\./)
X(/^mit\./)
X(/^athena\./)
X
X# stuff I want to see
X(/irc/)
X(/acad-freedom/)
X(/privacy/)
X
X# more newsadmin stuff, but more heat than light
X(/^news\./)
X(/config/)
X
X# gotta get my fix
Xcomp.lang.perl
X
X# look for useful source code
X(/sources/)
X
X# support the mac & sun
X(/sun/)
X(/mac[.!:]/)
X
X# have fun
Xclari.feature.dave_barry
X
X# wind it up with the technodweeb groups
X(/^gnu\./)
X(/^comp\./)
X(/^sci\./)
X
X# everything else falls down to the end.
END_OF_sample.news.favorite
if test 867 -ne `wc -c <sample.news.favorite`; then
    echo shar: \"sample.news.favorite\" unpacked with wrong size!
fi
# end of overwriting check
fi
if test -f sample.news.new-list -a "${1}" != "-c" ; then 
  echo shar: Will not over-write existing file \"sample.news.new-list\"
else
echo shar: Extracting \"sample.news.new-list\" \(280 characters\)
sed "s/^X//" >sample.news.new-list <<'END_OF_sample.news.new-list'
X# emv's .news.new-list favorite file
X# works with fixnewsrc (a perl script which is cool)
X# try to find new mailing lists
Xcontrol                            # do the icky newsadmin stuff first
Xjunk
Xbit.listserv.new-list
Xnews.announce.newgroups
X(/group/)
X(/config/)
X(/announce/)
X
X
END_OF_sample.news.new-list
if test 280 -ne `wc -c <sample.news.new-list`; then
    echo shar: \"sample.news.new-list\" unpacked with wrong size!
fi
# end of overwriting check
fi
echo shar: End of shell archive.
exit 0
-- 
Christopher Davis <ckd@eff.org>   |  OBLIGATORY SEMI-POLITICAL COMMENT:
System Manager & Postmaster       | "[The CIX] might be a conspiracy of 
Electronic Frontier Foundation    |  lizard-like aliens here to steal our
+1 617 864 0665    NIC: [CKD1]    |  water, but I doubt it."
Re: Clustering newsgroups (Re: Is there some kind of hierarchial newreader?)
#1098
Author: Felix Lee
Date: Wed, 22 Jan 1992 23:15
24 lines
1833 bytes
Christopher Davis posts something that:
> serves a fair amount of the purpose, since it allows you to cluster
> groups based on the names:
> (/tcp-ip/) gets all tcp-ip groups, and so on.

While useful, it's not quite what I had in mind.

The best you can hope for from most newsreaders is a linear clustering
of newsgroups with no division marks.  It would be nice if you could
separate clusters of newsgroups and arrange the clusters non-linearly.

With clustering, you should be able to read different types of news in
different instances, like: recreational reading at home v. product
related reading at work.

The other problem is trying to find a new newsgroup to read.  Browsing
2000+ groups and descriptions is unwieldy.  A hierarchic browser may
help, but the newsgroup hierarchy is pretty flat and not particularly
useful for browsing.

Some sort of navigational map for newsgroups, like an associative
network or a topic space, would be helpful.
--
Felix Lee	flee@cs.psu.edu
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads