🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #82268

Re: Determining which Cycbuff has an article

#82268
From: Hauke Lampe
Date: Tue, 01 Dec 2009 01:15
49 lines
2209 bytes
John F. Morse schrieb:

> But maybe you named your buffers with words as well as numerals in
> cycbuff.conf?

Yes, I keep groups of cycbuffs for different hierarchies.

> One of my tokens is shown as:
>
> @030230303200000000000001E1AD0000000C@
>      ^^^^^^
>       0 0 2
>
> The above shows buffer #002 which is correct and sufficient for my needs.

As Russ said, contrib/showtoken decodes all information in a storage token:

$ echo "@030230303200000000000001E1AD0000000C@" |./showtoken 
@030230303200000000000001E1AD0000000C@ type=cnfs class=2 buffer=002 offset=3c35a00 cycnum=c

# Format of a token:
#  1   type
#  1   class
# 16   token
#  1   index
#  4   offset
#  2   overlen
#  2   cancelled
# The fields "index" and following are not available with OV3 (INN 2.3 up)
#
# the "token" field is:
# for type=0 (trash) ignored
# for type=2 (timehash)
#  4   time
#  2   seqnum
# for type=3 (cnfs)
#  8   cycbuffname
#  4   offset/512
#  4   cycnum
# for type=4 (timecaf)
#  4   time
#  2   seqnum
# for type=5 (tradspool)
#  4   ngnum
#  4   artnum


Hauke.
Technical Details
Message-ID: <hf1qnc$nip$1@einschein.formularfetischisten.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.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news2.arglkargh.de!einschein.formularfetischisten.de!not-for-mail
References: <hf03er$3pu$1@optima5.xanadu-bbs.net> <hf0h5q$dcp$1@einschein.formularfetischisten.de> <hf1pg7$k0n$1@optima5.xanadu-bbs.net>

Show Full Headers
Complete Article Headers
Message-ID: <hf1qnc$nip$1@einschein.formularfetischisten.de>
Subject: Re: Determining which Cycbuff has an article
Date: Tue, 01 Dec 2009 01:15:24 +0000
From: Hauke Lampe <packbart+trabb@blagga.openchaos.org>
References: <hf03er$3pu$1@optima5.xanadu-bbs.net> <hf0h5q$dcp$1@einschein.formularfetischisten.de> <hf1pg7$k0n$1@optima5.xanadu-bbs.net>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!num2.nntp.dca.giganews.com!num1.nntp.dca.giganews.com!number.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsfeed.straub-nv.de!news2.arglkargh.de!einschein.formularfetischisten.de!not-for-mail
Newsgroups: news.software.nntp
Lines: 49
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
NNTP-Posting-Date: Tue, 1 Dec 2009 01:15:24 +0000 (UTC)
User-Agent: slrn/pre1.0.0-2 (Linux)