[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

1249.0. "DECwindows served applications, how?" by RUMOR::WEBBER () Wed Aug 09 1989 12:17

Im new to DEC and DECwindows  ... Have patience with this novice ...

Applications can be added or removed from an "applications menu" or an
"Auto startup" selection via the session manager customize option on a 
user basis. Applications can be set up to run from these menus via the 
"applications definition" widget under the session manager customize option.

QUESTIONS: 1.	How does this work? (files used, routines, datapaths, etc.)

           2.	Can applications be added to these menus on a system wide
		basis? (system files involved, etc.)

           3.	I would like to set up a widget to allow users to run
		these system wide applications (RE quest 2) in a user
		selectable client/server relationship; where should I look
		for help(documentation,contacts, etc)?

                       .... In search of knowledge ....

T.RTitleUserPersonal
Name
DateLines
1249.1No takers...RUMOR::WEBBERTue Aug 29 1989 10:0563
Well I guess I will tell you what I've learned thus far:
RE:
>Applications can be added or removed from an "applications menu" or an
>Auto startup" selection via the session manager customize option on a
>user basis. Applications can be set up to run from these menus via the
>"applications definition" widget under the session manager customize option.

>QUESTIONS:     1. How does this work? (files used, routines, datapaths, etc.)
>               2. Can applications be added to these menus on a system wide
                          basis? (system files involved, etc.)
      ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
 ...Well Im still not sure how all this works , but I do know this:
 
   1. The general user defaults for the session manager(anything
      that's saved under the system manager SAVE CURRENT SETTINGS)
      are located in the users "home" (sys$login) directory, in a file
      called: DECW$SM_GENERAL.DAT

      If you make any changes to this file, they will show up the next
      time you login.

   2. The template file for DECW$SM_GENERAL.DAT is located in:

          SYS$COMMON:[DECW$DEFAULTS.SYSTEM]DECW$SM_GENERAL.DAT
                       (at least on my cluster)
  
  3. In the same directory you will find a file called:
          DECW$SESSION.DAT.
                 
     This file contains the default application definitions that come with
     DECwindows.

     If you were bold enough (and had process/priv to do so) to edit the
     file, you would find that you can add applications to the session
     manager on a system wide(cluster wide actually) level.
  
     You must append the name of the application to the record that starts
     out like:

     sm.applications:  Bookreader,Calculator,SAMPLE,etc..

     and append a record to the end of the file that contains a command
     to run it. ex:

     sm.SAMPLE.command:run sys$system:decw$sample
                      or maybe:

     sm.SAMPLE.command:sched run sample
  
         *note:  fields of the record are dilimited by periods.
                 case sensitivity.

         (provided "SAMPLE" has been inserted into the schedulers database)
                      
     If you make any changes to this file, they will show up the next
     time you login.

  4. As for how to make these applications run client/server 
     split other than using the scheduler...Im working on it. Maybe you could    
     tell me!