home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.vms
- Path: sparky!uunet!haven.umd.edu!decuac!pa.dec.com!engage.pko.dec.com!star.enet.dec.com!cantor
- From: cantor@star.enet.dec.com (Dave Cantor)
- Subject: Re: Alternative callable editors in MAIL?
- Message-ID: <1992Dec28.172127.10392@engage.pko.dec.com>
- Sender: newsdaemon@engage.pko.dec.com (USENET News Daemon)
- Organization: Digital Equipment Corporation
- References: <34147@twics.co.jp> <1992Dec25.234751.5910@ais.com> <1992Dec26.185949.27176@engage.pko.dec.com> <1992Dec26.213721.5913@ais.com>
- Date: Mon, 28 Dec 1992 17:20:17 GMT
- Lines: 44
-
-
-
- In article <1992Dec26.213721.5913@ais.com>, bruce@ais.com (Bruce C. Wright) writes...
- >In article <1992Dec26.185949.27176@engage.pko.dec.com>, cantor@star.enet.dec.com (Dave Cantor) writes:
- >> In article <1992Dec25.234751.5910@ais.com>, bruce@ais.com (Bruce C. Wright) writes...
- >>>In article <34147@twics.co.jp>, burress@twics.co.jp (Tim Burress) writes:
- >> [...]
- >>>> So my question is whether there is a procedure for installing a different
- >>>> callable editor, and having MAIL use that one instead of EDT. I know it's a
- >>>> longshot, but the alternative is using the callable mail routines to write my
- >>>> own mailer, and it's not how I planned to spend my holiday.
- >>>
- >>>You can very often set things up so that almost any editor can be used as
- >>>a callable editor in MAIL. For example, suppose you have a locally-written
- >>>editor named XYZ -- what you need to do to make it callable from MAIL is:
- >> [...]
- >>> 2) Have a procedure named XYZ$EDIT in the sharable image. The
- >>> arguments should look like the callable EDT interface routine
- >>> named EDT$EDIT, although I think you can just get by with 2
- >>> arguments for callable MAIL (input_file, output_file).
- >>
- >> If the editor is named XYZ, then the entry point needs to be named
- >> XYZ$XYZ, not XYZ$EDIT. (The entry points for some popular editors
- >> are TPU$TPU, LSE$LSE, and TECO$TECO.)
- >
- >Are you _quite_ sure about this? Did the behavior change recently? I've
- >just tried this on a VMS V5.4 and a VMS V5.5 system, and if you name the
- >entry point, for example, XYZ$XYZ instead of XYZ$EDIT, then MAIL gives
- >you the error messages:
- >
- > %MAIL-E-ERACTED, Error activating editor XYZ
- > %LIB-E-KEYNOTFOU, Key not found in tree
- >
- >but naming the entry point XYZ$EDIT works as I had originally outlined.
-
- I was mistaken. The correct name for the entry point should be
- XYZ$EDIT. Sorry for the erroneous information.
-
- -- --
- Dave C. cantor@star.enet.dec.com
- Digital Equipment Corp., Nashua, NH 03062, USA
- The views expressed herein are my own, except where attributed to
- someone else. They are neither the opinion of, nor the responsibility
- of, Digital Equipment Corporation.
-