AIM: Add entry to twm pop-up menu to `rsh' an xterm from a remore host
known as bathybius
What I tried:
Added the followed lines to .twmrc
--.twmrc--
menu "defops"
{
"Bathybius" !"/usr/bin/rsh bathybius .bathybius_xterm &"
}
--.twmrc--
where .bathybius_xterm is on the remote host:
--.bathybius_xterm--
export DISPLAY=132.206.43.240:0
xterm -T Bathybius -n Bathybius -e /usr/local/bin/tcsh
--.bathybius_xterm--
(This was to avoid `quote' errors)
What happens:
Doing:
/usr/bin/rsh bathybius .bathybius_xterm &
from an xterm window works fine (a new xterm from bathybius appears)
but doing it from the twm menu does nothing but freeze my window
manager. I must log in from a remote machine and kill the window
manager to be able to do anything after that.
Any ideas?
Also, I can't seem to succesfully use rsh in xinitrc either.
I want to have an xbiff running on the remote host.
I know that an `rexec' command would be better suited to the task, but
I haven't found one in linux.
Any help appreciated!
___________________________________________________________________________
Peter Galbraith (514) 398-1969
Dept. of Atmosheric and Oceanic Sciences (514) 398-6115 FAX
Montreal, Quebec H3A 2K6, Canada
___________________________________________________________________________
but I'm sitting in Montreal at McGill University.