Path: utzoo!mnetor!uunet!husc6!think!ames!pasteur!ucbvax!ICS.UCI.EDU!jsweet From: jsweet@ICS.UCI.EDU (Jerry Sweet) Newsgroups: comp.mail.mh Subject: Re: non-interactive MH Message-ID: <14347.572536717@ics.uci.edu> Date: 22 Feb 88 13:58:37 GMT Sender: daemon@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 25 > ... I have a couple of empty draft files. > Did I miss something? What should I try next? Hmmm. Well, let me consult the Ancient Book of MH Lore...ah, yes. You're right. There is no extremely simple answer to do precisely what you want, but it can be done with a little experimenting. [Now I remember the debates with the Elder MH Gods over whether dist should have a non-interactive behavior---take its destination addresses from the command line. I lost. You lost.] For now, I suggest that you write your own simple whatnowproc (a shell script might even do it) to take the message being distributed and a list of addresses from standard input to generate a draft of the appropriate form, then send it off. Refer to MH-Profile(5) and the discussion of environment variables $editalt and $mhdraft, which are set by dist. This is off the top of my head; an MH Guru may suggest something simpler. Hope this helps. -jns