[comp.windows.x] Problems rsh'ing

jc@raven.bu.edu (James Cameron) (05/11/91)

Systems:  Both are SunOS 4.1.1

Problem:  What I would like to do is rsh into another machine and startup
	  xbiff on this display.  Now, this is what happens when I execute
	  the rsh command:

-jc-  [formant: ~] % rsh raven "setenv DISPLAY formant:0;xbiff" &
[1] 3383
-jc-  [formant: ~] %
[1]  + Stopped (tty input)  rsh raven setenv DISPLAY formant:0;xbiff
-jc-  [formant: ~] % fg
rsh raven setenv DISPLAY formant:0;xbiff


	I thought it might have been my shell startup files, so I simply
	moved it for testing purposes, but this did not help.  I realize
	it must be something simple which I am forgetting, but I can't
	think of what it could be.  I have already done an 'xhost raven'
	and when I do a fg to put it in the foreground, there are no
	error messages.

	Here's the head of my .cshrc file:

set path = ( /usr/bin /usr/local/X11/bin /usr/local/bin /usr/ucb . /u4/home/jc /u4/home/jc/bin)

if ( ! $?prompt) exit

setenv MANPATH /smg/man:/usr/local/man:/usr/local/X11/man:/usr/man

	
	So, I don't believe it *could* be my start up file.

Any ideas?

jc

--
					-- James Cameron  (jc@raven.bu.edu)

Signal Processing and Interpretation Lab.  Boston, Mass  (617) 353-2879
------------------------------------------------------------------------------
"But to risk we must, for the greatest hazard in life is to risk nothing.  For
the man or woman who risks nothing, has nothing, does nothing, is nothing."
	(Quote from the eulogy for the late Christa McAuliffe.)

jc@raven.bu.edu (James Cameron) (05/11/91)

I foolishly posted the following message without first reading
TFM.  The problem did not actually seem to be caused by 'rsh' so
I guess that is why I didn't look.  *8-)


>>>>> On 10 May 91 22:05:37 GMT, jc@raven.bu.edu (James Cameron) said:


|> Systems:  Both are SunOS 4.1.1

|> Problem:  What I would like to do is rsh into another machine and startup
|> 	  xbiff on this display.  Now, this is what happens when I execute
|> 	  the rsh command:

|> -jc-  [formant: ~] % rsh raven "setenv DISPLAY formant:0;xbiff" &
|> [1] 3383
|> -jc-  [formant: ~] %
|> [1]  + Stopped (tty input)  rsh raven setenv DISPLAY formant:0;xbiff
|> -jc-  [formant: ~] % fg
|> rsh raven setenv DISPLAY formant:0;xbiff


	From rsh(1C):


OPTIONS

 -n   Redirect the input of rsh to /dev/null.  You  sometimes
          need  this  option  to  avoid  unfortunate interactions
          between rsh and the shell which invokes it.


Sorry for wasting the bandwith.

jc

--
					-- James Cameron  (jc@raven.bu.edu)

Signal Processing and Interpretation Lab.  Boston, Mass  (617) 353-2879
------------------------------------------------------------------------------
"But to risk we must, for the greatest hazard in life is to risk nothing.  For
the man or woman who risks nothing, has nothing, does nothing, is nothing."
	(Quote from the eulogy for the late Christa McAuliffe.)