home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 20000 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.0 KB

  1. Path: sparky!uunet!zaphod.mps.ohio-state.edu!saimiri.primate.wisc.edu!ames!agate!ucbvax!lrw.com!leichter
  2. From: leichter@lrw.com (Jerry Leichter)
  3. Newsgroups: comp.os.vms
  4. Subject: re: Alternative callable editors in MAIL?
  5. Message-ID: <9212282149.AA16692@uu3.psi.com>
  6. Date: 28 Dec 92 20:49:26 GMT
  7. Sender: usenet@ucbvax.BERKELEY.EDU
  8. Organization: The Internet
  9. Lines: 34
  10.  
  11.  
  12.     We're running VMS 5.5, and have lots of people logging in through
  13.     captive accounts.  The trouble is that they need to use MAIL and have
  14.     the ability to edit their messages, BUT the default callable EDT
  15.     editor is not sufficient for our multilingual/multistandard (whatever
  16.     multistandard means) environment.
  17.  
  18.     For non-captive users, we simply use the MAIL$EDIT logical to point to
  19.     a command procedure which is then spawned by mail, but the code inside
  20.     MAIL will not allow this to work for captive users.
  21.  
  22.     So my question is whether there is a procedure for installing a
  23.     different callable editor, and having MAIL use that one instead of
  24.     EDT.  I know it's a longshot, but the alternative is using the
  25.     callable mail routines to write my own mailer, and it's not how I
  26.     planned to spend my holiday.
  27.  
  28. Sure.  If you do a SET EDIT xxx in mail, MAIL will try to use the file
  29. SYS$SHARE:xxxSHR.EXE as your callable editor; it will invoke it using
  30. LIB$FIND_IMAGE_SYMBOL.  (A logical name for xxxSHR can be used to place the
  31. editor image in another directory.)  The editor must conform to the standard
  32. callable editor interface.  I'm not sure this is actually specified anywhere
  33. in detail, but you can use the EDT callable interface as a model.  (You have
  34. to substitute "xxx" for "EDT" in interface names like EDT$EDIT.)
  35.  
  36. All three supplied VMS editors - EDT, TPU, and TECO (let's not forget TECO!)
  37. are callable.  The callable interfaces for EDT and TPU are described in the
  38. Utility Routines manual.  There is also a callable version of GNU Emacs
  39. around, I believe.
  40.  
  41. Note that since MAIL is privileged, any callable editor that you intend to
  42. call from MAIL must be INSTALL'ed.
  43.                             -- Jerry
  44.  
  45.