🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #30057

Saving state info as you go in tin?

#30057
From: bclark
Date: Fri, 24 Jan 1997 00:00
34 lines
1659 bytes
I often leave myself in tin for long periods of inactive time while
logged on to my ISP.  Invariably, the ISP logs me out, killing the tin
process.  The problem with this is that my state information is
discarded so that when I come back into tin, all of the articles I
had read are marked unread.

One solution I had was to write a process wrapper in C for tin that
will monitor my activity, warn me that it is going to shut down tin
gracefully and then do so if I don't take action.  

Now for the questions:

1. Is there better way then what I described above?

2. Has anyone already done what I described above.

3. If no to 1 and 2, how does one shut tin down gracefully from a
a parent process.  Is it just a matter of making sure a certain temp
file is saved for future use as an active file, or is it more complex
then this?

Thanks in advance



-- 
Brian Clark -- Software Design/Development Consultant
bclark@crosslink.net	ph 703-440-0630
C++, C, OO design (Booch), Java, Perl, BSDSock, Winsock, UNIX, WINDOWS,
DOS, and much more.
"I wish I didn't know now what I didn't know then" - Bob Seger

Technical Details
Message-ID: <5cas3n$p9u$1@kronos.crosslink.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.mbox.zip!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <5cas3n$p9u$1@kronos.crosslink.net>
Subject: Saving state info as you go in tin?
Date: Fri, 24 Jan 1997 00:00:00 +0000
From: bclark@crosslink.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.mbox.zip!not-for-mail
X-Deja-AN: 212091128
Organization: crosslink.net
Nntp-posting-user: bclark
Newsgroups: news.software.readers