home *** CD-ROM | disk | FTP | other *** search
/ Source Code 1992 March / Source_Code_CD-ROM_Walnut_Creek_March_1992.iso / usenet / altsrcs / 3 / 3028 / README < prev    next >
Encoding:
Text File  |  1991-03-09  |  1.9 KB  |  54 lines

  1.                    fixnews
  2.                Scott R. Turner
  3.             srt@aerospace.aero.org
  4.  
  5. Usage: fixnews [-d] [num]
  6.  
  7. This is a simple little hack that updates your .newsrc so that you
  8. have no more than <num> articles to read in every newsgroup.  If <num>
  9. is omitted, then 50 articles are left.  If you have less than <num>
  10. articles to read in a newsgroup, the .newsrc line passes through
  11. unchanged.  If you are unsubscribed to a newsgroup it is removed from
  12. your .newsrc.
  13.  
  14. Note that the latest version of rn expects you to have every available
  15. newsgroup listed in your .newsrc.  (Which I find silly.)  If you
  16. delete lines from your .newsrc, the next time a checkgroups message
  17. rolls around, you'll get asked about every deleted newsgroup.  You can
  18. avoid this by using the -q option to rn, but then you won't be
  19. informed about legitimate new newsgroups.
  20.  
  21. Alternately, you can call fixnews with the -d option to turn off
  22. deletion of unsubscribed newsgroups.
  23.  
  24. In case of problems, fixnews saves your old .newsrc into .newsrc.old.
  25.  
  26. Fixnews is intended only for NNTP-style news.  It has been moderately
  27. tested, but no claims for correctness, durability, or style of coding
  28. are claimed.  Use at your own risk.END_OF_FILE
  29. if test 1180 -ne `wc -c <'README'`; then
  30.     echo shar: \"'README'\" unpacked with wrong size!
  31. fi
  32. # end of 'README'
  33. fi
  34. if test -f 'Makefile' -a "${1}" != "-c" ; then 
  35.   echo shar: Will not clobber existing file \"'Makefile'\"
  36. else
  37. echo shar: Extracting \"'Makefile'\" \(395 characters\)
  38. sed "s/^X//" >'Makefile' <<'END_OF_FILE'
  39. #
  40. #  Makefile for Fixnews
  41. #  Mon Feb 11 15:37:39 1991 -- Scott "TCB" Turner
  42. #
  43. #  Set NNTPDIR correctly, and edit config.h before compiling.
  44. #
  45. CC = cc
  46. CFLAGS =   -O 
  47. NNTPDIR = /usr/src/new/news2.11/nntp1.5.10
  48. libs =  -ltermlib  
  49.  
  50. fixnews.o: config.h fixnews.c server.h
  51. fixnews: fixnews.o $(NNTPDIR)/common/clientlib.o
  52.     $(CC) $(LDFLAGS) fixnews.o $(NNTPDIR)/common/clientlib.o -o fixnews $(libs)
  53.  
  54.