Article View: news.software.readers
Article #219808Re: About the name PNNTP
From: Mats Peterson
Date: Tue, 22 Apr 2008 04:48
Date: Tue, 22 Apr 2008 04:48
74 lines
3742 bytes
3742 bytes
"Gerry Ford" <gerry@nowhere.ford> wrote:
>
> "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?
LOL on cbfalconer :-) Regarding killfiltering on anything else than
header contents, impossible at the moment, since it only uses XOVER data
for this. You're once again free to invent something yourself. I should
add that I have moved the location of the configuration files to a
subdirectory %USERPROFILE%\pnntp in the latest bleeding edge version.
Type 'p' to post.
--
Mats Peterson
http://www.geocities.com/matsp888/
Technical Details
Message-ID:
<B6ePj.6401$R_4.4894@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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!zen.net.uk!dedekind.zen.co.uk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mailReferences:
<CI%Oj.6368$R_4.5046@newsb.telia.net> <emteedee-5F66AD.01045722042008@dnews.tpgi.com.au> <DN2Pj.6373$R_4.5088@newsb.telia.net> <1208838697_3043@news.newsgroups.com>Show Full Headers
Complete Article Headers
Message-ID: <B6ePj.6401$R_4.4894@newsb.telia.net> Subject: Re: About the name PNNTP Date: Tue, 22 Apr 2008 04:48:33 GMT From: Mats Peterson <matsp555@yahoo.com> 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> <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!newsfeed00.sul.t-online.de!t-online.de!feeder.news-service.com!tudelft.nl!txtfeed1.tudelft.nl!zen.net.uk!dedekind.zen.co.uk!newspeer1.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail Newsgroups: news.software.readers MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit User-Agent: PNNTP Lines: 74 NNTP-Posting-Host: 213.64.75.194 X-Complaints-To: abuse@telia.com X-Trace: newsb.telia.net 1208839713 213.64.75.194 (Tue, NNTP-Posting-Date: Tue, 22 Apr 2008 06:48:33 CEST Organization: Telia Internet