🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nntp
3 messages
3 total messages Started by Robert Turner Thu, 14 Mar 1991 18:28
Perl as a nntp reader
#1057
Author: Robert Turner
Date: Thu, 14 Mar 1991 18:28
13 lines
1176 bytes
Has anybody used perl as a nntp reader (client).  It's just a thought
that since perl has all the socket stuff and all of the data handling
capability it might be useful when trying to debug a server.

Robert


-- 
Robert Turner (602) 897-5441 Semiconductor Systems Design Technology, Motorola
turner@dover.sps.mot.com   OR   ...!uunet!dover!turner
"Most Americans do not know or appreciate the fact that citizenship is the
primary political office under a constitutional government."  Mortimer Adler
Re: Perl as a nntp reader
#1056
Author: Randal L. Schwartz
Date: Fri, 15 Mar 1991 21:40
23 lines
1865 bytes
In article <921@nddsun1.sps.mot.com>, turner@smart (Robert Turner) writes:
| Has anybody used perl as a nntp reader (client).  It's just a thought
| that since perl has all the socket stuff and all of the data handling
| capability it might be useful when trying to debug a server.

Well, this has certainly come full circle.

All that socket stuff is in there *because* Larry Wall wanted to
rewrite rn in Perl.

He got sidetracked while writing the "Programming Perl" Nutshell
Handbook, but it is once again in his queue to complete.

I have a Perl script that connects every half-hour to half-a-dozen
NNTP servers and perform transfers, ala nntpxfer.

Just another NNTP and Perl hacker,
-- 
/=Randal L. Schwartz, Stonehenge Consulting Services (503)777-0095 ==========\
| on contract to Intel's iWarp project, Beaverton, Oregon, USA, Sol III      |
| merlyn@iwarp.intel.com ...!any-MX-mailer-like-uunet!iwarp.intel.com!merlyn |
\=Cute Quote: "Intel: putting the 'backward' in 'backward compatible'..."====/
Re: Perl as a nntp reader
#1058
Author: Khun Yee Fung
Date: Sat, 16 Mar 1991 11:09
27 lines
1835 bytes
>>>>> On 14 Mar 91 18:28:27 GMT, turner@smart.sps.mot.com (Robert Turner) said:

Robert> Has anybody used perl as a nntp reader (client).  It's just a thought
Robert> that since perl has all the socket stuff and all of the data handling
Robert> capability it might be useful when trying to debug a server.

I have written a rudimentary Perl newsreader that does not do very
much yet. Most NNTP commands (except IHAVE, SLAVE, and POST commands)
can be issued. I will not implement IHAVE and SLAVE. POST can be added
in 5 minutes, using an editor selected by the user as the editing
device. I am using the program to read messages considered read in my
newsrc. You can certainly use it to debug a server.

I will keep adding features to it. If you are interested, I can send
you a copy. If you know perl, it will probably take 1 hour to write
your own version of the newsreader I have.

Khun Yee
--
----
Name:       Khun Yee Fung
Email:      clipper@csd.uwo.ca
Paper Mail: Department of Computer Science
            Middlesex College
            The University of Western Ontario
            London, Ontario, N6A 5B7  CANADA
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads