home *** CD-ROM | disk | FTP | other *** search
- Path: sparky!uunet!dtix!darwin.sura.net!udel!rochester!rocksanne!leisner
- From: leisner@wrc.xerox.com ( Marty Leisner)
- Newsgroups: comp.unix.shell
- Subject: Opening up remote xterm windows?
- Message-ID: <1992Dec20.215237.3151@spectrum.xerox.com>
- Date: 20 Dec 92 21:52:37 GMT
- Sender: news@spectrum.xerox.com
- Reply-To: leisner@eso.mc.xerox.com
- Organization: Xerox
- Lines: 43
- X-Newsreader: TIN [version 1.1 PL8]
-
- I want a good way to open up remote xterm windows...
-
- I'm using bash and have this a function:
- rxterm ()
- {
- rsh $1 ./dologin "xterm -title $1 -display `hostname`:0 -e bash " &
- }
-
- In .dologin, I have:
- #! /bin/csh
-
- source ~/.login
- $* &
-
-
- to read my .login file (and set up my environment and path -- I don't use this
- in csh...).
-
-
- I then invoke the command (in this case, xterm...)
-
- I'm also running bash on the remote system in an xterm window...
-
- The problem is, I get:
-
- rxterm annapurna
- [1] 5444
- leisner@hydrus$
- [1]+ Stopped (tty input) rsh $1 ./dologin "xterm -title $1 -display `hostname`:0 -e bash "
-
-
- I tried redirecting stdout/stderr to /dev/null, but no luck...
-
- The rsh is a job, which I can kill after it executes...
-
- What I want is a system which backgrounds, and lets the rsh terminate cleanly...
-
- Or is there a better way of doing what I'm trying to do?
-
- --
- marty
- leisner.henr801c@xerox.com leisner@eso.mc.xerox.com
- Member of the League for Programming Freedom
-