🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.mail.mh
Article #1829

Re: rn macros for mh

#1829
From: John Carroll Muppet Labs
Date: Sat, 18 Mar 1989 06:33
48 lines
2678 bytes
In article <591@stag.math.lsa.umich.edu> emv@math.lsa.umich.edu
(Edward Vielmetti) writes:
>	I'm looking for a spiffy interface between mh and rn, so I can save
>	netnews articles in mh folders.  Send me mail and I'll reply and 
>	summarize here.

Actually, mh and rn are sufficiently robust so that all you have to do is
use the proper defaults.  The following definitely works with csh, and 
probably works without much change in other shells.  We seem to be
running version 6.5 of mh, and a copy of rn compiled 85/09/10.  Here's
what you need in your .login:

setenv SAVEDIR	"../Mail/.%C"
setenv SAVENAME	"%a"
setenv RNINIT	"-M"

The SAVEDIR default ensures that when you save (s) an article, instead
of going into ~/News, it instead winds up in your mh Mail directory.
For example, articles from this newsgroup are put in .comp.mail.mh;  I
then use soft links to set up more reasonable names.  In this case,
show last +mh
would give the most recently saved mh article due to the link:
lrwxrwxrwx  jlc  /math1/faculty/jlc/Mail/mh -> .comp.mail.mh/

(I prefer to use "ls ~/Mail" rather than "folders" to review my folders,
and long folder names destroy the compactness of the display);
setenv SAVEDIR	"../Mail/%C"
will avoid prepending the initial "." if you prefer the long names and do
not want to use soft links.  The RNINIT default ensures that articles
are saved in a format with which mh is happy.  I don't think my other
defaults affect anything, but for completeness, let me mention that my
full RNINIT line in my .login is:
setenv RNINIT	"-S5 -e -g4 -4800-i=10 -L -m=u -M -4800-h +horg +hsum"

The SAVENAME default ensures that messages will be saved with an mh
message number matching the rn article number, which can be a problem
in some groups because mh does not seem to like numbers over 9999.
However, "sortm" will renumber even these large numbers beautifully, so
it is not much of a problem.

Once saved in this manner, articles behave like regular e-mail messages;
for example, I used rn to save your posting, and then used "reply" in
mh to send you a copy of this message.

I hope this is what you were looking for...

Cheers,
John Carroll
Technical Details
Message-ID: <3569@sdsu.UUCP>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!xanth!mcnc!ece-csc!ncrcae!ncr-sd!crash!sdsu!jlc
References: <591@stag.math.lsa.umich.edu>

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!ames!xanth!mcnc!ece-csc!ncrcae!ncr-sd!crash!sdsu!jlc
From: jlc@sdsu.UUCP (John Carroll @ Muppet Labs)
Newsgroups: comp.mail.mh,news.software.b
Subject: Re: rn macros for mh
Message-ID: <3569@sdsu.UUCP>
Date: 18 Mar 89 06:33:26 GMT
References: <591@stag.math.lsa.umich.edu>
Reply-To: jlc%sdsu.uucp@UCSD.EDU (John Carroll @ Muppet Labs)
Organization: San Diego State University, Math/Sciences Dept.
Lines: 48