Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!sdd.hp.com!mips!atha!aunro!alberta!cpsc.ucalgary.ca!deraadt From: deraadt@cpsc.ucalgary.ca (Theo de Raadt) Newsgroups: comp.protocols.tcp-ip Subject: Re: Porting BSD telnetd to a Sun Message-ID: Date: 31 May 91 07:51:19 GMT References: Organization: U of Calgary, CompSci Lines: 24 In-Reply-To: hedrick@athos.rutgers.edu's message of 28 May 91 21:54:41 GMT In article hedrick@athos.rutgers.edu (Charles Hedrick) writes: > Instead, you want something like the following. (This is taken from > our 4.4 version of telnetd, so I haven't actually used it in the 4.3 > one, but I think it should be OK.) Note that this code is > SunOS-specific, and should work in 4.0.3c or later. (It depends upon > an undocumented side-effect of TIOCGPGRP.) Note that Sun's in.telnetd does not even do this. in.rlogind on sun does though... Oh, and script does not either. Of course, gmacs.. etc.. anything from the net that deals with pty's, do not either. I believe that the reason they do this is because when they went to session groups they messed up vhangup(), or equivelant. Not surprising. All terminals, not just pty's, are screwed up now.