home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #19 / NN_1992_19.iso / spool / comp / unix / aix / 9057 < prev    next >
Encoding:
Internet Message Format  |  1992-08-25  |  1.9 KB

  1. Path: sparky!uunet!walter!att!linac!unixhub!unixhub.slac.stanford.edu!alhy
  2. From: alhy@unixhub.slac.stanford.edu (J. Scott Berg)
  3. Newsgroups: comp.unix.aix
  4. Subject: Re: Resume a suspended process
  5. Message-ID: <5316@unixhub.SLAC.Stanford.EDU>
  6. Date: 25 Aug 92 17:39:46 GMT
  7. References: <1992Aug24.142616.2640@nrcnet0.nrc.ca> <1992Aug25.125931.20033@nrcnet0.nrc.ca>
  8. Sender: news@unixhub.SLAC.Stanford.EDU
  9. Reply-To: alhy@unixhub.slac.stanford.edu
  10. Organization: Stanford University, dept of Physics / SLAC
  11. Lines: 34
  12. Nntp-Posting-Host: courant.slac.stanford.edu
  13.  
  14. In article <1992Aug25.125931.20033@nrcnet0.nrc.ca>, ng@nrccsb19.di.nrc.ca (Kai Ng) writes:
  15. |> ng@nrccsb19.di.nrc.ca (Kai Ng) writes:
  16. |> : Hi. The question seems trivial, but I can't find the answer. If a process
  17. |> : is suspended, say by entering ^Z, in a window and the window is dismissed
  18. |> : subsequently, is there a way to resume the process from a new window?
  19. |> :
  20. |> 
  21. |> Here is the answer (thanks to hartmans@npc.ece.utexas.edu):
  22. |> 
  23. |>    kill -s cont pid
  24. |> 
  25. |> "cont" is the signal name of SIG_CONT (signal number 19) with the prefix
  26. |> SIG_ dropped and is case insensitive.
  27.  
  28. I think there is a problem with this:  the output from the command
  29. will have nowhere to go, since the tty that it was writing to is now
  30. gone.  As far as I know, it will not take your current tty as it's new
  31. tty.  So, it will probably stop as soon as you continue it, or just
  32. sit there and eat cpu but not do anything  
  33.  
  34.                     -Scott Berg
  35.  
  36. -- 
  37. -------------------------------------------------------------------------------
  38. The opinions expressed here are, of course, my own and nobody else's.
  39. -------------------------------------------------------------------------------
  40. J. Scott Berg
  41. email: alhy@unixhub.slac.stanford.edu
  42. real mail: Varian Physics
  43.            Stanford  CA  94305-4060
  44. phone:    (415) 926-4732 (w)
  45.      (415) 328-8246 (h)
  46. -------------------------------------------------------------------------------
  47.  
  48.