A quick way to read voluminous amounts of netnews.

Todd tlt at ihlpl.UUCP
Thu Mar 20 02:15:29 AEST 1986


This is a revised streamlined version that is easier to use.
Basically the same description as before:

Here is a short shell script that allows the user to read/scan
a lot of netnews very quickly. 
It maps the ' character to a one keystroke command that goes
immediately to the article you want to read.  When you have read the
article exit vi by your favorite method and you will be back
looking at the list of news articles.

Basically the same installation directions as before:
1. Cut on the dotted lines and put contents into a file called "qn" (quick news).
2. Find where netnews articles are kept on your system and change the
   appropriate line (line 1).
3. Make the file "qn" executable.
4. Enjoy.
-----------------------------cut here-----------------------
NEWSPATH=/where/the/news/is/
export NEWSPATH
EXINIT="map K :s/ .*//
:s.^.view $NEWSPATH.
:s/\./\//g
map ' K:.w! /tmp/rd.$$
:!sh /tmp/rd.$$

uj"
export EXINIT
readnews -l >/tmp/hd.$$
vi /tmp/hd.$$
rm /tmp/hd.$$ /tmp/rd.$$
echo "Update .newsrc? (y/n)\c"
read x
if [ "y" = "$x" ]
then
  readnews -p >/dev/null
fi
-----------------------------cut here-----------------------
The same DISCLAIMER as before
It uses vi so if you don't like vi don't use it.
It probably won't work with csh.  I don't know because I use ksh.
Try it - you might like it.
If you don't like it - write your own. (I would be interested in mutants)

Already I have a mutant of my own!!!!!    seek - locate - exterminate
Terry Todd @ ihnp4!ihlpl!tlt



More information about the Comp.sources.unix mailing list