Xref: utzoo comp.unix.questions:15359 comp.unix.wizards:17471 Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.unix.questions,comp.unix.wizards Subject: Re: How to do TIOCNOTTY on System V Message-ID: <2321@auspex.auspex.com> Date: 2 Aug 89 18:31:39 GMT References: <2323@ccncsu.ColoState.EDU> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 6 >Anybody know how to do the System V equivalent of TIOCNOTTY? >That is, to disassociate the terminal from the running process. Call "setpgrp()", which takes no arguments. It will dissociate the terminal, although it sets the process group ID to the process ID of the process executing it, rather than to 0 as TIOCNOTTY does.