From: utzoo!decvax!cca!z Newsgroups: net.unix-wizards Title: Controlling terminals Article-I.D.: cca.4493 Posted: Thu Mar 24 10:24:16 1983 Received: Fri Mar 25 08:39:51 1983 What determines what is the "controlling terminal" for a process? We are running 4.1BSD, and we have some processes using pseudo-terminals. We would like to have all the processes running on the pty's to consider the pty's to be their controlling terminals, but instead they believe that their controlling terminal is the same as their ancestors'. Is there some way to change a process's controlling terminal? It seems that there should be. Or are you always stuck with whatever terminal was first opened by a process which originally had no controlling terminal (i.e., init)? Steve Zimmerman decvax!cca!z z@cca