[comp.windows.x] problem with X11R3 xterm under SunOS

raj@GLACIER.ICS.UCI.EDU (11/09/88)

I'm experiencing a small problem with the X.V11R3 xterm under SunOS.  This
seems to be a problem on Sun3's and Sun4's running SunOS 4.0 but not under
SunOS 3.5 so it appears to be a bug introduced in SunOS 4.0.  I have a little
script which starts up an xterm on a remote system by doing:

rsh remote-system -n  "/usr/bin/X11/xterm -j -n remote-system -rw -sb -sl 500 \
	-display `hostname`:0 -geometry 80x40 </dev/null >& /dev/null &"

This seems to work just fine.  (I found a while back that all of the
redirections are necessary so that the shell spawned by "rsh" will disappear
after the xterm has been started.)

The problem is that if you then start another xterm from inside this one,
when the new one exits it takes the "rsh" spawned one along with it!
This seems to have something to do with either process groups or SIGCHLD's.
I'm tracking it down currently but thought I'd mention it in case someone else
is ahead of me on finding the source of the problem.

-----------------------------------------------------------------------------
Richard A. Johnson                               raj@ics.uci.edu   (Internet)
UCI ICS Assistant Support Manager                  ucbvax!ucivax!raj   (UUCP)
Postmaster / Network Services       raj@tertius.ics.uci.edu (via Nameservers)