[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

422.0. "Turnkey DECwindows application question" by MONSTA::COLLINS () Thu Mar 16 1989 12:59

I am currently working with a customer who is developing a DECwindows 
application to allow operators to control/monitor the output of a 
television station. The customer has asked if it possible to write
and set up the application such that when the VAXstation is booted
it (eventually) goes straight into their turnkey application, bypassing
VMS login.

I know there are various Digital Standard Arguments here and some of which
I have used, but looked at from the customer's standpoint it is an
entirely reasonable request.

Can anyone explain to me what could and could not be done in this area?

Mike Collins

T.RTitleUserPersonal
Name
DateLines
422.1VWSENG::KLEINSORGEToys 'R' UsThu Mar 16 1989 17:0110
    
    VMS is VMS right?  So you submit the turnkey application as batch
    jobs from SYSTARTUP after having started DECwindows **without**
    the session manager (it's all in the command files, you don't
    *have* to start the session manager).  There might be some issue
    about access control, but I think that was addressed in other notes
    on the topic of the DECwindows trusted access lists.
    
    

422.2Digital has it now....IO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Thu Mar 16 1989 17:2123

In the system startup file:

        $ !
	$ ! Start DECwindows but don't start the Applications
	$ !
	$ @DECW$STARTUP "SERVER,LIBS"
	$ !
	$ ! Start the dedicated application
	$ !
	$ Run/detached blah, blah, blah...
	$ !
	$ ! Start a Window Manager for the Luser
	$ !
	$ Run/detached SYS$SYSTEM:DECW$WINMMGR.EXE .....

And just wait for everything to get started.

Instant dedicated application - just add code...

James

422.3Not quite there yetMONSTA::COLLINSMon Mar 20 1989 09:5819
re. Turnkey DECwindows application.


Thanks for the responses. I still have a bit of a problem. 

re .1, I can't even find where the session manager is started! I found 
decw$startsm.com but can't find where it is called from or where
decw$session.exe might otherwise be invoked from.

re .2, I tried that but found a problem with decw$startup.com. Where it
decides to spawn itself it does not pass on the parameters it was originally
called with and so the p1 parameter "SERVER,LIBS" ended up as null when the
code got as far as deciding whether to invoke decw$startapps.com. I
fixed this and all I ended up with on the screen was the default tile
pattern and a pointer. No windows no nothing....halt button only way out.

I'm sure I'm missing something somewhere, is what I'm trying to do explained
anywhere?

422.4The reason you didn't get anything up...IO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Tue Mar 21 1989 22:1713
Once DECW$STARTUP spawns itself the mainline of SYSTARTUP_V5 continues without
waiting for DECW$STARTUP to complete. This means that the command to start your
application will be executed well before DECW$STARTUP gets the server started.
If you check your startup logs, then you will most likely find that your
application died with a "can't open display" error...

I suggest you stick in a "WAIT 00:02:00" (or however long it takes) to wait
until DECW$STARTUP gets finished. Or even better, make decw$startup not spawn
by defining the logical DECW$IGNORE_SUBPROCESS.

James

422.5MagicMONSTA::COLLINSThu Mar 23 1989 04:004
Thanks again. It works a treat and I now have a very happy customer.

Mike