Thread View: news.software.readers
3 messages
3 total messages
Started by Tom Mackey
Tue, 03 May 1994 19:45
TRN: compression of saved articles?
Author: Tom Mackey
Date: Tue, 03 May 1994 19:45
Date: Tue, 03 May 1994 19:45
18 lines
1653 bytes
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.
Re: TRN: compression of saved articles?
Author: Tom Mackey
Date: Tue, 03 May 1994 23:39
Date: Tue, 03 May 1994 23:39
32 lines
2238 bytes
2238 bytes
In article <Cp8s77.4Lq@voodoo.ca.boeing.com>,
Tom Mackey <tomm@voodoo.boeing.com> wrote:
>
>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
Me again...
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...
Thanks again!
--
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.
Re: TRN: compression of saved articles?
Author: Larry W. Virden
Date: Fri, 13 May 1994 19:30
Date: Fri, 13 May 1994 19:30
9 lines
1402 bytes
1402 bytes
Actually, if you would use gzip, I think that you don't have to do the uncompression first! I believe I recall the doc saying you could just append the output of gzip onto a gzipped file. I just tried it in fact and it did work. -- :s Great net resources sought... :s Larry W. Virden INET: lvirden@cas.org :s Personal: 674 Falls Place, Reynoldsburg, OH 43068-1614 The task of an educator should be to irrigate the desert not clear the forest.
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads