[comp.emacs] MicroEMACS and VMS MAIL

rickm@oregon.uoregon.edu (Rick Millhollin) (01/01/91)

I have been trying to use MicroEMACS V3.10 as a callable editor from VMS MAIL,
as described in Appendix F of the refenence manual, to no avail.  Has anybody
out here succeeded in this?

meb4593@galileo.rtn.ca.boeing.com (Michael Bain) (01/05/91)

In article <20389.277f2bb4@oregon.uoregon.edu> rickm@oregon.uoregon.edu (Rick Millhollin) writes:
>I have been trying to use MicroEMACS V3.10 as a callable editor from VMS MAIL,
>as described in Appendix F of the refenence manual, to no avail.  Has anybody
>out here succeeded in this?

I'm no VAX expert, but this works for me:

Define a couple of symbols, one to run the program and one for it to
find the emacs library.  For example:

  ME == "$DISK$CEFIS:[737EFIS.UTIL]ME.EXE"

  MICROEMACS$LIB == "$DISK$CEFIS:[737EFIS.UTIL]"

Set the mail editor to SYS$LOGIN:MEMAIL.COM.

Contents of SYS$LOGIN:MEMAIL.COM:
$ if "''P1'" .NES. "_NL:" then if "''P1'" .NES. "" then copy 'P1' 'P2'
$ define/user sys$input sys$output
$ me 'P2'
$ exit


-- 
Michael "Poppa" Bain                                    (206) 393-9526
Boeing Commercial Airplane Group     meb4593@galileo.rtn.ca.boeing.com
FJ1200 Pilot for Team Calamari		                   AMA# 565985