🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

2 total messages Started by Minh Tran-Le Wed, 04 Nov 1992 05:31
problem with bash + xon + sunos ...
#7
Author: Minh Tran-Le
Date: Wed, 04 Nov 1992 05:31
22 lines
1323 bytes
Hi,
I have `bash' as my standard login shell under sunos 4.1.1 and I am
trying to use the X11 R5 script `xon' that allow to create an xterm
on a remote machine using your local display.  Has anybody noticed
that on the sun the xon script keep the connection open until the 
remote xterm dies.

The xon script does something like this:

  rsh remotehost "sh -c 'DISPLAY=currentdisplay:0.0 xterm -ls >/dev/null \
  2>&1 &'"

This should run the remote xterm in the background at the remote host.

If your login shell is bash then the rsh command hangs until the remote
xterm dies.  If your login shell is csh or your remote host is not 
running sunos (e.g. rs6000 running bash) then the xon command terminate
immediatly without waiting for the remote xterm to die.

Thanks,
Minh Tran-Le.
-------
Re: problem with bash + xon + sunos ...
#941
Author: Jo-Are Stubmo
Date: Thu, 05 Nov 1992 11:56
35 lines
1953 bytes
Minh Tran-Le (TRANLE@intellicorp.com) wrote:
: Hi,
: I have `bash' as my standard login shell under sunos 4.1.1 and I am
: trying to use the X11 R5 script `xon' that allow to create an xterm
: on a remote machine using your local display.  Has anybody noticed
: that on the sun the xon script keep the connection open until the 
: remote xterm dies.
: 
: The xon script does something like this:
: 
:   rsh remotehost "sh -c 'DISPLAY=currentdisplay:0.0 xterm -ls >/dev/null \
:   2>&1 &'"
: 
: This should run the remote xterm in the background at the remote host.
: 
: If your login shell is bash then the rsh command hangs until the remote
: xterm dies.  If your login shell is csh or your remote host is not 
: running sunos (e.g. rs6000 running bash) then the xon command terminate
: immediatly without waiting for the remote xterm to die.
: 
: Thanks,
: Minh Tran-Le.
: -------

Hi!

If you have problems using xon you could try xrsh which is a shell script
that allows you to start a command at another machine displaying the output
on your local machine just as xon does. I can do 'xrsh alpha' from machine
beta to start a xterm at machine alpha. I can also do a long command from
xrsh. You can find xrsh on nic.funet.fi:/pub/X11/contrib/xrsh

bjornw>
--
The sooner all the animals are dead, the sooner we'll find all their money.
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