From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,56d9e2055e83beca,start X-Google-Attributes: gid10d4db,public From: "Robert A. Yetman" Subject: suck 2.6 announcement Date: 1996/02/22 Message-ID: X-Deja-AN: 140643253 x-original-date: Mon, 19 Feb 1996 13:16:25 -1000 (HST) followup-to: comp.os.linux.networking content-type: text/plain; charset=ISO-8859-1 organization: ? mime-version: 1.0 newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- This is to announce the release of suck-2.6 PREFACE ======= Original Author - Tim Smith (Unknown Address) Maintainers - March 1995 - Sven Goldt (goldt@math.tu-berlin.de) July 1995 - Robert A. Yetman (boby@pixi.com) Current Maintainer - boby@pixi.com LOCATION ======== Site1 = sunsite.unc.edu Path1 = /pub/Linux/system/Mail/news File1 = suck-2.6.tar.gz Site2 = tsx-11.mit.edu Path2 = /pub/linux/sources/sbin File2 = suck-2.6.tar.gz INTRODUCTION ============ The primary use for suck is to feed a local INN or CNEWS server, without the remote NNTP feeding you articles. This package contains the following software for copying news from an NNTP server to your local machine, and copying replies back up to an NNTP server. suck Pull a small newsfeed from an NNTP server. lpost Gives one article fetched by suck to the local server. rpost Posts article(s) to an NNTP server. testhost Check to see what commands your host recognizes or get the active or new list. ************************************************************************ THANKS to all the users who have sent me mail, both good and bad. ************************************************************************ ************************************************************************ NOTE: Suck will not work with obsolete NNTP servers that can't handle the xhdr command. inn-1.4sec has its own NNTP server that can handle xhdr, cnews.CR-G has no own NNTP server so it depends on which NNTP server you connect to cnews. ************************************************************************ - ------------------------------HOW TO USE-------------------------------- 1. Edit config.h - lots of configurable stuff here 2. Edit Makefile - check the directory/ownership/modes for the install and if you use the checkhistory option in config.h, which DB scheme your local host uses. 3. Make it. (make, make install) 4. Create a sucknewsrc - which groups to download (see suck man pg) 5. Take a look at sample/get.news(.innxmit or .rnews) These scripts show the whole scheme, from sucking news to posting replies to your remote host. Use .innxmit if you are using INND, or .rnews if you are using CNEWS. The get.news.innxmit is the script I actually use, since I am running INND. 6. READ THE MAN PAGES - ------------------------------------------------------------------------- ************************************************************************** MAJOR CHANGES 2.5.1 - 2.6 1. Added -e, -E, -s, and -S options to suck, rpost, and testhost. The -s and -S allow you to send all status messages to a file. The -e and -E allow you to send all error messages to a file. -e and -s use the default files specified in config.h and the -E -and -S allow you to specify a different file name. By combining these options, these programs will now work without any messages going to the screen, making use in crontabs or background processing much easier. In suck, the old -s option no longer works, in preference for the above new -s option. 2. Added options to handle DBM NDBM and DBZ history database schemes. See Makefile to configure this. NOTE: I can't test this code, since I don't have all the necessary libs and databases. Any bug reports would be appreciated. 3. Added options to killfile processing for group delete/keep files. With this you can specify what messages to delete or keep on a group by group basis. Also made changes to the delete/keep files to allow for case sensitive or case-insensitive comparisions. Changed LINES param to HILINES, and added LOWLINES to match any messages under the line count. See the man page for details. Due to these changes, you will need to rewrite your killfile. Sorry, but thought it was best in the long run. 4. Testhost - added option to check remote server for newgroups based on a date/time group provided on command line. 5. Added the option for multiple rnews batch files, with a max size for each file specified on the command line with the -r option. 6. Added the capability to handle multiple feeds with the -p (postfix) option. NOTES ON NEXT VERSION: The next version to be released after this one (barring any bug fix releases), will probably be called 3.0. Why? Well the next big change that I am going to add into suck is the use of autoconf and GNU coding standards to make this more portable. It's pretty portable now, but there are a few problems ( the most notable being bcopy/memmove usage). IDEAS FOR FUTURE REVISIONS 1. Streaming commands (send request for multiple articles then get them all). 2. Add an external program capability to the killfile stuff. This program would be fed the headers and tell suck whether or not it wanted that message. * This will get added in as soon as I figure out how to redirect stdin/ * stdout of a child process without affecting the parent process's stdin/ * stdout. 3. When using INND, throttle the news server, put the messages directly in your spool directory, and update the active file. This would basically mean bypassing innxmit. This feature would be handy on systems with very little free disk space, since we would not be downloading the articles then moving them somewhere else. boby@pixi.com CONCLUSION ========== The primary use for suck is to feed a local INN or CNEWS server, without the remote NNTP feeding you articles. The suck package is also useful if you have a dialup connection to a shell or slip account and want to reduce the expenses for your phonebill/online time. Rumors say that some dudes use suck for other reasons like archiving, extra newsfeed or sending articles by mail. With all these little tools together you almost have the functionality of a newsreader, but without the advantage of comfortability and the disadvantage of online time. - ---------------------------------------------------------------------------- boby@pixi.com -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMSyLc4QRll5MupLRAQERsgQA1wA/v2H9dZj1E7r4zkyz++6KUMz0vJaO yy3E2vmhaCgzadAKaL3BX9SOYyzbb9uaxtiulBfci2es0mpriBcf18mM6h0nZHHp mPHPSZ1L+A575V1CBvY5qllGZIrgCTqIjQewccoFJNcspzcc/mKFXGX8qC8+CPto BcS53GXDXXE= =ZHTP -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature. Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov PLEASE remember a short description of the software and the LOCATION.