Path: utzoo!attcan!utgpu!jarvis.csri.toronto.edu!rutgers!usc!cs.utexas.edu!uunet!mcvax!kth!sunic!Urd!newsuser From: perf@tde.lth.se (Per Foreby) Newsgroups: comp.unix.aux Subject: detaching jobs via rsh Message-ID: Date: 4 Jul 89 13:00:15 GMT Sender: newsuser@lth.se (LTH network news server) Reply-To: perf@tde.lth.se (Per Foreby) Distribution: comp Organization: Applied Electronics, University of Lund, Lund, Sweden Lines: 26 I'm trying to start a xterm on a MacII via rsh from a sun. I do it via a small program which forks a child and then does the following: set42sig(); setpgrp(0, getpid()); ioctl(...,TIOCNOTTY,...); execvp(....); On any other *ix where I have tried this, it works just fine. But on AUX I get the following result: root 6766 70 0 14:14:42 ? 0:00 in.remshd c0247b0b.1022 perf 6767 6766 0 0:00 perf 6768 1 11 14:14:47 ? 0:02 /usr/new/X11/xterm -display ... perf 6769 6768 2 14:14:57 p0 0:01 -ksh The remshd does not wait for my program, so even though it looks like the xterm is "on its own", the rsh hangs. On the other *ix i get a process for a while (until the xterm has freed itself). Obviously there is still some connection between father and son, but what? -- =============================================================================== Per Foreby Dept of Applied Electronics perf@tde.lth.se Lund Institute of Technology, Lund, Sweden ===============================================================================