home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #3 / NN_1993_3.iso / spool / comp / sys / hp / 15363 < prev    next >
Encoding:
Internet Message Format  |  1993-01-28  |  2.0 KB

  1. Path: sparky!uunet!ulowell!m2c!bu.edu!rpi!utcsri!sys.toronto.edu!jwang
  2. From: jwang@sys.toronto.edu (Jingwen Wang)
  3. Newsgroups: comp.sys.hp
  4. Subject: SIGTSTP got translated into SIGHUP?
  5. Message-ID: <1993Jan26.144705.20672@jarvis.csri.toronto.edu>
  6. Date: 26 Jan 93 19:47:05 GMT
  7. Organization: CSRI, University of Toronto
  8. Lines: 42
  9.  
  10.  
  11.    We are using a remote execution server (quite similar to the rlogind)
  12. to start remote processes. The strange thing is that if I send a SIGTSTP
  13. signal to this remotely started process, it is not stopped, while the same 
  14. program running on local host is stopped properly.
  15.  
  16.    Looking into the man pages on hpux, I found the following:
  17.     When a process that is in an orphaned process group (see glossary(9))
  18.     receives a SIGTSTP, SIGTTIN, or SIGTTOU signal, the process is not stooped
  19.     because a process in an orphaned process group is not allowed to stop.
  20.     Instead, a SIGHUP signal is sent to the process, and the SIGTSTP, SIGTTIN,
  21.     or SIGTTOU is discarded.
  22.  
  23.     My question is: 
  24.  
  25.     1. Where is the above mentioned glossary(9)? I could not find it on 
  26.        several HP machines running hpux8.07 and hpux8.05.
  27.  
  28.     2. Why should the kernel enforce the signal action? All other unix
  29.        systems do not have this smart. I should be able to send any
  30.        signals to my process; whether the process should stop or not is
  31.        is totally user's bussness.
  32.  
  33.     3. What is the precise definition of an orphaned process group?
  34.  
  35.  
  36. Any help is greatly appreciated.
  37.  
  38. jwang
  39.  
  40. -- 
  41.   {}
  42. {}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  43.   {}          jwang@sys.toronto.edu                1-800-ASK-wang (home)
  44.     I don't know why this message in .signature file is sent twice on our 
  45.     utrix. Needs help.
  46. --
  47.   {}
  48. {}(){} -----> Jingwen Wang, Univ. of Toronto       (416)-978-1675 (office)
  49.   {}          jwang@sys.toronto.edu                1-800-ASK-wang (home)
  50.     I don't know why this message in .signature file is sent twice on our 
  51.     utrix. Needs help.
  52.