home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / vms / 19957 < prev    next >
Encoding:
Text File  |  1992-12-28  |  2.7 KB  |  56 lines

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