From: CRDGW2::CRDGW2::MRGATE::"SMTP::CRVAX.SRI.COM::RELAY-INFO-VAX" 31-OCT-1990 23:28:07.80 To: MRGATE::"ARISIA::EVERHART" CC: Subj: How to start window and session managers remotely Received: by crdgw1.ge.com (5.57/GE 1.76) id AA21482; Wed, 31 Oct 90 23:17:02 EST Received: From UCBVAX.BERKELEY.EDU by CRVAX.SRI.COM with TCP; Wed, 31 OCT 90 16:57:40 PDT Received: by ucbvax.Berkeley.EDU (5.63/1.42) id AA25114; Wed, 31 Oct 90 16:35:20 -0800 Received: from USENET by ucbvax.Berkeley.EDU with netnews for info-vax@kl.sri.com (info-vax@kl.sri.com) (contact usenet@ucbvax.Berkeley.EDU if you have questions) Date: 31 Oct 90 18:25:14 GMT From: swrinde!zaphod.mps.ohio-state.edu!rpi!uupsi!cai.com!manager@ucsd.edu Organization: Computer Associates International Subject: How to start window and session managers remotely Message-Id: <345.272f170a@cai.com> References: <656964482.123852.RIC@RML2.SRI.COM>, <1990Oct30.060920.13820@news.arc.nasa.gov> Sender: info-vax-request@kl.sri.com To: info-vax@kl.sri.com In article <1990Oct30.060920.13820@news.arc.nasa.gov>, mcmahon@tgv.com (John McMahon) writes: > In article <656964482.123852.RIC@RML2.SRI.COM>, RIC@RML2.SRI.COM (Ric Steinberger) writes... > :I have recently installed X11R4 on a unix box (Alliant), and was messing > :around with the twm window manager. Using a TEK XN5 (NCD 16) terminal, > :I found I could let twm be the window manager but still keep the DEC > :session manager. Maybe everyone knows this but I thought it was a "trick" In fact, there are a number of window managers in the ./contrib tree on the X11R4 tape. Also, if you got Motif from OSF, you can use that. I have lately been exploring interoperability of the various X implementations, from VAXstations to diskless Sun3's to VT1000's to PC's with VGA. The 'twm' manager is nice and light, but it doesn't look as pretty as Motif does. The following command procedures will let you initiate window managers and session managers wherever you want. They are not fancy, but they work for me. They might be interesting to those just getting into X in a VMS environment. I think they are pretty self-explanatory. $!!!!!!!!!!!!!! START_WM.COM !!!!! Only one window manager per X server!!!!! $ where = f$trnlnm("SYS$LOGIN") $ read/prompt="NODE=? " sys$command node/end=exit $ read/prompt="TRANSPORT=? " sys$command transport/end=exit $ open/write file 'where'decw_start_wm.com $ write file "$ set process/name=""WM_''node'"" $ write file "$ set display/create/node=''node'/transport=''transport'" $ write file "$ spawn run decw$winmgrexe" $ close file $! $ run/detach sys$system:loginout - /input='where'decw_start_wm.com - /output='where'decw_start_wm.log $! $exit: $ exit $!!!!!!!!!!!!! START_SM.COM !!!!!! Any number of session managers at once!!! $ where = f$trnlnm("SYS$LOGIN") $ read/prompt="NODE=? " sys$command node/end=exit $ read/prompt="TRANSPORT=? " sys$command transport/end=exit $ open/write file 'where'decw_start_sm.com $ write file "$ set process/name=""SM_''node'"" $ write file "$ set display/create/node=''node'/transport=''transport'" $ write file "$ @sys$manager:decw$startsm" $ close file $! $ run/detach sys$system:loginout - /input='where'decw_start_sm.com - /output='where'decw_start_sm.log $! $exit: $ exit -- Todd Aven Manager, Mid-range Computer Services Computer Associates International Internet: manager@cai.com UUCP: uupsi!usgcdh!manager