* DECwTermPort() => sys$creprc() => set host 'node' ?
@ 1995-01-13 14:12 Wayne Scott
0 siblings, 0 replies; only message in thread
From: Wayne Scott @ 1995-01-13 14:12 UTC (permalink / raw)
Hi Folks:
We're upgrading our GKS/VWS GUI to X/Motif. I know, it's about time!
Anyway, I'm developing a Menu Bar in which I want to provide an "Access Menu"
with a list of the CPUs in the cluster. When a user selects a menu item,
I want to create a DECterm window connected to the machine they want.
With the GKS/VWS system they have now, they have to create a VT200 window
by selecting a menu option on the background menu, login to the workstation,
then "set host cp0_0_" ==> where the underscores map to CPU# and Cluster#,
and login again. Users said they wish they didn't have to login so much.
We want to make life easier for them.
Some caveats:
o X/Motif is only on the VAXstation 3100, NOT the CPUs.
o I cannot create DECterm on the CPUs and export the display to
the VAXstation. The overhead of making that happen could cause
a blip in the CPU performance when lots of people are calling
an 800 number to order Ginsu Knives!!! As a result, some calls
could get dropped and they may not call back to order.
I've had the DECwTermPort() and sys$creprc() part working for weeks.
Someone recommended creating a .COM file to do the "set host" work, and
specifying the .COM file name in a descriptor passed to sys$creprc() in
the 3rd field (input). But there's no evidence that the .COM ever gets
executed. DECterm always prompts me at the machine I'm running on.
I added a few lines to create a .DAT file from the .COM, just to
leave a "footprint" when the .COM is run; but the .DAT file isn't created.
Here's what the .COM does:
=============================================================================
CP0104: type GOTO_MC0109.COM
$! -- connect to MC0104
$ set nover
$ set noon
$!
$! Leave a footprint when this .COM is run.
$!
$ define sys$output beavis.dat
$ show default
$ deassign sys$output
$!
$! Now try to get to another CPU.
$!
$ assign sys$output sys$command
$ set host MC0104
$ exit
CP0104:
=============================================================================
I'm obviously doing _something_ wrong.
Am I at least on the right track?
Thanks,
Wayne
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~1995-01-13 14:12 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1995-01-13 14:12 DECwTermPort() => sys$creprc() => set host 'node' ? Wayne Scott
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox