[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

2164.0. "Foreign Commands from Session Manager" by MARX::WALSH () Mon Jan 29 1990 22:18

    I am trying to set up a foreign command to be run by the session
    manager.  Is this possible?  Does the session manager
    executed the login.com before activating each process?
    
    I have an X windows program that accepts commands from the command
    line.  I am trying to use that command from the session manager but I
    am not able to.
    
    I have put the following line as the first line in either
    DECW$LOGIN.COM or LOGIN.COM
    
    $dw_net :== $sys$tools:dw_net.exe
    
    Then I have a application defined as 
    
    dw_net
    
    Session manager tells me it is executing dw_net but nothing ever
    happens.  Am I missing something or doesn't this work?
    
    Dan
T.RTitleUserPersonal
Name
DateLines
2164.1more on application environment restrictionsSTAR::BROUILLETTEWed Mar 07 1990 17:2415
    
    The Session manager executes decw$login.com.  It is the only process
    which executes that command file.  When you create an application, the 
    session manager does a CREPRC, running loginout so login.com runs for
    the new process.  The session manager sets sys$input equal to a
    mailbox.  Then it sends the command to the mailbox, followed by a
    command which logs the process out. So, the session manager is sending
    the string dw_net to the new process.  The new process has executed
    login.com, so it should know about that symbol.
    
    This process that runs dw_net will have sys$input = MBAx and sys$output
    = WSA device.  Can this program handle that case?  Also, when you
    return from the DCL command that runs the application, the process will
    be logged out.