🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #46358

Re: Brand new to NNTP and in trouble already

#46358
From: Karl Kleinpaste
Date: Wed, 10 May 2000 00:00
59 lines
3771 bytes
Glenn Stubbs <rgsjr@ibm.net> writes:
> A "person of no small importance" has decreed that "state" information
> must be maintained on the server so he can use anyone's pc, anytime and
> never miss or re-read a posting.
> Is this possible on an INN server??

Not in INN's unmodified state.

The easiest solution is as someone else said, to give this PONSI (hm,
there's a quick trip into Acronym Hell) access to a more "classic"
newsreader on a host to which the PONSI can telnet when he wants to
see Usenet.  Your problem can be solved in a matter of minutes.

However...

Once upon a time, circa 1993, I wrote a couple of modifications for
nnrpd which provided server-side storage of .newsrc-style data.  This
was done for CompuServe, because (primarily for their ASCII
newsreader, which I also wrote) they had to provide this kind of
mobility, given the possibility of a potentially large farm of
equivalent slave servers used by people who might be coming into
CServe using nothing more than a dumb terminal.  They actually glued
an interesting and useful database into the very back end for the data
itself, but for my own testing purposes (the work was done on
contract, and I worked on my own systems for development), I just
stuffed user data into the filesystem tree based on user identity.

Regrettably, the actual code to do this was on a system which
collapsed in about 3 different ways more or less simultaneously about
4 years ago; I can't simply bring up the code and share it.  Perhaps
CServe folks could be queried as to spitting out a copy.  (Perhaps
they'll ignore you; but at least one could ask.)

Redoing this would be close to a no-brainer for someone with half a
day to kill (which I don't have, this week).  The prerequisite
property is that the user has to have logged in with AUTH so that an
identity is known under which to store data.  Then you need a new
verb, to control access to the data.  One should consider that, in a
case such as this, you're liable to want to store more than just the
basic .newsrc data; you probably also want to store a variety of
personalizations as well as killfile data.

      DATA GET|STORE NEWSRC|KILLFILE|PERSONAL

Syntax details are obvious; data is shoveled one way or the other,
with ending `.' line to terminate.  Send back appropriate success/
error code.

Once you've got that, of course, you have to convince a newsreader to
use the new verb, which is perhaps, quite frankly, the bigger problem.
That the server gains an ability to store and retrieve the data is
only half the problem.

<cynical>
Nah, you'd be better off just giving your PONSI access to trn on a
UNIX box, and telling him to use telnet or ttssh to get there.
</cynical>

Technical Details
Message-ID: <vxkr9bauhm4.fsf@mesquite.charcoal.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!not-for-mail
References: <3919A92C.1A3AC5AA@ibm.net>

Show Full Headers
Complete Article Headers
Message-ID: <vxkr9bauhm4.fsf@mesquite.charcoal.com>
Subject: Re: Brand new to NNTP and in trouble already
Date: Wed, 10 May 2000 00:00:00 +0000
From: Karl Kleinpaste <karl@charcoal.com>
References: <3919A92C.1A3AC5AA@ibm.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.mbox.zip!not-for-mail
X-Deja-AN: 621789262
Content-Type: text/plain; charset=us-ascii
X-Complaints-To: postmaster@cs.cmu.edu
X-Trace: cantaloupe.srv.cs.cmu.edu 958000211 6728 128.2.194.2 (10 May 2000 23:10:11 GMT)
X-Face: "5(T0tZd{6}pd~YzBG8O/*EW,.]6]@`m^e;fv65W^Y&=d"M\1H}>T~4_.kcDD.O~y3k)a6h R;Nmi>9|>Nm${2IpM0^RcUEa\jcq?KOP)C&~x51l~zCHTulL^_T|u0I^kB'z@]{`2YjQu
Organization: Charcoal Communicators
Mime-Version: 1.0
User-Agent: Gnus/5.0807 (Gnus v5.8.7) XEmacs/21.2 (Iris)
NNTP-Posting-Date: 10 May 2000 23:10:11 GMT
Newsgroups: news.software.nntp