home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / vms / 20717 < prev    next >
Encoding:
Internet Message Format  |  1993-01-11  |  3.2 KB

  1. Path: sparky!uunet!gatech!rpi!ghost.dsi.unimi.it!univ-lyon1.fr!chx400!csghsg5a.bitnet!92636828s
  2. From: 92636828s@csghsg5a.bitnet
  3. Newsgroups: comp.os.vms
  4. Subject:  local printing out of detached process
  5. Message-ID: <1993Jan11.111735.357@csghsg5a.bitnet>
  6. Date: 11 Jan 93 11:17:35 GMT
  7. References: <1993Jan5.103014.347@csghsg5a.bitnet> <1993Jan5.131302.21764@ncsa.uiuc.edu> <C0EGqE.HLL@micrognosis.co.uk>
  8. Organization: University of St.Gallen, Switzerland
  9. Lines: 61
  10.  
  11. In article <C0EGqE.HLL@micrognosis.co.uk>, nreadwin@micrognosis.co.uk (Neil Readwin) writes:
  12. > In article <1993Jan5.131302.21764@ncsa.uiuc.edu>, jsue@ncsa.uiuc.edu (Jeffrey L. Sue) writes:
  13. > |> In article <1993Jan5.103014.347@csghsg5a.bitnet> 92636828s@csghsg5a.bitnet writes:
  14. > |> >I'm trying to create a detached subprocess or process, which has to be
  15. > |> >attached to the terminal, because I want to run it a batch-file with
  16. > |> >the following content: $mc prt type *.txt
  17. > |> >Spawn/nowait anything.com doesn't help for although the subprocess runs
  18. > |> >asynchronous the "motherprocess" is stopped till completion of the subprocess.
  19. > |> >Is there a possibility to do it via run/detach ?
  20. > |> >Any kind of help will be appreciated.  
  21. > |> 
  22. > |> Try $ HELP SPAWN
  23. > |> see /WAIT
  24. > Given that David-Michael has said that 'Spawn/nowait anything.com doesn't
  25. > help' this probably will not help much.
  26. > On the other hand, he also says 'although the subprocess runs asynchronous
  27. > the "motherprocess" is stopped till completion of the subprocess'. This is
  28. > not true, but if he means that the child process is killed if the parent
  29. > process is stopped then this is correct. The real question is what is the
  30. > command
  31. >     $mc prt type *.txt
  32. > supposed to do and why won't
  33. >     $print *.txt
  34. > (with some set of qualifiers) do the job? Since 'mc prt' will not work here
  35. > I assume that it is either a local hack or (conceivably) a layered product.
  36. > More information from the original poster is what we need. Neil.
  37. > -- 
  38. >  Phone: +44 71 815 5283  E-mail: nreadwin@micrognosis.co.uk
  39. >  Anything is a cause for sorrow that my mind or body has made
  40.  
  41. It seems that my original posting wasn't clear enough:
  42.  
  43.     PRT is an image which allows you to print on the local printer,
  44.     which is assigned to your terminal.
  45.  
  46.     PRINT doesn't solve the problem because it seems that the local
  47.     printers are not accessible this way.
  48.  
  49.     If you put the  sequence "mc prt type *.txt" into a batchfile 
  50.     (abc.com) and make a submit abc.com, it doesn't work either;
  51.     probably because the execution of the batchfile isn't to the
  52.     terminal the local printer is assigned to.
  53.  
  54.     Spawn/nowait mc prt type *.txt also doesn't help for though
  55.     I get back to the $-prompt I can't work on: no typing is
  56.     recognized. So it seems to me that the parent process is
  57.     halted till completion of the subprocess.
  58.  
  59.     Is there a solution to this problem? 
  60. -- 
  61. \_\_                 \_\_       ** The world's biggest Rush fan **
  62.   \_\_                 \_\_
  63.     \_\_                 \_\_           David-Michael Lincke
  64.       \_\_                 \_\_      Hochschule St. Gallen HSG
  65.         \_\_                 \_\_
  66.           \_\_\_\_\_\_\_\_\_   \_\_  email: 92636828@csghsg5a.bitnet
  67.                         92636828@alpha.unisg.ch    
  68.  
  69.