From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1164f8,11daf615db07f3f0 X-Google-Attributes: gid1164f8,public X-Google-ArrivalTime: 1994-11-16 21:14:24 PST Path: nntp.gmd.de!xlink.net!news.fhg.de!berlin.fhg.de!isst.fhg.de!hahn.informatik.hu-berlin.de!zrz.TU-Berlin.DE!zib-berlin.de!prise.nz.dlr.de!news.dfn.de!swiss.ans.net!gatech!swrinde!cs.utexas.edu!uwm.edu!caen!msuinfo!harbinger.cc.monash.edu.au!news.cs.su.oz.au!metro!decus!wadem From: wadem@decus.org.au (Malcolm Wade) Newsgroups: comp.sys.dec Subject: Re: xterminal and decwindow login Message-ID: <1994Nov14.135743.15102@decus.org.au> Date: 14 Nov 94 13:57:43 AEST References: <39uihq$ck5@net.auckland.ac.nz> Organization: DECUS Australia In article <39uihq$ck5@net.auckland.ac.nz>, lim@esu6.auckland.ac.nz (Tiong lim) writes: > Recently i upgrade our VMS from 5.5-2 to V6.1 . Since the upgrade i cannot get > our Xterminal (NCD running v3.0) get the Decwindow prompt automatically when > the X terminal boots up. From the NCD documentation, the X terminal logs in > through a captive account and starts the Decwindow login prompt by running this > file : - > > $! SYS$MANAGER:NCD_NDS_STARTLOGIN.COM NCDware V3.0 > $! > $! This is a captive command procedure which should be run as the ... etc etc ... > $ DEFINE DECW$LOGIN_NORESTART TRUE ! process logical... > $ SET DISPLAY/CREATE/PERM/TRANSPORT='trans'/NODE="''node'" > $ MCR DECW$STARTLOGIN ! Fire off the DECwindows Session Manager > $ WRITE SYS$OUTPUT "DECwindow Session Manager Login initiated on ''f$trnln > m("SYS$NODE")'" > $ WRITE SYS$OUTPUT " for ''node' using transport ''trans'" > $ WRITE SYS$OUTPUT "" > $ WAIT 00:00:02 ! Allow user to read the above message > $ STOP/ID=0 ! Logout silently > $ I had the same problem. Turns out that SYS$REM_NODE translates to node-name:: which under V5.5-2 SET DISPLAY/CREATE/NODE=node-name:: likes BUT under V6.1 it doesn't (probably something to do with phase V node names and the support for them). I didn't investigate further. The fix is to add an: ELSE NODE = NODE - "::" prior to the last ENDIF so that when it's a DECnet node the "::" gets removed. Cheers, Malcolm -- +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+ | Malcolm J. Wade, Malcolm.Wade@decus.org.au (Internet) | | SYSCOM Chairman, PSI%(0)505227330001::Malcolm.Wade (VAX/PSImail) | | DECUS Australia Chapter. Tel. +61 2 369 6564 (w) | +-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-+