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

  1. Path: sparky!uunet!paladin.american.edu!gatech!concert!ais.com!bruce
  2. From: bruce@ais.com (Bruce C. Wright)
  3. Newsgroups: comp.os.vms
  4. Subject: Re: Alternative callable editors in MAIL?
  5. Message-ID: <1992Dec26.213721.5913@ais.com>
  6. Date: 26 Dec 92 21:37:21 GMT
  7. References: <34147@twics.co.jp> <1992Dec25.234751.5910@ais.com> <1992Dec26.185949.27176@engage.pko.dec.com>
  8. Organization: Applied Information Systems, Chapel Hill, NC
  9. Lines: 45
  10.  
  11. In article <1992Dec26.185949.27176@engage.pko.dec.com>, cantor@star.enet.dec.com (Dave Cantor) writes:
  12. > In article <1992Dec25.234751.5910@ais.com>, bruce@ais.com (Bruce C. Wright) writes...
  13. >>In article <34147@twics.co.jp>, burress@twics.co.jp (Tim Burress) writes:
  14. > [...]
  15. >>> So my question is whether there is a procedure for installing a different
  16. >>> callable editor, and having MAIL use that one instead of EDT.  I know it's a
  17. >>> longshot, but the alternative is using the callable mail routines to write my
  18. >>> own mailer, and it's not how I planned to spend my holiday.
  19. >> 
  20. >>You can very often set things up so that almost any editor can be used as
  21. >>a callable editor in MAIL.  For example, suppose you have a locally-written
  22. >>editor named XYZ -- what you need to do to make it callable from MAIL is:
  23. > [...]
  24. >>    2)  Have a procedure named XYZ$EDIT in the sharable image.  The
  25. >>    arguments should look like the callable EDT interface routine
  26. >>    named EDT$EDIT, although I think you can just get by with 2
  27. >>    arguments for callable MAIL (input_file, output_file).
  28. > If the editor is named XYZ, then the entry point needs to be named
  29. > XYZ$XYZ, not XYZ$EDIT.   (The entry points for some popular editors
  30. > are TPU$TPU, LSE$LSE, and TECO$TECO.)
  31.  
  32. Are you _quite_ sure about this?  Did the behavior change recently?  I've
  33. just tried this on a VMS V5.4 and a VMS V5.5 system, and if you name the
  34. entry point, for example, XYZ$XYZ instead of XYZ$EDIT, then MAIL gives
  35. you the error messages:
  36.  
  37.     %MAIL-E-ERACTED, Error activating editor XYZ
  38.     %LIB-E-KEYNOTFOU, Key not found in tree
  39.  
  40. but naming the entry point XYZ$EDIT works as I had originally outlined.
  41.  
  42. Another anomoly that I've run across in trying this out on a couple of
  43. VMS V5.4 systems is that if you're running DECUS UUCP, you may need to
  44. install the XYZSHR image after all.  It seems that UUCP installs MAIL
  45. with SYSPRV, and MAIL then won't activate the XYZSHR image (to avoid
  46. possible security holes).  But if you're running stock VMS, then you
  47. can avoid installing the sharable image and it all works OK.  Guess I
  48. hadn't run across this before because when I first did that, some years
  49. back, UUCP wasn't running on that particular VAX;  and after that, the
  50. private editor image had usually been installed.  And when I ran a
  51. test before my first article to make sure my memory was correct, it
  52. worked because the machine I tested it on wasn't running UUCP.  Grrr :).
  53.  
  54. Bruce C. Wright
  55.