🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219805

Re: About the name PNNTP

#219805
From: Gerry Ford
Date: Tue, 22 Apr 2008 04:38
70 lines
3636 bytes
"Mats Peterson" <matsp555@yahoo.com> wrote in message 
news:DN2Pj.6373$R_4.5088@newsb.telia.net...
> Mike Dee <emteedee@emteedee.invalid> wrote:
>> In article <CI%Oj.6368$R_4.5046@newsb.telia.net>,
>>  Mats Peterson <matsp555@yahoo.com> wrote:
>>
>>> Can't say I like it very much, but at least it won't clash with that
>>> other pnews stuff...
>>
>> How about Pnewsreader? Too long?
>>
>
> Yeah, a bit :-) Well, it's good enough, this one.

Mats,
good news
Killfiles and filters work!

I changed the location of the resource files and added debug info, so I can 
see messages from the server:

use constant {SUBJ => 0, FROM => 1, DATE => 2, ID => 3, REFS => 4};
use constant {POST => 0, REPLY => 1};
use constant NNTP_DEBUG        => 1;


my $pnntprc = "pnntp.rc";
my $newsrc = "news.rc";
my $killrc = "kill.rc";
my @filter = ();
my $sigfile = "$ENV{'USERPROFILE'}\\signature.txt";
my @sig = ();


sub conn_server {
    $nntp and disc_server;
    $nntp = Net::NNTP->new($nntp_host, 'Debug' => NNTP_DEBUG) or do
            {prompt "Couldn't connect to `$nntp_host'"; return};
    $nntp->reader();
    $nntp_user and $nntp_pass and
            ($nntp->authinfo($nntp_user, $nntp_pass) or do
                    {prompt $nntp; disc_server});
}


This is what kill.rc looks like:
^From:.*<cbfalconer@yahoo.com>
^Subject:.*memset
^Message-ID:.*googlegroups

Cbfalconer has the distinction of being the first person in my perl 
killfile.  He worked hard to get there.  Obnoxious, dyspeptic, and always 
wrong, he's an OS bigot to boot.  Congratulations, Chuck.

The filter with memset worked too.  How do we killfilter shoes, watches, sex 
for pedophiles and the rest of it?

I asked for ten files from comp.lang.c and got only 4 with the original 
settings.  I think the missing 6 were googlegroups.

Bravo, Mats.  What all do I need to do to be able to post now?
-- 
"Life in Lubbock, Texas, taught me two things: One is that God loves you
and you're going to burn in hell.  The other is that sex is the most
awful, filthy thing on earth and you should save it for someone you love."

~~  Butch Hancock 

Technical Details
Message-ID: <1208838697_3043@news.newsgroups.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!news-out.usenet.com!sp12lax.superfeed.net!not-for-mail
References: <CI%Oj.6368$R_4.5046@newsb.telia.net> <emteedee-5F66AD.01045722042008@dnews.tpgi.com.au> <DN2Pj.6373$R_4.5088@newsb.telia.net>

Show Full Headers
Complete Article Headers
Message-ID: <1208838697_3043@news.newsgroups.com>
Subject: Re: About the name PNNTP
Date: Mon, 21 Apr 2008 23:38:51 -0500
From: "Gerry Ford" <gerry@nowhere.ford>
References: <CI%Oj.6368$R_4.5046@newsb.telia.net> <emteedee-5F66AD.01045722042008@dnews.tpgi.com.au> <DN2Pj.6373$R_4.5088@newsb.telia.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!nx01.iad01.newshosting.com!newshosting.com!198.186.190.251.MISMATCH!news-out.readnews.com!transit4.readnews.com!news-out.usenet.com!sp12lax.superfeed.net!not-for-mail
Lines: 69
Organization: Newsgroups.com
Newsgroups: news.software.readers
X-Proxy-User: $$s_iz$n-74p
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2180
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2180
X-RFC2646: Format=Flowed; Original
X-Report: Please report illegal or inappropriate use to
 <abuse@newsgroups.com>. Forward a copy of ALL headers INCLUDING the body. (DO
 NOT SEND ATTACHMENTS)
X-Comments2: IMPORTANT: Newsgroups.com does not condone, support,
 nor tolerate spam or any illegal or copyrighted postings.
X-Comments: This message was posted through Newsgroups.com
X-Original-Bytes: 3120
X-Original-Lines: 88