🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #11449

trn: any way to allow multiple trns to run at once?

#11449
From: Alexandra Griffin
Date: Sat, 17 Sep 1994 22:40
21 lines
1773 bytes
On many occasions it would be useful to allow several instances of a
newsreader (preferably trn, my current favorite) to run at one time.
For instance, I might be in the middle of reading a long post and want
to do a quick check of another newsgroup, etc...

Can someone suggest a mechanism for allowing this?  trn, like most
newsreaders I've seen, check for simultaneous instances of themselves
on startup and refuse to run if one exists.  How is this done in trn?
With xrn I can just remove ~/.xrnlock, but trn seems to actually check
through the process table or something...

I realize that the reason this restriction exists in the first place
is to prevent .newsrc from being corrupted by simultaneous writes, and
to ensure that read-article counts remain accurate.  If I defeated the
protection mechanism, I would have to manually ensure consistency
somehow.  So, when does trn read and write to .newsrc?  What would be
easiest source code patch I could make to implement a "re-read .newsrc
and integrate changes made in this session" feature?

Just wondering...
-- alex
Technical Details
Message-ID: <35fr8t$crf@huron.eel.ufl.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!usenet.eel.ufl.edu!kzin.cen.ufl.edu!acg

Show Full Headers
Complete Article Headers
Message-ID: <35fr8t$crf@huron.eel.ufl.edu>
Subject: trn: any way to allow multiple trns to run at once?
Date: Sat, 17 Sep 1994 22:40:29 +0000
From: acg@kzin.cen.ufl.edu (Alexandra Griffin)
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!redstone.interpath.net!ddsw1!news.kei.com!MathWorks.Com!usenet.eel.ufl.edu!kzin.cen.ufl.edu!acg
Newsgroups: news.software.readers
Organization: University of Florda ida
Lines: 22
NNTP-Posting-Host: kzin.cen.ufl.edu