From: jrs@world.std.com (Rick Sladkey) Subject: Re: BUG in 0.99-p5 ??? Date: Fri, 12 Feb 1993 00:42:12 GMT
>>>>> On Thu, 11 Feb 1993 15:11:03 GMT, hank@Blimp (Hendrik G. Seliger) said:
Hank> I just compiled linux-0.99-p5 (using ipc-patches and the idle-
Hank> patches for xsysinfo, which all went w/o problems). Then I had
Hank> to find that rlogin into my second linux-PC didn't work anymore.
Hank> I get a message about it being unable to identify my tty-name
Hank> and rlogin closes (it's on the side I want to log into; rlogin
Hank> works on a machine with 0.99-p5, just not into it).
Hank> For now I went back to 0.99-p4, but what's the matter here?
Linux 0.99.5 disabled the ability for a program to aquire a pty master
device as a controlling terminal. I think this is a mistake. Here is
a patch.
=====
*** linux/kernel/chr_drv/tty_io.c.orig Tue Feb 9 15:08:00 1993
--- linux/kernel/chr_drv/tty_io.c Thu Feb 11 19:38:49 1993
***************
*** 1081,1088 ****
}
if (minor <= 0)
return -ENXIO;
- if (IS_A_PTY_MASTER(minor))
- noctty = 1;
filp->f_rdev = (major << 8) | minor;
retval = init_dev(minor);
if (retval)
--- 1081,1086 ----