🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #219806

Re: PNNTP, a simple NNTP client for Windows in Perl

#219806
From: Mats Peterson
Date: Tue, 22 Apr 2008 04:34
42 lines
2965 bytes
"Gerry Ford" <gerry@nowhere.ford> wrote:
>
> "Blinky the Shark" <no.spam@box.invalid> wrote in message 
> news:pan.2008.04.21.20.37.18.542739@thurston.blinkynet.net...
>> Nemesis wrote:
>>
>>> Blinky the Shark wrote:
>>>
>>>
>>>>>> http://www.geocities.com/matsp888/
>>>>> 1. Put some screenshots somewhere ;-) 2. If it is written in Perl why
>>>>> should it work only on windows?
>>>> <guessing class="from_non_perl_programmer"> Hard-coded dependence on Win
>>>> perl modules and/or Win FS structures? </guessing>
>>>
>>> probably it will be something like that, but Perl is a multiplatform
>>> language, the OP has the opportunity to make his software work 
>>> everywhere,
>>> he should use it ;-)
>>
>> Of course.  :)
> Mats has put a lot of work into making it look right on windows. 
> Unfortunately, I haven't been able to get to the display part of it yet.
>
> This part of it doesn't work like you think it would on windows:
> my $pnntprc = "$ENV{'USERPROFILE'}\\pnntp.rc";
> my $newsrc = "$ENV{'USERPROFILE'}\\news.rc";
> my $killrc = "$ENV{'USERPROFILE'}\\kill.rc";
> my @filter = ();
> my $sigfile = "$ENV{'USERPROFILE'}\\signature.txt";
>
> These all end up in folders that are hard to find.  I'd change that to be in 
> the same folder as the script itself.  I'm still going through the 
> killfiltering.  I'm not the quickest of creatures in perl.

It works exactly the way i think it would. And it's hardly hard to find.
It's the most logical place for configuration files, instead of
cluttering up My Documents.

-- 
Mats Peterson
http://www.geocities.com/matsp888/
Technical Details
Message-ID: <NVdPj.6400$R_4.5210@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!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!newspeer2.se.telia.net!se.telia.net!masternews.telia.net.!newsb.telia.net.POSTED!not-for-mail
References: <480ce6ec$0$35954$4fafbaef@reader2.news.tin.it> <pan.2008.04.21.19.42.11.636510@thurston.blinkynet.net> <480cf055$0$35952$4fafbaef@reader2.news.tin.it> <pan.2008.04.21.20.37.18.542739@thurston.blinkynet.net> <1208832727_3042@news.newsgroups.com>

Show Full Headers
Complete Article Headers
Message-ID: <NVdPj.6400$R_4.5210@newsb.telia.net>
Subject: Re: PNNTP, a simple NNTP client for Windows in Perl
Date: Tue, 22 Apr 2008 04:34:53 GMT
From: Mats Peterson <matsp555@yahoo.com>
References: <480ce6ec$0$35954$4fafbaef@reader2.news.tin.it> <pan.2008.04.21.19.42.11.636510@thurston.blinkynet.net> <480cf055$0$35952$4fafbaef@reader2.news.tin.it> <pan.2008.04.21.20.37.18.542739@thurston.blinkynet.net> <1208832727_3042@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!club-internet.fr!feedme-small.clubint.net!proxad.net!feeder1-1.proxad.net!newspeer2.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: 42
NNTP-Posting-Host: 213.64.75.194
X-Complaints-To: abuse@telia.com
X-Trace: newsb.telia.net 1208838893 213.64.75.194 (Tue,
NNTP-Posting-Date: Tue, 22 Apr 2008 06:34:53 CEST
Organization: Telia Internet