home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / os / vms / 21775 < prev    next >
Encoding:
Text File  |  1993-01-23  |  2.4 KB  |  52 lines

  1. Newsgroups: comp.os.vms
  2. Path: sparky!uunet!usc!sdd.hp.com!saimiri.primate.wisc.edu!eng.ufl.edu!robot.nuceng.ufl.edu!sysop
  3. From: sysop@robot.nuceng.ufl.edu (Shawn A. Clifford)
  4. Subject: Re: mailboxes with DCL?
  5. Message-ID: <22JAN199315351392@robot.nuceng.ufl.edu>
  6. News-Software: VAX/VMS VNEWS 1.41    
  7. Sender: news@eng.ufl.edu (Usenet Diskhog System)
  8. Reply-To: sysop@robot.nuceng.ufl.edu
  9. Organization: Nuclear Engineering Sciences - Univ. of Florida
  10. References: <1993Jan21.032056.373@wega.rz.uni-ulm.de> <1joq6oINN32k@gap.caltech.edu>
  11. Date: 22 Jan 1993 15:35 EST  
  12. Lines: 38
  13.  
  14. In article <1joq6oINN32k@gap.caltech.edu>, carl@SOL1.GPS.CALTECH.EDU writes...
  15. >In article <1993Jan21.032056.373@wega.rz.uni-ulm.de>, ORAKEL@rzmain.rz.uni-ulm.de (Framstag) writes:
  16. >>I know, this topic has been discussed several times in the last years, but
  17. >>I haven't saved these articles, because I wasn't interested in, and now I
  18. >>need it:
  19. >>
  20. >>Some (easy, of course :-) ) examples of DCL programs handling with
  21. >>mailboxes with normal user privs (netmbx,tmpmbx).
  22. >>
  23. >>What exactly I want: process-communication between a DCL-program running in
  24. >>a detached (via run sys$system:loginout/input=...) or batch process and a
  25. >>"user in front of his terminal".
  26. >>
  27. >>The user should be able to send DCL-commands via a mailbox to the
  28. >>detached/batch program which scans, say... every 10 sec the mailbox and
  29. >>then executes the command. It will not be necessary to return output to the
  30. >>interactive user's terminal. (But nice, if :-) )
  31. >>
  32. >>example:     $ write mailbox: "@do_something"
  33. >>or:          $ @mbox_frontend "backup d1: d2:"
  34. >>
  35. >>or something like that. I hope I have expressed myself clear enough - Carl,
  36. >>don't beat me too hard ;-)
  37. >You can't create mailboxes from DCL.  You've got to write a program to create
  38. >them (and, since you're probably restricted to creating temporary mailboxes,
  39. >they go away, by default, at image rundown).  What you need to do is:
  40.  
  41. Not  necessarily.  If you post a read to the mailbox, the mailbox lives after
  42. the program exits.  For an example of this, look in PUBLIC$:[DCL] at
  43. robot.nuceng.ufl.edu for the obvious files.  One for creating the mailbox in
  44. a high level language, one for defining the mailbox logical and buffer size
  45. as a startup for other routines written in DCL, and a DCL comfile that makes
  46. use of mailboxes by paging output from any other program to your screen.
  47. Use anonymous (psuedo) ftp to 128.227.90.10.
  48.  
  49. Good luck!
  50.  
  51.