Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sun-barr!newstop!exodus!warp.Eng.Sun.COM!rock From: rock@warp.Eng.Sun.COM (Bill Petro) Newsgroups: comp.mail.mush Subject: Re: mush & nn Keywords: mush, nn Message-ID: <13836@exodus.Eng.Sun.COM> Date: 22 May 91 21:01:33 GMT References: <1991May22.180227.23993@ioe.lon.ac.uk> Sender: news@exodus.Eng.Sun.COM Distribution: comp.mail.mush Lines: 30 teexnma@ioe.lon.ac.uk (Nino Margetic) writes: >Hi, >Some time ago, someone explained how to use mush for posting articles >within rn. Since I'm not an expert on either mush or nn (but use both), can >anyone out there shed some light on how to use mush when posting/replying >within nn. There must be a way to do it (there usually is :-)!!! In your nn init file (probably ~/.nn/init) put these lines: set mailer /home/speedway/rock/bin/mush_script set mailer-pipe-input (of course, replace the pathname with yours) In your ~/bin directory, place the mush_script: #!/bin/csh -f # set recipient=`grep "To:" $1` ##/home/speedway/rock/bin/mush -h $1 >& /dev/null /home/speedway/rock/bin/zmail -send -draft - >& /dev/null exit 0 -- Bill Petro {decwrl,hplabs,ucbvax}!sun!Eng!rock "UNIX for the sake of the kingdom of heaven" Matthew 19:12