TIP: Click on subject to list as thread! ANSI
echo: locsysop
to: Rod Speed
from: Frank Malcolm
date: 1995-12-20 00:40:16
subject: PKTs & QWKs

Hi, Rod.

RS> FM> What does PKT2QWK (and PKTJOIN) do if you run out of disk space?

RS> Its more likely happening as you unpack the PKTs, the unarchiver
RS> just not having enough space and binning some of the component PKTs,
RS> obviously normally the largest ones. Brentons BAT file wont say a word.

I'm not using Brenton's BAT file, I made my own. I ran it again later
with all the redirects to NUL turned off and checking what was created
at each step, and it was indeed PKT2QWK that didn't write all the
output.

RS> FM> I *think* at least PKT2QWK just cleans up nicely but reports no
RS> message.

RS> FM> After my enforced off-line for a week I got
RS> FM> a 720k packet, which ended up as a 220k QWK.

RS> Yeah, thats classic symptoms, the QWK far too small. But not zero because
RS> SOME of the PKTs within the archived files of PKTs did get extracted and
RS> used.

In this case they were all extracted, they just didn't make it through
PKT2QWK.

RS> FM> I was low on disk space, and reckon it
RS> FM> probably reached nil during the batch file.

RS> Yep, it wont say a word, just bin great swags of the mail silently.

RS> FM> Fortunately I was half awake, so deleted some crap and
RS> FM> ran the unpacking & conversion again - lo and behold, a
RS> FM> six hundred and something k QWK (QWKs are smaller than PKTs).

RS> Mine arent, but I still use a rather older PKT2QWK
RS> which retains the kludge lines except for the SEEN-BYs.

Ah, yes, that'd be why they're smaller.

RS> FM> But there were no error messages out of either prog.

RS> And Brentons BAT file completely ignores the
RS> error result codes from the unarchiver anyway.

So do I, but I'm going to change that now. It'd be nice if Paul put some
return codes out of PKT2QWK and PKTJOIN, I believe it's quite easy even
in C - Paul?

RS> FM> I think it would have been PKT2QWK which hit the no disk space limit.

RS> I still think the unarchiver is more likely, mainly because you did get
RS> some mail in the resulting QWK. With the biggest PKTs just being discarded
RS> as they use up all free space as it gets them out of the archived PKTs.

It was PKT2QWK, but I need to put in checking for the PKUNZIP return
codes too.

Regards, FIM.

 * * Television is liberalism at its ugliest
@EOT:

---
* Origin: Pedants Inc. (3:711/934.24)
SEEN-BY: 711/934

SOURCE: echomail via fidonet.ozzmosis.com

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.