home *** CD-ROM | disk | FTP | other *** search
- fixnews
- Scott R. Turner
- srt@aerospace.aero.org
-
- Usage: fixnews [-d] [num]
-
- This is a simple little hack that updates your .newsrc so that you
- have no more than <num> articles to read in every newsgroup. If <num>
- is omitted, then 50 articles are left. If you have less than <num>
- articles to read in a newsgroup, the .newsrc line passes through
- unchanged. If you are unsubscribed to a newsgroup it is removed from
- your .newsrc.
-
- Note that the latest version of rn expects you to have every available
- newsgroup listed in your .newsrc. (Which I find silly.) If you
- delete lines from your .newsrc, the next time a checkgroups message
- rolls around, you'll get asked about every deleted newsgroup. You can
- avoid this by using the -q option to rn, but then you won't be
- informed about legitimate new newsgroups.
-
- Alternately, you can call fixnews with the -d option to turn off
- deletion of unsubscribed newsgroups.
-
- In case of problems, fixnews saves your old .newsrc into .newsrc.old.
-
- Fixnews is intended only for NNTP-style news. It has been moderately
- tested, but no claims for correctness, durability, or style of coding
- are claimed. Use at your own risk.END_OF_FILE
- if test 1180 -ne `wc -c <'README'`; then
- echo shar: \"'README'\" unpacked with wrong size!
- fi
- # end of 'README'
- fi
- if test -f 'Makefile' -a "${1}" != "-c" ; then
- echo shar: Will not clobber existing file \"'Makefile'\"
- else
- echo shar: Extracting \"'Makefile'\" \(395 characters\)
- sed "s/^X//" >'Makefile' <<'END_OF_FILE'
- #
- # Makefile for Fixnews
- # Mon Feb 11 15:37:39 1991 -- Scott "TCB" Turner
- #
- # Set NNTPDIR correctly, and edit config.h before compiling.
- #
- CC = cc
- CFLAGS = -O
- NNTPDIR = /usr/src/new/news2.11/nntp1.5.10
- libs = -ltermlib
-
- fixnews.o: config.h fixnews.c server.h
- fixnews: fixnews.o $(NNTPDIR)/common/clientlib.o
- $(CC) $(LDFLAGS) fixnews.o $(NNTPDIR)/common/clientlib.o -o fixnews $(libs)
-
-