Thread View: news.software.readers
2 messages
2 total messages
Started by Kevin Darcy
Tue, 19 May 1992 23:04
Possible Feature Request for [t]rn...
Author: Kevin Darcy
Date: Tue, 19 May 1992 23:04
Date: Tue, 19 May 1992 23:04
19 lines
1497 bytes
1497 bytes
Put simply: read-only operation. What's the point? Well, currently when one has one [t]rn running, one cannot successfully invoke another copy of [t]rn. Presumably this is a safeguard against concurrent multiple access of the data files in the user's home directory, e.g. their .newsrc. But, if there was a read-only mode, multiple invocations would be possible. I would consider this feature greatly advantageous, since I often find myself wanting to refer to various articles AS I'm composing a response. Right now, I end up cd'ing to the spool directories and using cat/more/pg/ head/whatever to look up what I need. Not exactly an optimal way to look up articles... :-( If there is a way to get this read-only functionality without program changes, or switching to a different newsreader altogether, please let me know. I've already hunted in vain through TFM... - Kevin
Re: Possible Feature Request for [t]rn...
Author: Icarus Sparry
Date: Wed, 20 May 1992 09:25
Date: Wed, 20 May 1992 09:25
32 lines
1802 bytes
1802 bytes
In article <1992May19.230452.25383@cfctech.cfc.com> kevin@cfctech.cfc.com (Kevin Darcy) writes:
>Put simply: read-only operation.
>
>Well, currently when one has one [t]rn running, one
>cannot successfully invoke another copy of [t]rn.
>
>If there is a way to get this read-only functionality without program changes,
>or switching to a different newsreader altogether, please let me know. I've
>already hunted in vain through TFM...
How about a shell script, to do somthing like
#!/bin/sh
# Set up a unique place to work
TD=/tmp/$USER.$$
mkdir $TD
# Set SRC to be where rn currently holds its files
SRC=${DOTDIR:-$HOME}
# Make copies of them in our temporary space
cp $SRC/.rnmac $SRC/.newsrc $SRC/.rnsoft $SRC/.rnlast $TD
# Make sure that our new copy of rn picks these up instead
export DOTDIR
DOTDIR=$TD
# Just to show off, we will alter the header
FIRSTLINE='Article %a %(%U%M!=^00$?(%U more%(%M!=^0$? + %M Marked to return)\) )in %C: READONLY'
export FIRSTLINE
# Fire up a new copy of rn
/usr/local/bin/rn
# Clean up after ourselves
rm -r $TD
This does not handle signals, but you should be able to get the general idea.
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