Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
From: krs0@GTE.COM (Rod Stephens)
Subject: Re: DECwindows:  creating remote displays
Date: 28 Sep 90 11:57:21 GMT	[thread overview]
Message-ID: <9804@bunny.GTE.COM> (raw)
In-Reply-To: 4274@husc6.harvard.edu

In article <4274@husc6.harvard.edu> joltes@husc9.harvard.edu (Richard Joltes) writes:

>	... the standard method is to create a DECterm, set
>host to the target node, and do
>
>$ set display/create/node=xxxxxx
>$ <invoke application>
>
>which seems a pain.  Has anyone worked up an easier way (i.e. local .exe or
>comfile that will establish the session and start up the application)? 
>
>Ultrix is trickier.  I access this system using a Multinet TELNET session, and
>the only method I've found in TFM uses UCX.  Anyone done this successfully 
>using Multinet (or DECnet/Ultrix)?  

This may not be exactly what you need but maybe it will be useful to
someone.

To go from Ultrix to Ultrix (on TCP/IP) I have the following line in
my .login:

alias rterm "xhost +\!*;rsh \!* 'setenv DISPLAY `hostname`:0.0;dxterm & ' "

If I'm logged on to radagast and I want to start a window on frodo I type:

% rterm frodo

which expands to:

xhost +frodo;rsh frodo 'setenv DISPLAY radagast:0.0;dxterm & '

which does the trick. Of course my .rhosts file on frodo must have a
line that says:

radagast	rod

so the rsh command will work.

Understanding what processes are started is a little tricky. The rsh
command does not return even after the dxterm is started on the remote
machine. I usually just control-C after I see the message indicating
that the dxterm has started. You could also put the rterm command in
the background (% rterm frodo &) and then this command will show up as
stopped when you do a "jobs" command (thought the dxterm is just
fine). Further experiments are left to the reader ;-)

One last trick: you can give dxterm a command to execute when it
starts as in:

% dxterm -e my_application

This should let you start lots of stuff automatically.

+---------------------------------------------------------------+
| Rod Stephens           | "Haven't I told you not to play      |
| GTE Laboratories, Inc  |  with my super-weapons? You might    |
| (617)466-4182          |  devastate yourself!"                |
| krs0@gte.com           |                                      |
+---------------------------------------------------------------+


  reply	other threads:[~1990-09-28 11:57 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1990-09-27 14:59 DECwindows: creating remote displays Richard Joltes
1990-09-28 11:57 ` Rod Stephens [this message]
1990-10-01 22:59 ` Tom Allebrandi
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox