home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!ucbvax!lrw.com!leichter
- From: leichter@lrw.com (Jerry Leichter)
- Newsgroups: comp.os.vms
- Subject: re: Alternative callable editors in MAIL?
- Message-ID: <9212282149.AA16692@uu3.psi.com>
- Date: 28 Dec 92 20:49:26 GMT
- Sender: usenet@ucbvax.BERKELEY.EDU
- Organization: The Internet
- Lines: 34
-
-
- We're running VMS 5.5, and have lots of people logging in through
- captive accounts. The trouble is that they need to use MAIL and have
- the ability to edit their messages, BUT the default callable EDT
- editor is not sufficient for our multilingual/multistandard (whatever
- multistandard means) environment.
-
- For non-captive users, we simply use the MAIL$EDIT logical to point to
- a command procedure which is then spawned by mail, but the code inside
- MAIL will not allow this to work for captive users.
-
- 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.
-
- Sure. If you do a SET EDIT xxx in mail, MAIL will try to use the file
- SYS$SHARE:xxxSHR.EXE as your callable editor; it will invoke it using
- LIB$FIND_IMAGE_SYMBOL. (A logical name for xxxSHR can be used to place the
- editor image in another directory.) The editor must conform to the standard
- callable editor interface. I'm not sure this is actually specified anywhere
- in detail, but you can use the EDT callable interface as a model. (You have
- to substitute "xxx" for "EDT" in interface names like EDT$EDIT.)
-
- All three supplied VMS editors - EDT, TPU, and TECO (let's not forget TECO!)
- are callable. The callable interfaces for EDT and TPU are described in the
- Utility Routines manual. There is also a callable version of GNU Emacs
- around, I believe.
-
- Note that since MAIL is privileged, any callable editor that you intend to
- call from MAIL must be INSTALL'ed.
- -- Jerry
-
-