[comp.unix.questions] question on "mail"

nevai@function.mps.ohio-state.edu (Paul Nevai) (12/04/89)

I would like tbe be emacs the standard statup editor in mail, i.e. I would
like to type "mail friend" and hop into emacs immediately where I can write
my stuff and then exit and mail it. How to do it?
I know I can say " mail frriend" and then "~v" but is there a simpler
way to do it (in .mailrc?)?

Please email answer!!!!!

THANKS!

Paul Nevai                            nevai@mps.ohio-state.edu (Internet)
Department of Mathematics             nevai@ohstpy (BITNET)
The Ohio State University             1-(614)-292-5310.office@ans.machine
231 West Eighteenth Avenue            1-(614)-292-4975.department
Columbus, OH 43210-1174               1-(614)-292-3317.secretary
The United States of America          1-(614)-459-5615.fax

erc@khijol.UUCP (Edwin R. Carp) (12/05/89)

How about a simple shell script:

mail:

emacs /tmp/mail.$$
rmail $1 < /tmp/mail.$$
rm -f /tmp/mail.$$
----------------------------------- cut here -----------------------------------
           Ed Carp	N7EKG/5 (28.3-28.5)	erc@puzzle!khijol
           Austin,  Tx; (home) (512) 445-2044
           Snail Mail:  1800 E. Stassney  #1205
                        Austin, Tx  78744