Article View: news.software.readers
Article #1425Re: How to save specific header line with 'rn' ?
From: Jonathan I. Kamens
Date: Tue, 07 Apr 1992 14:45
Date: Tue, 07 Apr 1992 14:45
44 lines
3106 bytes
3106 bytes
In article <1992Apr6.213356.7296@ccu.umanitoba.ca> jlim@silver.cs.umanitoba.ca (Tung Tseung Johnny Lim) writes:
(Sorry if this is not the right group to post this message)
None of the groups you chose were the "right" one.
News.software.readers is for discussing news readers. I have
cross-postd and directed followups there.
I am new to the 'rn' program and find it very interesting. I have checked
the manual for 'rn' (man rn) and could not solve my problem.
I would like to be able to save some news without including all the
header lines (i.e. just to include: Date, From and Subject).
Rn uses the %X/norm.saver and %X/mbox.saver shell scripts to save
articles, where %X is the compiled-in location of rn's private library
directory (possibly /usr/lib/rn or /usr/local/lib/rn or something like
that; you'll have to ask someone locally, or type "!echo %X" in rn, to
find out where it is at your site). You can tell rn to use different
shell scripts, and either (a) have those shell scripts strip off the
headers you don't want before feeding the article to the actual
mbox.saver or norm.saver scripts, or (b) actually make those shell
scripts modified copies of the mbox.saver and norm.saver scripts, so
that they save directly.
See the rn man page to find out how to use different mbox.saver and
norm.saver scripts.
I know that I can just type in: s in 'rn' to save an article or a range of
articles, but I don't know how I can "customize" 'rn' to omit other header
lines when saving.
Rn saves articles with the same header lines it displays on-screen.
You could actually use the '&' command to hide the headers you don't
want and then save the article, but that's quite cumbersome,
especially since you'll have to undo your settings if you keep on
reding news.
--
Jonathan Kamens jik@MIT.Edu
MIT Information Systems/Athena Moderator, news.answers
(Send correspondence related to the news.answers newsgroup
{and ONLY correspondence related to the newsgroup}
to news-answers-request@MIT.Edu.)
Technical Details
Message-ID:
<JIK.92Apr7104517@pit-manager.mit.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.misc.mbox.zip!sparky!uunet!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jikReferences:
<1992Apr6.213356.7296@ccu.umanitoba.ca>Show Full Headers
Complete Article Headers
Message-ID: <JIK.92Apr7104517@pit-manager.mit.edu> Subject: Re: How to save specific header line with 'rn' ? Date: Tue, 07 Apr 1992 14:45:29 +0000 From: jik@athena.mit.edu (Jonathan I. Kamens) References: <1992Apr6.213356.7296@ccu.umanitoba.ca> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!i2pn2.pugleaf.net!archive.newsdeef.eu!mbox2nntp-comp.unix.misc.mbox.zip!sparky!uunet!spool.mu.edu!snorkelwacker.mit.edu!bloom-picayune.mit.edu!athena.mit.edu!jik Newsgroups: comp.unix.shell,comp.unix.questions,comp.unix.misc,news.software.readers Article-I.D.: pit-mana.JIK.92Apr7104517 Sender: news@athena.mit.edu (News system) Followup-To: news.software.readers Organization: Massachusetts Institute of Technology Lines: 43 In-Reply-To: jlim@silver.cs.umanitoba.ca's message of 6 Apr 92 21:33:56 GMT Nntp-Posting-Host: pit-manager.mit.edu