Path: utzoo!utgpu!news-server.csri.toronto.edu!rutgers!cs.utexas.edu!uunet!bcstec!galileo!meb4593 From: meb4593@galileo.rtn.ca.boeing.com (Michael Bain) Newsgroups: comp.emacs Subject: Re: MicroEMACS and VMS MAIL Message-ID: <239@galileo.rtn.ca.boeing.com> Date: 4 Jan 91 22:47:59 GMT References: <20389.277f2bb4@oregon.uoregon.edu> Distribution: usa Organization: Boeing Commercial Airplane Group, Seattle Lines: 27 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