Thread View: mod.os.unix
1 messages
1 total messages
Started by usenet
Fri, 13 Mar 1987 15:11
problem with controlling terminals in 4.2/4.3
Author: usenet
Date: Fri, 13 Mar 1987 15:11
Date: Fri, 13 Mar 1987 15:11
26 lines
1863 bytes
1863 bytes
I am trying to associate a controlling terminal with a detached process. To be exact, I want to run a modified version of script (/usr/ucb/script) via an rsh(1) link, in order to have the process that I run have a controlling terminal. The problem is that when I run script, or the modified version (modified only to run a different program), via rsh, ps shows that the remote program and the script both have "?" for controlling terminal. I realize that the manual (tty(4)) ways that if a process has no controlling teminal, that it can open a /dev/tty?? file and it will become the controlling terminal for that process. Nevertheless, it looks like that doesn't work with rsh-ed programs. Anybody have any ideas?? I am trying to get xterm(1), from the X V10R4 distribution, to work via rsh, and xterm seems to need a controlling terminal in order to work correctly (otherwise, when the cshell that it created exits, the xterm hangs as a zombie, I think, and the network connection is left open). If anybody has any idea what is going wrong, semd me mail, since this is probably not of great importance to most people on the net. --chet-- In Real Life: Chet Murthy ARPA: murthy@svax.cs.cornell.edu SnailMail: Chet Murthy Gaslight Village Apts 21-B Uptown Road Ithaca, NY 14850 MaBellNet: (607)-257-5709
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads