home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #20 / NN_1992_20.iso / spool / comp / windows / openloo / 3763 < prev    next >
Encoding:
Internet Message Format  |  1992-09-08  |  1.5 KB

  1. Path: sparky!uunet!dtix!darwin.sura.net!uvaarpa!cv3.cv.nrao.edu!laphroaig!cflatter
  2. From: cflatter@nrao.edu (Chris Flatters)
  3. Newsgroups: comp.windows.open-look
  4. Subject: Re: setsid on 4.3+BSD
  5. Message-ID: <1992Sep9.001333.9827@nrao.edu>
  6. Date: 9 Sep 92 00:13:33 GMT
  7. References: <wkqe0j5@openlook.Unify.Com>
  8. Sender: news@nrao.edu
  9. Reply-To: cflatter@nrao.edu
  10. Organization: NRAO
  11. Lines: 29
  12.  
  13. In article wkqe0j5@openlook.Unify.Com, sinan@Mtesol.boeing.com (Sinan Karasu) writes:
  14. >
  15. > I have xview running on a concurrent machine. However when a term window
  16. >is created (with devGuide) a call to setsid is generated. Concurrent RTU
  17. >does not have a setsid function ( that I could find anyway. This is all
  18. >in "universe ucb"). 
  19. >
  20. >Q: Is this a 4.3 or a BSD function ? (W. Richard Stevens says
  21. >   it is SVR4 and Posix but is vague about it's origins.)
  22.  
  23. A: setsid() was introduced in the POSIX.1 standard.
  24.  
  25. >Q: does anybody have the source code for setsid ?
  26.  
  27. setsid() is not meaningful unless your O/S supports sessions.  A session
  28. is a process grouping above that of a process group. i.e. a process group
  29. contains one or more processes; a session contains one or more process groups.
  30. Sessions were introduced to regularize job control: all jobs running from
  31. a single control terminal belong to the same session.
  32.  
  33. If your O/S does not support sessions or job control then you may substitute
  34. setpgrp() (System V) for setsid().
  35.  
  36. >Q: is it available at ftp.uu.net:/systems/unix/bsd-sources/lib
  37.  
  38. It may be but it will require a BSD kernel to work.
  39.  
  40.     Chris Flatters
  41.     cflatter@nrao.edu
  42.