🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
2 messages
2 total messages Started by Lawrence Butler Wed, 08 Jun 1994 20:06
Is it possible to have rn read from a compressed .newsrc file?
#9451
Author: Lawrence Butler
Date: Wed, 08 Jun 1994 20:06
14 lines
1326 bytes
Having a large .newsrc file and having to erase an equally large
.oldnewsrc file is a real pain. Would it be possible to tweak
rn so it can read a gzipped .newsrc with lets say... zcat or some
other method?

Thanks!

lawrence

-- 
lmbutler@crl.com | "I do not know what expert judges would think about the 
intrinsic excellence or perfection of the object in question, but I do know 
that it pleases me to behold or contemplate.It may or may not be admirable in 
the judgment of experts, but I enjoy it nevertheless"-M.J.Adler
Re: Is it possible to have rn read from a compressed .newsrc file?
#9466
Author: Sridhar Venkataraman
Date: Thu, 09 Jun 1994 18:28
27 lines
1674 bytes
lmbutler@crl.com (Lawrence Butler) writes:

| Having a large .newsrc file and having to erase an equally large
| .oldnewsrc file is a real pain. Would it be possible to tweak
| rn so it can read a gzipped .newsrc with lets say... zcat or some
| other method?

Unless you are Kibo/Larry Wall, I don't really think you would want
to hang around subscribing to zillion groups.  So in the absence of
any statements from you towards that end, I am assuming that you have both
subscribed and unsubscribed newsgroups in your newsrc. In that case,
something like this from csh:

% sed 's/\!/d' ~/.newsrc > ~/.newsrc.unsub
% mv ~/.newsrc.unsub ~/.newsrc

will clean up the newsrc.

If you are subscribing to too many groups and want it compressed,
you would need to write up a shell script like:

#!/bin/sh
gunzip $HOME/.newsrc.gz
trn (or rn)
gzip $HOME/.newsrc

Sridhar.
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