[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

1021.0. "V2 Session Manager Applications" by QUARK::LIONEL (B - L - Oh, I don't know!) Tue Jun 27 1989 12:32

Ok, yes, I'm a brave soul.  I installed V2 IFT last night.  So far, no
real problems and I like it a lot.

One of the neatest features is the ability to define applications to the
session manager, and have a set of them start automatically upon session
login.   What appears to happen is that a detached process is started
for each application, which is then run in that process.  So far, so good.

However, I would like to change some of the environment in which the
applications are run.  Primarily, I want to set a specific process name
instead of the username_SMn that it provides, and I want to set the
working set.  I can't figure out how to do this.

One way that seemed obvious was to create little command procedures for
each application that did what I want, and change the definition of the
command for the application to "@command-proc".  But it won't let me change
the definition of a system application.

Is there some trick I've missed?  There is no help nor any documentation on
this feature, so I could really use some guidance here.

				Steve

T.RTitleUserPersonal
Name
DateLines
1021.1NIGE::LESLIEandy - New DTN:774 6230Tue Jun 27 1989 12:588
    Steve
    	I just added my own version of the application name and autostart
    that.
    
    Painful tho',
    
    Andy

1021.2do things run without problems?NORGE::CHADIch glaube Ich t�te Ich h�tteThu Jun 29 1989 09:566
Quicky question -- do all my favorites like NOTES, LSE, CMS and other DEC
layered products still work or do we have to await new releases?  And what about
the internal programs linked for SDC DECwindows?

Chad

1021.3CASEE::LACROIXGone with the windThu Jun 29 1989 10:249
    Re .2:

    They should work. If they don't, then it's because of an obscure upward
    compatibility problem in DECwindows (in other words, a bug), or because
    of some strange assumptions made by a given application (unlikely, but
    I have seen it though).

    Denis.

1021.4Any answers to .0?GIDDAY::DRANSFIELDMike Dransfield, Sydney RSSGMon Jul 17 1989 02:4615
    re: .0
    
    Did anyone ever figure how to use command files for the session
    application startups?
    I just want to be able to define an application to @vwslat.com
    
    where vwslat.com contains
    $CREAT/TERMINAL MC VWSLAT
    
    This works fine from fileview, but from the session manager, it creates
    a terminal windows, hangs about for a few seconds and then disappears.
    
    thanks,
    Mike

1021.5CSSE32::LESLIEandy ��� leslieMon Jul 17 1989 08:0419
$ ! This is the command file I use for decw$quote - Andy
$ set veri
$ set term/bro
$ set bro=all
$loop:
$ pid = F$PID (context)
$ IF pid .EQS. "" THEN GOTO a_ok
$ IF F$GETJPI ("''pid'", "PRCNAM") .EQS. "Decw$quote" 
$ THEN  
$  stop/id='pid'
$ Endif
$ goto loop
$a_ok:
$ set proc/name="Decw$quote"
$ set display/node=0/create/transport=local
$ set NoOn
$ mc decw$quote
    

1021.6Figured it out for decterm applicationsWOYWOY::DRANSFIELDMike Dransfield, Sydney RSSGTue Jul 18 1989 00:4426
re: .4
Thanks for the example. That works fine for decwindows applications. for a
decterm application like vwslat I finally ended up with the following which
may be useful to someone else (It took me a while to get this!)

This is the command specified to the session manager
 
$ set veri
$create/terminal/detached-
	/input=sys$system:vwslat_command.com -
	/windows_attr=(initial=icon,title="Vwslat",icon_name="Vwslat")-
	/process="Vwslat"

and this is the file specified in the above command

$!
$define sys$login 'f$environment("default")
$define sys$scratch 'f$environment("default")
$define/user sys$input sys$output:
$mc vwslat
$stop/id=0


Mike

1021.7why all the linksNORGE::CHADIch glaube Ich t�te Ich h�tteThu Oct 05 1989 10:0835
Why do the applications I start through the SM use the DECnet transport.  
Showing known links looks like this (most are system applications).


Known Link Volatile Summary as of  5-OCT-1989 09:49:54

   Link       Node           PID     Process     Remote link  Remote user

  8244    2.60 (NUTELA)    20600058  DECW$SERVER_0      8227  CHAD
  8247    2.60 (NUTELA)    20600058  DECW$SERVER_0      8230  CHAD
  8401    2.60 (NUTELA)    20600058  DECW$SERVER_0      8339  CHAD
  8194    2.379 (NORGE)    2060005D  CHAD_SM2           8195  X$X0
  8195    2.379 (NORGE)    20600058  DECW$SERVER_0      8194  CHAD
  8196    2.379 (NORGE)    2060005C  CHAD_SM1           8197  X$X0
  8197    2.379 (NORGE)    20600058  DECW$SERVER_0      8196  CHAD
  8198    2.379 (NORGE)    2060005E  CHAD_SM3           8199  X$X0
  8199    2.379 (NORGE)    20600058  DECW$SERVER_0      8198  CHAD
  8200    2.379 (NORGE)    2060005F  CHAD_SM4           8201  X$X0
  8201    2.379 (NORGE)    20600058  DECW$SERVER_0      8200  CHAD
  8202    2.379 (NORGE)    20600064  DECW$TE_8          8203  X$X0
  8203    2.379 (NORGE)    20600058  DECW$SERVER_0      8202  CHAD
  8206    2.379 (NORGE)    20600062  CHAD_SM7           8207  X$X0
  8207    2.379 (NORGE)    20600058  DECW$SERVER_0      8206  CHAD
  8311    2.379 (NORGE)    206000A3  CHAD_SM5           8312  X$X0
  8312    2.379 (NORGE)    20600058  DECW$SERVER_0      8311  CHAD
  16420  19.113 (BULOVA)   206000A3  CHAD_SM5            342  NOTES


The ones of interest are the ones originating on node NORGE, the ones they are
started from.  I don't like all the DECnet links from my same node.

Thanks

Chad

1021.8Sounds like an oversight...STAR::VATNEPeter Vatne, VMS DevelopmentThu Oct 05 1989 13:062
Please QAR this.