aperez@caribe.prime.com (Arturo Perez x6739) (04/13/91)
I'm running into problems doing this rsh ollie "setenv LD_LIBRARY_PATH /usr/openwindows/lib; setenv OPENWINH OME /usr/openwindows; /usr/openwindows/bin/xview/cmdtool -display caribe:0.0" What happens is I get a window with no /bin/csh running in it and this error ttysw-TIOCSPGRP: Interrupted system call If I do a ps aux on the remote machine (ollie, above) I see the shelltool running fine and the /bin/csh in a TW state. If I specifically start a /bin/sh I have no problems but I do get a ttysw-TIOCSPGRP:: not found If, within that /bin/sh, I type /bin/csh -i it hangs. This happens on machines running SunOS 4.1 but not those running 4.0. Arturo Perez ComputerVision, a division of Prime aperez@cvbnet.prime.com Too much information, like a bullet through my brain -- The Police
holtz@netcord.Eng.Sun.COM (Brian Holtz) (04/13/91)
There's some kind of process group business going on there. What you need to do is wrap each invocation of cmdtool/shelltool with /usr/etc/setsid. Excerpt from my .openwin-menu (rcmd is the script from vanilla mit X11R4): " Command Tool " MENU [...] "netcord" exec rcmd netcord /usr/etc/setsid cmdtool -Wi -Wt 6x13 -Ww 80 -Wh 50 -Wp 2 212 [...] " Command Tool " END PIN -- Brian Holtz