🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #13294

Re: Announcing NewsX

#13294
From: Robert A. Yetman
Date: Sat, 14 Dec 1996 00:00
83 lines
3984 bytes
As the maintainer of suck, I'm gonna address these issues/problems
one at a time.

In article <1996Dec9.224316.16691@lorelei.approve.se>, hoh@approve.se.NO_JUNK_EMAIL (Goran Larsson) writes:
>In article <58equ0$40c@pad-thai.cam.ov.com>,
>Jonathan I. Kamens <jik@cam.ov.com> wrote:
>> What makes this package better than suck?
>
>As one that are going to take a serious look at NewsX I can give
>a couple of reasons:
>
>  1) Don't have to change that bogous "void main" to "int main" for
>     each new suck version.

This is a philisophical difference, not a difference that affects the code.
The reason I keep it void is this: main doesn't use a return statement,
no return statement, no value to return hence the void.  Yes I return
a value thru exit(), but that's not the same.

>
>  2) Don't have to change "anything\r\n" to "anything\n" for log
>     messages (but not for NNTP messages) for each new suck version.
>
Valid point, a leftover from long ago, that I just never realized affected people,
will clean up for the next version.

>  3) Don't need to add fflush() in several places just to get the
>     logfile out of the stdio buffers for each new suck version.
>
Where would you like to see it fflush() on the logfile()?  The logfile was designed
for people who use it from cron(), and hence wouldn't be monitoring real-time.

>  4) Don't need to have a temp directory for downloaded messages with
>     one file for each article.
>
This is only ONE of the modes of suck.  You can still have suck deliver articles to stdout,
and than do with them what you want.  This was done to make posting to INN via INNXMIT,
real easy and quick.

>  5) Don't need 202 lines of shell script just to handle:
	This must be an older version, its now just 138 lines.  Actually if you look
at the code, a good half of it is comments, and definitions.  I could probably trim
it down to 40 lines or less if I tried.  The reasons for the shell is not so much
for the sucking, but rather for the MANY different ways people use the articles,
whether it's C-news, Inn, UUCP, or others.  If it were only me using this, I'd have
coded it all as C a long time ago.

>      Locking.
	
There are two locks in the current version.  One is created by suck, and is in the C code.
One is in the SAMPLE script, and was put there due to a request from another user.	

>      Safety net for sucknewsrc if suck crashes.

This hasn't been in the scripts for a while now, this is all handled internally, via the
-c option.

>      Handling of error logs and logs.

What don't you like about the logs?

>      Injecting the batches to C-news or UUCP.

Or Inn.  I have to support ALL of the above, hence the many options, and the shell scripts.

>

Despite some beliefs expressed by others, suck IS NOT the greatest program in the world.  It
works for me and works for other people.  As Goren has stated, he has several features he
doesn't like, and he is entitled to his opinion.  I know suck isn't for everyone.  I think
there is room for other programs like slurp, NewsX, and others.  

I'm always open to suggestions, and sometimes I actually use them.  There are a couple of
features that I would like to add to suck, but I haven't had the time.  I have other
interests, and a full time job as boot.  

-- 
boby@pixi.com (Robert A. Yetman)



Technical Details
Message-ID: <58v2nl$p6@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-mail
References: <1996Dec9.224316.16691@lorelei.approve.se>

Show Full Headers
Complete Article Headers
Message-ID: <58v2nl$p6@pixi.com>
Subject: Re: Announcing NewsX
Date: Sat, 14 Dec 1996 00:00:00 +0000
From: boby@pixi.com (Robert A. Yetman)
References: <1996Dec9.224316.16691@lorelei.approve.se>
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: 204142979
Distribution: inet
Organization: The unconfigured xvnews people
Reply-to: boby@pixi.com
Newsgroups: news.software.nntp