Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!usc!wuarchive!udel!princeton!phoenix!luochen From: luochen@phoenix.Princeton.EDU (Luogi Chen) Newsgroups: comp.unix.questions Subject: Re: rshd and control terminal Message-ID: <14582@phoenix.Princeton.EDU> Date: 16 Mar 90 06:13:11 GMT References: <10173@portia.Stanford.EDU> Organization: Princeton University, NJ Lines: 13 From article <10173@portia.Stanford.EDU>, by cuong@portia.Stanford.EDU (Cuong T. Nguyen): > When I start a process via rsh (e.g., rsh ), > I do not seem to be able to associate that (unattached) process > to a control terminal through an open(2), even though the open() > itself succeeds. This is true at least on a pmax running > Ultrix 2.0. If a process without a control terminal opens a tty, this tty will be the control terminal of the process. The criterion for whether a process has a control terminal is if this process can successfully open(2) "/dev/tty", which is always a synonym of the control terminal(c.f. tty(4)). The open call is successful on VAX8700 running Ultrix 2.0. I wonder if you are using the same criterion.