🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8883

TRN: compression of saved articles?

#8883
From: Tom Mackey
Date: Tue, 03 May 1994 19:45
18 lines
1653 bytes
Forgive me if this has been covered before -- nothing in the ~200 articles
still on my system.

I would like trn to look at the filename I am saving an article into, see
if such filename.Z exists, and if so, uncompress the original file, append
the article, and then run compress on the file.  If no filename.Z exists,
save the article into the given filename and then compress it.  This could
be based on environmental variables COMPRESS_EXT and COMPRESS_PGM, I suppose.

Has anyone already done this, either as a patch, or as a funky "save script?"

Thanks in advance!
-- 
    Tom Mackey          (206) 865-6575        tomm@voodoo.ca.boeing.com
    Boeing Computer Services               ....uunet!bcstec!voodoo!tomm
    M/S 7K-20,       P.O. Box 24346,       Seattle, WA       98124-0346
    Character is like a fence: it can't be strengthened with whitewash.
Technical Details
Message-ID: <Cp8s77.4Lq@voodoo.ca.boeing.com>
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!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!gatech!swrinde!cs.utexas.edu!news.tamu.edu!news.utdallas.edu!corpgate!bnrgate!bnr.co.uk!uknet!EU.net!uunet!bcstec!voodoo.ca.boeing.com!tomm

Show Full Headers
Complete Article Headers
Message-ID: <Cp8s77.4Lq@voodoo.ca.boeing.com>
Subject: TRN: compression of saved articles?
Date: Tue, 3 May 1994 19:45:07 GMT
From: tomm@voodoo.boeing.com (Tom Mackey)
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!hookup!nntp.cs.ubc.ca!newsxfer.itd.umich.edu!gatech!swrinde!cs.utexas.edu!news.tamu.edu!news.utdallas.edu!corpgate!bnrgate!bnr.co.uk!uknet!EU.net!uunet!bcstec!voodoo.ca.boeing.com!tomm
Newsgroups: news.software.readers
Sender: usenet@voodoo.ca.boeing.com (USENET News System)
Organization: BoGART To You Buddy, Bellevue, WA
Lines: 18