From: wws@cc.bellcore.com (Wayne Scott)
Subject: DECwTermPort() => sys$creprc() => set host 'node' ?
Date: 13 Jan 1995 14:12:58 GMT [thread overview]
Message-ID: <3f61pa$7tb@athos.cc.bellcore.com> (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
reply other threads:[~1995-01-13 14:12 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
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