🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #8954

TRN: auto compression, encryption?

#8954
From: Thomas N. Mackey
Date: Mon, 09 May 1994 19:23
24 lines
1701 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,
to support different compression utilities.

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

As another point of interest, how about automatic encryption in a manner
similar to the compression outlined above?  Seems reasonable, but I have
no particular interest in reinventing if someone has already done one or
both of these nifties and is willing to share their handiwork with other
usenetters...


--
    Character is like a fence: it can't be strengthened with whitewash.

	Thomas N. Mackey    (Tom)     tomm@halcyon.com
   
Technical Details
Message-ID: <2qm2jj$6kn@nwfocus.wa.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!usc!math.ohio-state.edu!cyber2.cyberstore.ca!nwnexus!halcyon!tomm

Show Full Headers
Complete Article Headers
Message-ID: <2qm2jj$6kn@nwfocus.wa.com>
Subject: TRN: auto compression, encryption?
Date: Mon, 09 May 1994 19:23:31 +0000
From: tomm@halcyon.halcyon.com (Thomas N. 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!usc!math.ohio-state.edu!cyber2.cyberstore.ca!nwnexus!halcyon!tomm
Newsgroups: news.software.readers
Organization: A World of Information at Your Fingertips
Lines: 24
NNTP-Posting-Host: halcyon.com