🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #54942

Re: RFC 977 - Question 2...

#54942
From: Kai Henningsen
Date: Fri, 02 Nov 2001 20:52
30 lines
2252 bytes
curt@kcwc.com (Curt Welch)  wrote on 30.10.01 in <20011030105445.827$t7@newsreader.com>:

> "Pyro [Paranoid]" <pyro@wild-fire.dtdns.netNOSPAMCHEERSMUCKER> wrote:
> > Hello again,
> >
> > Another question regarding the protocol...
> >
> > RFC977 talks of a "STAT" command, im probably missing something but i
> > dont understand its purpose, would anyone be so good as to enlighten me?
>
> It's not used much.  I can't say I've ever found a need for it in any
> code I've written though I do tend to use it by hand from time to time.

Well I have. I have used it the same way I'd use seek() when working with  
files. It's the fastest way to make the "current article" pointer point to  
some article.

Of course, it's usuall possible to redesign the algorithm to only do the  
pointing together with something else, and that's usually more efficient -  
but for a quick hack, this is sometimes useful.

Also, you can use it to find out the msgid and number of the article under  
the pointer. Similar analysis as above.

Kai
-- 
http://www.westfalen.de/private/khms/
"... by God I *KNOW* what this network is for, and you can't have it."
  - Russ Allbery (rra@stanford.edu)
Technical Details
Message-ID: <8C4vQDr1w-B@khms.westfalen.de>
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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!news2.euro.net!newsfeed.freenet.de!news.dtag.de!westfalen.de!news.khms.westfalen.de!khms.westfalen.de!kaih
References: <9rmers$hj4$1@newsg4.svr.pol.co.uk> <20011030105445.827$t7@newsreader.com>

Show Full Headers
Complete Article Headers
Message-ID: <8C4vQDr1w-B@khms.westfalen.de>
Subject: Re: RFC 977 - Question 2...
Date: Fri, 02 Nov 2001 20:52:00 +0000
From: kaih=8C4vQDr1w-B@khms.westfalen.de (Kai Henningsen)
References: <9rmers$hj4$1@newsg4.svr.pol.co.uk> <20011030105445.827$t7@newsreader.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!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!cleanfeed.casema.net!leda.casema.net!news2.euro.net!newsfeed.freenet.de!news.dtag.de!westfalen.de!news.khms.westfalen.de!khms.westfalen.de!kaih
Newsgroups: news.software.nntp
X-Newsreader: CrossPoint v3.12d.kh7 R/C435
Organization: Organisation? Me?! Are you kidding?
Lines: 29
X-No-Junk-Mail: I do not want to get *any* junk mail.
Comment: Unsolicited commercial mail will incur an US$100 handling fee per received mail.
X-Fix-Your-Modem: +++ATS2=255&WO1