Xref: utzoo news.software.b:1394 comp.sources.d:2273 Path: utzoo!attcan!uunet!lll-winken!lll-lcc!ames!pasteur!ucbvax!agate!ig!uwmcsd1!leah!itsgw!sun.soe.clarkson.edu!batcomputer!cornell!rochester!ken From: ken@cs.rochester.edu (Ken Yap) Newsgroups: news.software.b,comp.sources.d Subject: Re: Quick hack to use the normal mail program for replies in rn Message-ID: <10510@sol.ARPA> Date: 11 Jun 88 09:26:20 GMT References: <19305@watmath.waterloo.edu> <1284@grian.UUCP> Reply-To: ken@cs.rochester.edu (Ken Yap) Organization: U of Rochester, CS Dept, Rochester, NY Lines: 37 |I've been using something similar to use mh's comp to reply to mail: | | -EMAILPOSTER='/usr/local/bin/comp -form %h' | -EMAILHEADER='To: %T\\n\ | Cc: liz\\n\ | Subject: Re: %S\\n\ | Newsgroups: %n\\n\ | In-Reply-To: %i\\n' Here is the bells and whistles one I've been using: -EMAILPOSTER="MHCONTEXT=/tmp/mhc.%L comp -form %h -editor ${VISUAL-${EDITOR-vi}}" -EMAILHEADER=\ 'To: %t\\n\ Fcc: +CC\\n\ Subject: %(%i=^$?:Re: %S\\n\ X-Newsgroups: %n\\n\ In-Reply-To: %i)\\n\ X-Original-Path: %T\\n\ X-Organization: %o\\n\ X-UUCP: ..!rochester!ken Internet: ken@cs.rochester.edu\\n\ X-Snail: CS Dept., U. of Roch., NY 14627. Voice: Ken!\\n\ --\\n\ ' In particular, %t works better than %T, because it uses Reply-To or From. For an Internet site, at least. Maybe %T is better for uucp sites. But I drag in %T also, in case I can't work out the return address. I used to use this for MAILPOSTER: -EMAILPOSTER="MHCONTEXT=/tmp/mhc.%L repl -form %h -editor ${VISUAL-${EDITOR-vi}} +%d %a" It had the advantage of allowing you to read in the original article with :r @. But they broke repl -from in MH 6.5, sigh... Ken