🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #16746

Re: HELP! Please clear up all of the Free Agent .idx/.dat file confusion!

#16746
From: Benjamin Edelman
Date: Mon, 26 Jun 1995 00:00
70 lines
3732 bytes
jesse@indirect.com (Jesse ) wrote:

>Using: FA v0.55
>Can someone please clear this up for me:

>As I understand,
>.idx files are headers
>.dat files are the articles

You are correct.

>1)  Is there one .idx and .dat file for each newsgroup?

Yes.

>2)  On my computer, I have some .dat files around a meg! Is this
>normal?

Well, that all depends.  If you have lots of article bodies lying around, then a
dat file could potentially be even bigger (especially if the group is binaries).
But another problem is that FA sometimes gets very wasteful in the way it stores
article bodies, always appending new articles to the end of the file, even when
you've deleted the articles at the beginning of the file.  The next version will
fix this problem, but until then... (keep reading the rest of my response <g>) 

>3)  I recently deleted all the files from all my subscribed newsgroups
>except the locked ones (obviously). However, I still have 1 meg .dat
>files. Shouldn't they be much smaller? The most locked articles I have
>in any group is approx. 10.

As I said above, FA tends to append articles to the ends of the DAT files, which
means that the database can grow to unnecessary large size.  The way to fix this
is to delete *all* articles in a group.  That means unlock your locked articles
and delete them.  Maybe export them to TXT files first.  But, when you delete
all articles, FA should set the DAT file back to 0 bytes (or will it just delete
the file until you get new article bodies?  I forget) and you'll be set.

>4)  After looking at some of the content of the 1 meg .dat files, I
>can almost swear that there are articles in it that I have never read
>or downloaded the bodies for. I use FA online. Is this possible?

If you never retreived the body, I don't know how it got into your database!  I
have FA set to retreive all bodies in groups like alt.winsock, so I can read
offline.  But you say you use FA online and never downloaded those bodies... so
I don't have an explanation for this one.  :(

>5)  In the past, I have unsubscribed from groups without deleting the
>articles. If I find a .dat file which has articles resembling one of
>the groups I unsubscribed to, is it safe to just manually delete this
>and its corresponding .idx file?

Yes, just delete the DAT and IDX files.  I have had to do this several times;
just live with it.  :)

>What am I trying to accomplish? HD space and the removal of junk from
>my FA directory which shouldn't be there anymore.

A perfectly reasonably goal, imho.  <bg>

>Any help would be greatly appreciated, email or post, (especially from
>the people who made the program :>)

Which, by the way, is *not* me.  (Some people have asked me, "Did you write Free
Agent?"  "Uh.  No.  Not exactly.  I wish.  In my dreams I could write a program
like this."  Seriously, I have no affiliation with Forte other than using their
products.  <g>  Hope this info helps.
-----------------------------------
Ben Edelman         
BEdelman@ix.netcom.com
-----------------------------------
Technical Details
Message-ID: <3sm5vt$8vn@ixnews2.ix.netcom.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.winsock.mbox.zip!not-for-mail
References: <3si3fc$hps@globe.indirect.com>

Show Full Headers
Complete Article Headers
Message-ID: <3sm5vt$8vn@ixnews2.ix.netcom.com>
Subject: Re: HELP! Please clear up all of the Free Agent .idx/.dat file confusion!
Date: Mon, 26 Jun 1995 00:00:00 +0000
From: bedelman@ix.netcom.com (Benjamin Edelman)
References: <3si3fc$hps@globe.indirect.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-alt.winsock.mbox.zip!not-for-mail
X-Deja-AN: 105118590
Distribution: world
Organization: Netcom
Newsgroups: news.software.readers,alt.winsock