Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!cs.utexas.edu!uunet!auspex!guy From: guy@auspex.auspex.com (Guy Harris) Newsgroups: comp.mail.uucp Subject: Re: Bidirectional Modem Lines under SunOS 4.0.1 Message-ID: <1498@auspex.auspex.com> Date: 24 Apr 89 18:43:15 GMT References: <160@osc.COM> <743@key.COM> <2209@laidbak.UUCP> <1423@auspex.auspex.com> <3834@ficc.uu.net> <1438@auspex.auspex.com> <13597@ncoast.ORG> Reply-To: guy@auspex.auspex.com (Guy Harris) Organization: Auspex Systems, Santa Clara Lines: 10 >May I suggest that the real reason it broke was that the login shell wasn't >leader of the process group that owns the terminal? If that's the real reason it broke, then the scheme Peter was saying wouldn't work (which really meant "wouldn't work on his system", since login shells that are not children of "init" work fine on other systems) *would* work - "ct" can most definitely arrange that the process it forks off to run "getty" becomes the leader of the process group that owns the terminal. In fact, it does precisely that; before "exec"ing "getty", it calls "setpgrp".