Article View: news.software.nntp
Article #22493suck-3.7.0 released - retrieve news from NNTP server
From: Robert A. Yetman
Date: Sun, 19 Oct 1997 00:00
Date: Sun, 19 Oct 1997 00:00
144 lines
6001 bytes
6001 bytes
PREFACE
=======
Original Author - Tim Smith (tzs@coho.halcyon.com)
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@3ware.co.jp)
Spanish Docs - Simon Mudd (sjmudd@redestb.es)
Abraham Nevado (nevado@redestb.es)
LOCATION
========
visit http://www.pixi.com/~boby/index.html
to download the latest version or view the README file.
FTP Sites:
Site1 = sunsite.unc.edu
Path1 = /pub/Linux/system/news/transport
File1 = suck-3.7.0.tar.gz
Site2 = tsx-11.mit.edu
Path2 = /pub/linux/sources/sbin
File2 = suck-3.7.0.tar.gz
INTRODUCTION
============
The primary use for suck is to feed a local INN or CNEWS server, without
the remote NNTP feeding you articles. It is designed for a small, partial
news feed. It is NOT designed to feed 10,000 groups and 3 Gigs of articles
a day.
This package contains 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 a remote NNTP server
testhost Check to see what commands your host recognizes or
get the active or new list.
lmove * NEW * put articles in news/group/number format.
MAJOR CHANGES FROM 3.6.0 -> 3.7.0
=================================
* suck, rpost, testhost - Added -T option - this option allows you to set
the timeout value for receive from remote host, overriding the
default TIMEOUT in suck_config.h
* suck - Added -hl option - this option allows you to specify the localhost,
required for the -A or -bp options.
* suck - Added -A option - this option uses the NNRP command LIST to get the
active file from the localhost, and use it to build/maintain
the sucknewsrc. With this option, you never need to edit
sucknewsrc, just add/delete the group from your local server. You
can create a file "active-ignore", and list newsgroups that you
don't want suck to download.
* suck - Added -bp option - this option uses the IHAVE command to
post articles to the localhost. With the command line:
'suck news.server.com -bp -hl localhost -A -c'
you can download messages and post without too much fuss or
messing with configuration files.
* suck - Added long options. All normal options now have a long option
equivalent, denoted with -- instead of -. See the man page for
the complete listing.
MAILING LIST!
=============
Thanks to Motoharu Kubo (mkubo@3ware.co.jp), there is now a mailing list
for suck. It is intended as a place to discuss problems, etc, plans, and
other issues related to suck. Its address is "suck-ml@3ware.co.jp".
To subscribe to the mailing list, send a mail message to majordomo@3ware.co.jp
with the message text reading "subscribe suck-ml"
NOTES:
======
Suck will not work with obsolete NNTP servers that can't handle the xhdr
command.
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? :)
The Makefile assumes you are using GNU make, other makes may or may not work.
If your remote INN server slows drastically after 100 messages are downloaded,
and they are using INN 1.5.1, chances are they compiled INN with "LIKE_PULLERS"
set to DONT, which causes INN to put a small sleep before each message.
Talk to the SA for the system and see if they'll compile with "DO". Chances
are they didn't even know this option existed.
If you are using GLIBC, and having trouble compiling this, and are getting
errors about PATH_MAX, add "#define _POSIX_SOURCE 1" to the bottom of config.h,
and see if that fixes the problem.
HOW-TO-USE
==========
1. run ./configure
2. If your history file is not a flat file, or if its not at
/usr/lib/news/history, edit the top of the Makefile.
3. Edit suck_config.h - lots of configurable stuff here
4. Make it. (make , make install)
5. Create a sucknewsrc - which groups to download (see suck man pg).
If you have INND/CNEWS/DNEWS/PNEWS already running, then
just use the -A -lh localhost option, and the sucknewsrc
will be built for you.
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.
7. READ THE MAN PAGES
8. To install supplemental language man pages and phrase file
make install_jman Japanese language docs
make install_sman Spanish language docs
PLANS FOR NEXT VERSION.
=======================
1. allow comments in killfiles
2. add option to testhost to read description of newsroups
(list newsgroups command)
Technical Details
Message-ID:
<62e4ql$1qn$1@juryrig.pixi.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mailShow Full Headers
Complete Article Headers
Message-ID: <62e4ql$1qn$1@juryrig.pixi.com> Subject: suck-3.7.0 released - retrieve news from NNTP server Date: Sun, 19 Oct 1997 00:00:00 +0000 From: boby@pixi.com (Robert A. Yetman) Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!not-for-mail X-Deja-AN: 281931251 Reply-To: boby@pixi.com Organization: "Pixihost" Newsgroups: news.software.nntp