*BSD News Article 5847


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel!munnari.oz.au!uunet!think.com!ames!pacbell.com!well!jewels
From: jewels@well.sf.ca.us (Julian Gordon)
Subject: Setsid system call
Message-ID: <1992Oct1.002222.7719@well.sf.ca.us>
Keywords: session, system calls
Organization: Whole Earth 'Lectronic Link
Date: Thu, 1 Oct 1992 00:22:22 GMT
Lines: 31

We are trying to port the bsd version of telnetd to a Dynix 3.0.1 OS,
and have found that it has no setsid call. We would like to if anyone
has encountered this same problem. 

As the man page states it:

DESCRIPTION
	 setsid  executes  command  after  altering   the   execution
	 environment  such  that  the  next  non-controlling terminal
	 opened will be assigned as command's controlling terminal.

We would like to know if anyone has attempted to fudge this system
call on a system that doesn't have this call. Or if there is any
source available to show us how it is implemented.

Thanks

*******************************************************************>
*            ~~ Jewels ~~ of ~~ Thought ~~                        ->
*   Breaking the electronic frontier, and forging into cyberspace. >
*   By increasing communication, are we also breaking it?         ->
*   "Television allows thousands to laugh at the same time at the  >
*    same joke, and still remain alone"                           ->
*                           Bertrand Russell.                     ->
*    Will computers do the same....                               ->
*                                                                 ->
* /\/\ Julian Gordon             /\/\     (jewels@well.sf.ca.us)   >
* /\/\ The WELL,                /\/\/\    (415) 332-4335 9-5 PDT  ->
* /\/\ 27 Gate Five Road,       \/\/\/                             >
* /\/\ Sausalito, CA 94965       \/\/                             ->
*******************************************************************>