[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

1786.0. "DECW$STARTUP gets run twice ?" by MARVIN::WARWICK (Trevor Warwick) Mon Nov 27 1989 05:13

    
    While debugging a system startup problem on our LAVC recently, I had
    cause to run through system startup with DCL Verify turned on.
    
    It seems to me like DECW$STARTUP gets run twice - once quite early on
    in  the boot process, and once at the end after SYSTARTUP_V5 has
    exited. Why is this ?
    
    Trevor
T.RTitleUserPersonal
Name
DateLines
1786.1LESLIE::LESLIEAndy ��� LeslieMon Nov 27 1989 09:421
    It shouldn't. Do you have a @DECW$STARTUP line in SYSTARTUP_V5?
1786.2Check out sysman...ORDERS::SANTINELLIYou be me for a while, and I'll be you...Mon Nov 27 1989 12:196
Check to see if the startup is in sysman.  I found some interesting things in
sysman that I didn't even have installed on my cluster...


			sms
1786.3It looks like it is *supposed* to do this...MARVIN::WARWICKTrevor WarwickTue Nov 28 1989 03:4125
    
    Having looked a bit further, it does appear to get run twice - by
    design !
    
    VMS$CONFIG-050_VMS.COM contains the following segment:
    
    $DEFINE DECW$IGNORE_DECNET TRUE
    $DEFINE DECW$IGNORE_WORKSTATION TRUE
    $@SYS$MANAGER:DECW$STARTUP
    $DEASSIGN DECW$IGNORE_DECNET
    $DEASSIGN DECW$IGNORE_WORKSTATION
    
    VMS$LPBEGIN-050_STARTUP.COM contains the following segment:
    
    $if f$search("sys$manager:systartup_v5.com") .nes."" then -
    @sys$manager:systartup_v5 "''p1'" "''p2'" "''p3'" "''p4'" "''p5'"
    "''p6'" "''p7"
    $@SYS$MANAGER:DECW$STARTUP
    
    Obviously, the first one doesn't do any "WORKSTATION" things, but it
    still runs through a hell of a lot of DCL.
    
    Anyone know why it does this ?
    
    Trevor
1786.4STAR::MCLEMANJeff McLeman, VMS DevelopmentTue Nov 28 1989 07:231
I assume it is to install shareable images.
1786.5The Same Question 49079::TISSERANDJean-Marc TISSERAND TSC FRANCEThu Dec 14 1989 10:2616
	One of my customer asks me the same question.


	If you choose to start decwindows on your system, you do not have to
	start it twice.

	If you choose to not start decwindows on your system, you do not need to
	start it once.

	So why is decwindows started twice ?

Thanks for help.

	Jean-Marc.

1786.6Why decw$startup runs twiceSTAR::ORGOVANVince OrgovanThu Dec 14 1989 18:306
    I forget the exact details, but the essence of it is that certain
    parts of DECwindows startup must run before the system manager's
    tailorable systartup_v5.com file, whereas other functions of the
    startup must happen after systartup_v5 has executed. So it always
    runs twice, branching internally to the different sections at the
    right time.