🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #214537

Re: [TIN] Reading groups from active file

#214537
From: Whiskers
Date: Thu, 03 Jan 2008 21:19
71 lines
4342 bytes
On 2008-01-03, Frank Slootweg <this@ddress.is.invalid> wrote:
> Whiskers <catwheezel@operamail.com> wrote:
>> On 2008-01-03, Marshall Price <d021317c@yahoo.com> wrote:
>> > Urs Jan?en wrote:
> [...]
>
>> >> it's newsserver speak, not tin speak. an active file holds the
>> >> newsservers list of all newsgroups including the related aticle
>> >> numbers. 
>> 
>> What slrn and other newsreaders refer to as a 'newsrc' file?
>
>   No. tin also has a [.]newsrc file.
>   
>   As Urs said, the active file normally resides on the *server*. It
> contains the data which a newsreader gets with - guess what? :-) - the
> "list active" NNTP command (other NNTP commands access it as well). For
> example Hamster, which is also a News server, gives this when I give it
> the "list active" command:
>
>> 215 list of newsgroups follows
> ...
>> news.software.readers 86239 1 y
> ...
>> .
>
>   I.e. it is a list of newsgroups which the *server* has - *not* the
> list of groups to which *you are subscribed* (as is the case with
> .newsrc) - with their high mark (highest article number) and low mark
> (lowest article number). (I have never expired a group, so my low mark
> is 1.) The last field - 'y' - is not really relevant for this discussion
> and is always 'y' for normal groups.

Slrn's newsrc files contain a list of all groups available on the server 
to which that newsrc applies - with article number information as well, 
for subscribed groups.

>   Because tin can also use a local spool (instead of a News server via
> NNTP), *if* you use local spool, it has to have some of the files which
> normally reside on the server. active is one of those files.
>
>   So in my setup, tin - Hamster - real NSP:
>   
> - tin has no active file because it uses NNTP, not a local spool.
>
> - Hamster has an active-*like* file (I haven't checked what it's
>   called), because (amongst others) it has to be able to process the
>   "list active" command.
>
> - Hamster has a 'local spool' which contain the *locally* stored
>   articles.
>
> - My real NSPs News server has a active-like file, for the same reason
>   as Hamster has one.
>
> - My real NSPs News server has a 'local spool' which contain the
>   articles for all the groups the News server carries.
>
>   Of course this explanation is rather simplified, but basically
> correct.
>
>   HTH.

My local Noffle has no file called 'active'; /var/spool/noffle/ contains 
only two .gdbm files.  But telnetting into Noffle and asking it to 'list 
active' certainly works.

-- 
-- ^^^^^^^^^^
--  Whiskers 
-- ~~~~~~~~~~
Technical Details
Message-ID: <20080103211923.1BA8.1.NOFFLE@ID-107770.user.individual.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!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <2HV9i.1815$tb6.1331@newsread3.news.pas.earthlink.net> <f49hb3$quf$1@news2.rz.uni-karlsruhe.de> <13ma29ogcdpck9a@corp.supernews.com> <pan.2007.12.17.00.15.58.399410@thurston.blinkynet.net> <13nkbq2r0f43md6@corp.supernews.com> <20080101141858.1B7F.0.NOFFLE@ID-107770.user.individual.net> <fli1h9$l9p$1@news2.rz.uni-karlsruhe.de> <13npni4mnf1n344@corp.supernews.com> <20080103153452.408D.4.NOFFLE@ID-107770.user.individual.net> <477d3aab$0$52784$dbd41001@news.wanadoo.nl>

Show Full Headers
Complete Article Headers
Message-ID: <20080103211923.1BA8.1.NOFFLE@ID-107770.user.individual.net>
Subject: Re: [TIN] Reading groups from active file
Date: Thu, 3 Jan 2008 21:19:23 +0000
From: Whiskers <catwheezel@operamail.com>
References: <2HV9i.1815$tb6.1331@newsread3.news.pas.earthlink.net> <f49hb3$quf$1@news2.rz.uni-karlsruhe.de> <13ma29ogcdpck9a@corp.supernews.com> <pan.2007.12.17.00.15.58.399410@thurston.blinkynet.net> <13nkbq2r0f43md6@corp.supernews.com> <20080101141858.1B7F.0.NOFFLE@ID-107770.user.individual.net> <fli1h9$l9p$1@news2.rz.uni-karlsruhe.de> <13npni4mnf1n344@corp.supernews.com> <20080103153452.408D.4.NOFFLE@ID-107770.user.individual.net> <477d3aab$0$52784$dbd41001@news.wanadoo.nl>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!newspeer1.nwr.nac.net!newsfeed.freenet.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: is an alien concept
Lines: 71
X-Trace: individual.net 3N6ZdATuGUIFnLpMe5TZgwXg5Qi1DU0Koni335SsgrDtpPMjaq
X-Orig-Path: ID-107770.user.individual.net!not-for-mail
Cancel-Lock: sha1:p2uhiFSjKEffIl/eIs3VV59WuNw=
X-Face: (8UIp\C%,7b>N'Aa}l7v*-4z\fb2ab=[r*LKrwTU]>W\E]YS3Cb3mZo1Ty.t2%6_KsTV_"Pmt)1xC~QW%bU/xrlDuux";
 aJOH0|Ka^MEDf"9Ck?FcYcR)aI~e[\"NW,mpyK}Q6dU[\BmvwRD00xYer];
 5mR_!\-haGb/=!*bDWCm0~!G7ewqq7*|#g2#uEBhnKk60qLJ":i_#zfZ'cH`2a^!q_lzxh@p&
 g^8<z5>HA
User-Agent: slrn/0.9.8.1 (Linux)
X-Original-Bytes: 4023