Path: utzoo!attcan!uunet!lll-winken!lll-ncis!helios.ee.lbl.gov!ace.ee.lbl.gov!leres From: leres@ace.ee.lbl.gov (Craig Leres) Newsgroups: comp.mail.mh Subject: Re: help, please Message-ID: <1613@helios.ee.lbl.gov> Date: 5 Jan 89 21:15:33 GMT References: <5816@gssc.UUCP> Sender: usenet@helios.ee.lbl.gov Reply-To: leres@helios.ee.lbl.gov (Craig Leres) Organization: Lawrence Berkeley Laboratory, Berkeley Lines: 32 John D. Miller writes: > 2. i also us rn and would like to be able to save articles in a format > that can be used by mh. i already use the option that saves articles Rather than using inc (which does locking that you don't want/need) I wrote the following script: #!/bin/csh -f # # rntomh # # Arguments: # %C newsgroup name, dot form # %a article number # # Stdin: # the article to save set folder=+news ( echo "Article: $2 of $1" ; cat ) | /usr/new/lib/mh/rcvstore $folder echo Saved article $2 of $1 to $folder. After adding the following line to your .rnmac: s s|rntomh %C %a^J (uparrow-J seems to work here) Typing 's' cause the current article to be stored as the last message in the folder news. Note that I also use -N (non-mailbox format) with rn. Not sure if this is important. Craig