[comp.unix.ultrix] mh-mail

kumaran@iastate.edu (Kalyanasundaram Kumaran) (03/07/91)

Hi!

Could somebody tell me how I could include a .signature file in
mh-mail. Thanks.

kumaran

--
-----------------------------------------------------------------------------
kumaran                     |  Dept. Aerospace Engr.  |  Ph. #s              |
kumaran@iastate.edu         |  Iowa State Univ.       |  O: (515) 294 9989   | 
n1.kxk@isumvs.iastate.edu   |  Ames, IA 50011         |  R: (515) 292 4890   | 

jch@hollie.rdg.dec.com (John Haxby) (03/07/91)

This question should really be addresses to "comp.mail.mh", I'm sure
you'll get lots of answers there.  The other good place to get answers,
I suspect is Jerry Peek's MH and XMH nutshell guide (I haven't
got a copy, yet, so I don't know for sure).

However, one easy answer is to replace your editor with something
that appends the .signature to the message, eg

~/.mh_profile -
Editor: $HOME/bin/siged

$HOME/bin/siged
------------
#!/bin/sh

$EDITOR $1
cat $HOME/.signature >> $1
-------------

Alternatively, you can get a signature on the From: line
by defining a Signature: line in your ~/.mh_profile, and put
quotes round the signature please.
-- 
John Haxby, Definitively Wrong.
Digital				<jch@wessex.rdg.dec.com>
Reading, England		<...!ukc!wessex!jch>

jch@hollie.rdg.dec.com (John Haxby) (03/07/91)

Incidentally, it's called "MH" or "Rand MH".
-- 
John Haxby, Definitively Wrong.
Digital				<jch@wessex.rdg.dec.com>
Reading, England		<...!ukc!wessex!jch>