From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,9ed05f1489c07de3,start X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,9ed05f1489c07de3,start X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1995-01-20 02:23:24 PST Path: pad-thai.cam.ov.com!bloom-beacon.mit.edu!news.kei.com!news.mathworks.com!uunet!athos.cc.bellcore.com!isp.isp.bellcore.com!wws From: wws@cc.bellcore.com (Wayne Scott) Newsgroups: comp.os.vms,comp.sys.dec Subject: DECwTermPort() => sys$creprc() => set host 'node' ? Followup-To: comp.os.vms Date: 13 Jan 1995 14:12:58 GMT Organization: Bellcore Sender: wws@isp.isp.bellcore.com (Wayne Scott) Distribution: world Message-ID: <3f61pa$7tb@athos.cc.bellcore.com> Reply-To: wws@cc.bellcore.com NNTP-Posting-Host: isp.bellcore.com Keywords: stuck on the "set host" part... X-Newsreader: mxrn 6.18-6 Xref: pad-thai.cam.ov.com comp.os.vms:44172 comp.sys.dec:15027 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