Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Posting-Version: version B 2.10.2 9/18/84 exptools; site ihlpl.UUCP Path: utzoo!watmath!clyde!cbosgd!ihnp4!ihlpl!tlt From: tlt@ihlpl.UUCP (Todd) Newsgroups: net.sources Subject: Re: A quick way to read voluminous amounts of netnews. Message-ID: <715@ihlpl.UUCP> Date: Wed, 19-Mar-86 11:15:29 EST Article-I.D.: ihlpl.715 Posted: Wed Mar 19 11:15:29 1986 Date-Received: Fri, 21-Mar-86 04:06:59 EST References: <703@ihlpl.UUCP> Distribution: net Organization: AT&T Bell Laboratories Lines: 41 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