From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10d4db,514f7217fcf397a5,start X-Google-Attributes: gid10d4db,public From: "Robert A. Yetman" Subject: suck-3.2.1 grab news article from remote server Date: 1996/09/28 Message-ID: X-Deja-AN: 185944549 organization: ? followup-to: comp.os.linux.networking newsgroups: comp.os.linux.announce -----BEGIN PGP SIGNED MESSAGE----- Note: I have uploaded this to /pub/Linux/Incoming on sunsite, it hasn't yet been moved to its final resting place. - ----------------------------------------------------------------- This is to announce the release of suck-3.2.1 ************************************************************** This is a bug fix release, as well as one new feature, see below ************************************************************** 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 Japanese Docs - Motoharu Kubo (mkubo@st.rim.or.jp) 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. The suck/rpost combination allows you to run your own INN/CNEWS site, controlling where you get your news, and where you post outgoing articles. Suck/rpost use only standard NNTP commands that are used by your favorite news reader (tin, xvnews, strn) such as POST and ARTICLE. If you can use tin or xvnews against a NNTP site, than you can use Suck/Rpost. 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 (like inews) using the POST command testhost Check to see what commands your host recognizes or get the active or new list. ************************************************************************ 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. NOTE2: This code assumes an ANSI-compliant compiler, it will NOT work with old compilers (Such as Sun's) which don't accept function prototypes. You could try using the unprotoize program included in gcc, but then if you are going to get that, why not just build gcc? :) NOTE3: The Makefile assumes you are using GNU make, other makes may or may not work. LOCATION ======== Site1 = sunsite.unc.edu Path1 = /pub/Linux/system/Mail/news File1 = suck-3.2.0.tar.gz Site2 = tsx-11.mit.edu Path2 = /pub/linux/sources/sbin File2 = suck-3.2.0.tar.gz THANKS to all the users who have sent me mail, both good and bad. A DOUBLE THANKS to the v3.0 beta-testers: - - harleys@io.org - - jh@yahoo.com - - maho@Uni-paderborn.de - - paonia@home.welcomehome.org - - stuart@mannet.mcb.net - - tom@mtanet.com They helped me work out quite a few bugs with portability problems. ************************************************************************ If you don't see a feature that you asked for, it is because I have rejected it for various reasons, usually because I can't find a graceful way to implement it in the code, or I don't think that it is something that is needed by most of the users. ************************************************************************ - ------------------------------HOW TO USE-------------------------------- 1. run ./configure 2. If your history file is not a flat file, edit the top of the Makefile. 3. Edit suck_config.h - lots of configurable stuff here 4. Make it. (make CFLAGS=-O2, make install) 5. Create a sucknewsrc - which groups to download (see suck man pg) 6. 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. 7. READ THE MAN PAGES - ------------------------------------------------------------------------- ************************************************************************** MAJOR CHANGES FROM 3.2.0 -> 3.2.1 * - fixed a memory free bug in killfile.c * - added option -N port_number to rpost, suck, and testhost for connecting to an alternate port number ************************************************************************** MAJOR CHANGES FROM 3.1.0 -> 3.2.0 * - Rpost and Suck now will accept options from an option file, in addition to the command line. See the man pages for the @filename option. Remember, command line options will override the options read from a file. * - The dedupe function, which was previously done as each msg-id was received, is now done separately, after I have received all msg-ids. This allowed me do some optimization to the dedupe code and to speed up the process, since on large newsfeeds this was the slowest part of the process. Hopefully, this will shorten up the time needed to get the list of msg-ids, especially if you download more than 10,000 messages (this seemed to be a choke point in the past). * - added NNTP_Posting_Host to the list of headers checked in the killfile routines. * - deleted the #ifdef _NNRP stuff, made this a runtime option (-M in both rpost and suck). This was done for those who use multiple feeds with different software on those feeds. * - added the option to limit the number of messages downloaded at a given time. This is done on a per-group basis, and is specified in sucknewsrc. See the man page for details. * - Various bug fixes suck - fixed a couple of bugs in the killprg routines, one in the check of retval from the child process, and a missing newline on the kill command sent to the child process. - fixed the cleanup routine (-c) so that it looked in the correct location for the temporary files. rpost - rpost rewritten to not abort if there is a problem with one article, but to go on to the next article. 13 Sep 96 - suck-3.2.0 released IDEAS FOR FUTURE REVISIONS 1. Store messages in news/group/nr style format 2. Use regex for the kill file string matches boby@pixi.com -----BEGIN PGP SIGNATURE----- Version: 2.6.2i iQCVAwUBMk2y44QRll5MupLRAQGjLQQAiA9sk0bsYi6jUuDwGfk1aP3uu4UPTcnS YRwr3eFsdUCzgVS1Jt+jRjuRCfuV0hJ30fg34pLSQYV+CE0Tq6ZcFpbakk+KfeuY wegSA2wDU/rksrMycDrRHt8SY+GOvDSVLBEo0s8ZbcA0oT1q6J89kEqeK6ZKsdO7 l8ZSkKMhCOQ= =a2bi -----END PGP SIGNATURE----- -- This article has been digitally signed by the moderator, using PGP. http://www.iki.fi/liw/lasu-public-key.asc has PGP key 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. This group is archived at http://www.iki.fi/liw/linux/cola.html