[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

1847.0. "Re-Customize Session Manager for 5.3 - Questions" by SMAUG::MENDEL (What've we done to our fair sister?) Tue Dec 05 1989 14:29

    For those with time to spare on general questions ...

    I just upgraded my 2000 to VMS 5.3, and began re-customizing my environment
    back to what it was. I had some problems?

    1) I notice that when I define applications under the session manager,
       and then I use the application pulldown to start them, they execute
       my LOGIN.COM. Since f$mode() is "INTERACTIVE", I cannot detect such 
       a process in my LOGIN.COM. And so many extra things are done in the
       LOGIN.COM that I'd rather avoid doing just to start XCMap, for instance.

       How do I detect in LOGIN.COM that I am executing in a process created
       by Session Manager for an application?

    2) Can I avoid having LOGIN.COM execute to start applications from the
       Session Manager?

    3) How come application definitions of the form RUN xxx /OUT=NL: /PROC=zzz
       don't work? They leave no message in DECW$SM.LOG to find out.
       This way, I could name the processes "XCMap" instead of "Kevin Mendel 3",
       (set by my login.com because it thinks its a terminal).
    
    4) I used XDEFAULTS to set my session manager icon name, pause button label,
       and quit button label, to be my own creations.

       Are any of these customizations still possible?

T.RTitleUserPersonal
Name
DateLines
1847.1Check for a terminalBOMBE::MOOREBaN CaSe_sEnSiTiVe iDeNtIfIeRs!Tue Dec 05 1989 22:273
    I use f$getdvi("SYS$COMMAND","trm") to distinguish between 'real'
    interactive jobs (connected to a terminal) versus those DECwindows
    impostors...
1847.2SMAUG::MENDELWhat've we done to our fair sister?Wed Dec 06 1989 13:255
    I found out that you can also see if the terminal is a mailbox.

    $ if f$loc("MBA",f$trm("TT")) .eq. 0 then it's session manager spawn

    This leaves questions 2), 3), and 4).
1847.3What is F$TRM ?DSTEG1::LUNDWed Dec 06 1989 14:343
 $ xxx = f$loc("MBA",f$trm("TT"))
%DCL-W-IVFNAM, invalid lexical function name - check validity and spelling
 \F$TRM(\
1847.4Try $ xxx = f$locate("MBA",f$trnlnm("TT"))JGL::JLENIHANByte TwiddlerThu Dec 07 1989 04:302
    
    
1847.5SMAUG::MENDELWhat've we done to our fair sister?Thu Dec 07 1989 08:391
    Sorry. I made a type. f$trm ==> f$trn. -Kevin
1847.6Disable customize menu option for SM???REJOIC::OMBARDOTLA's =26!3 possibilitiesMon Dec 11 1989 16:2017
    
    How can I grey out/disable the APPLICATIONS DEFINITIONS, APPLICATIONS
    AUTOSTART, and APPLICATION MENU from the Customize pull down menu
    from the SESSION MANAGER?
    
    My group is developing a product that we want to prevent the users
    from some functions, such as those listed above.
    
    We are setting up a captive login.  Where the AUTOSTART function will
    run our executable.     We do not want the user to be able to create
    DECterms or use FileVue, therefore, we want to disable some items
    from the CUSTOMIZE pull down menu.
    
    Thank you!
    
    Lisa Lombardo
    FSG Engineering
1847.7SMAUG::MENDELWhat've we done to our fair sister?Wed Jan 03 1990 12:139
        In VMS V5.1, I used XDEFAULTS to set my session manager icon name,
        pause button label, and quit button label, to be my own creations. 

	Are any of these customizations still possible?

	Thanks, 

	Kevin

1847.8SMAUG::MENDELWhat've we done to our fair sister?Mon Jan 15 1990 13:036
	.7 is a simple yes or no question. Anyone?

	(I know there are no guaranteed answers in this conference. So I don't
	guarantee not to nag ... ;^} )

	Kevin
1847.9Unfortunately the answer is noIOSG::MARCHANTRhinestone CowboyMon Jan 15 1990 18:263
    ... unless you have the UIL sources.

    Paul.
1847.10sneefTOOLS::BACHNERI'm not a bug - I'm a featureSun Jan 21 1990 18:4710
Re: .9

� Unfortunately the answer is no

I used to have a two-lines SM icon-name with 5.1. As I use the big icon style,
this helped me to keep the icon smaller.

Any plans on this for the future ?

Hans.