[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

207.0. "Decwindows in process monitoring environment" by KETJE::DIERICK (BLACK HOLES ARE OUTASIGHT) Wed Feb 15 1989 05:29

In a process control environment (chemical, nuclear) it would be
mostly not allowed to create unlimitid new windows and startup new
applications, this could cause serious perfomance degradation.
Also some of the monitoring screens may not be iconized to the icon
box or at least, it should be de-iconized then by the program in the
case of a process event.
Question : is it possible to limit the number of windows one can create
and to allow only a few applications to run ? This would probably mean
disabling the use of the session manager I guess.
Can this be done in an easy way (without rewriting the session manager
and window mgr ) ? If it has to be done the hard way, will the code
of SM and WM become available for external use (if this is non disclosure,
an offline reply is welcome).

Dominique

T.RTitleUserPersonal
Name
DateLines
207.1Time for a debate?SDSVAX::SWEENEYRoads? Where we're going we don't need..roadsWed Feb 15 1989 08:4319
    (1) The user is the best judge of what is "allowed".
    
    (2) There is little or no relationship between the steady-state number
        of windows and performance.
    
    (3) Window creation and widget creation take time but it's a small
        matter of programming to create them before they are needed and map
        them, which is a fast operation, as they are needed by an
        application.
    
    	The actual widget content may not be predictable, but its class and
        position in the widget hierarchy should be predictable.
    
    (4) Limiting what a user can do is a session manager function.  I'm
        standing in line myself with everyone else waiting to know what the
        full story is for session-manager customization user-implemented
        session managers.
        

207.2may cause perfomance problemKETJE::DIERICKBLACK HOLES ARE OUTASIGHTWed Feb 15 1989 11:1012
I agree that the creation of windows does not take much time, but
starting 'heavy' applications together might become a problem in some
cases , as is iconized windows who should be on the screen instead of
on the icon box (this could be arranged by using a mod.dialog box as a
parent).
For user-customized session managers...is there something done allready ?
I replaced the session manager by a end-user application and that
restricts to the use of one and one application only. But this is
more a trick then a strategy and I only did it for personal use.
Dominique

207.3VWSENG::KLEINSORGEToys 'R' UsWed Feb 15 1989 11:1414
    Pat,
    
    	It is reasonable in certain environments that "the best judge
    	of what is allowed" is *not* the user.  The prefix to the
    	question clearly spells out such a environment... say a
    	fission reactor monitoring system.  And there *is* a relationship
    	between the potential for deadlock (see the SCS note) and the
    	number of clients and activity on the workstation.  For (say)
    	this environment it might be valid to only allow a static set
    	of applications to be active, some *always* active and to disable
    	entirely the session manager.  *This is **not** a "desktop" system*.
    
    

207.4VWSENG::KLEINSORGEToys 'R' UsWed Feb 15 1989 11:218
    
    Why should removing or replacing the Session Manager be a "trick",
    it sounds like the appropriate thing to do in a bounded system
    such as you describe, as opposed to a general desktop system
    that the software is setup for.
    
    

207.5KONING::KONINGNI1D @FN42eqWed Feb 15 1989 12:3414
The session manager is the tool by which the user controls what applications
are using the workstation.  So if you don't want the user to control that, 
a logical approach would be not to run the session manager at all.  Instead,
start up the applications some other way, and have them create the windows
they want.

The window manager is the tool by which the user controls where windows
are positioned, whether they are occluded, and whether they are iconized.
If you don't want the user to control what the display looks like in any
way, the logical thing to do is not to run the window manager at all, but
rather have the applications position their windows where they want them.

	paul

207.6DECwindows/X provides the mechanism - you can provide the policy!IO::MCCARTNEYJames T. McCartney III - DTN 381-2244 ZK02-2/N24Wed Feb 15 1989 13:0932
That the X and Decwindows development groups recognized that they should provide
mechanism and not enforce policy is the very thing that makes it appropriate in
this situation. Nowhere is it cast in stone that you *must* start either the 
session manager or the window manager. In fact it's quite easy to *not* start
them. So, for your application, I would suggest that you just start the server,
then start your process monitoring application and let it talk directly to 
the server - no window manager, no session manager etc. The style of the monitor
won't be exactly like that of other DECwindows Applications, but as pointed out
in an earlier reply, this environment isn't a "desktop" application.

There are various points of compromise in between, like starting only the 
window manager w/o the session manager, or even starting your own custom 
window manger. There are several window managers available in the public 
domain that you might be able to start from - uwm, twm, awm and MGR (the
Bellcore window manager) - all available from a USENET archive site.

If the business is strategic to Digital, I'm pretty sure that the DECwindows
group would listen to a presentation as to what was needed in a custom WM
and if profitable, a mechanism for building the custom WM could be worked.

Actually, since I have no direct association with the group, I can only suggest
that this be the approach to getting the functions you need. I can NOT make
any commitment relative to your desired functions in the window manager.

In short, the answer is not to just "Roll you own." but "Take the parts that
you can use, omit those that do something you don't need, and provide what is
still missing youself."

James McCartney
DECforms Development

207.7DECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Wed Feb 15 1989 13:3220
I pretty much agree with James in .6, although I would expand a bit, I guess:

If you wish to do rather specialized things that are related to window positioning
and focus and the like, making a specialized window manager is probably the
way to go.  Actually, the window manager could be written to limit the number
of (top level) windows put on the screen.  It is the window manager that
maps all of these windows, after all.

Similarly, with a specialized application, you may well want to do without
the session manager.  You have to deal with issues like logging in and
security set up, but there is no reason you HAVE to use the session manager.

As to us listening to requests for customization features:  Sure, we will listen
to anything (depending on how you define listen).  The official method for
making suggestions, though, is the Phase 0 process.  Paul Steeves (STAR::) is
the product manager who should get that kind of request (although we are coming
to a close of P0 for the next version).

Burns

207.8SurrenderCALL::SWEENEYRoads? Where we're going we don't need..roadsWed Feb 15 1989 20:2313
    That's what I'm talking about when I talk about notes that can draw
    fire.  Basically, I agree with the replies others have written.
    
    re: 207.1, I'll withdraw (1) for certain process monitoring
    applications.  Fred surely knows (2) the performance impact of mega-windows
    better than I.  I guess my comments on (3) widget recycling and (4)
    user-written session managers stand as is.
    
    Having seen more third party and customer applications that determine
    screen geometry and just map the entire screen than human endurance could
    provide for, I guess I'm full of knee jerk reactions to claims that the
    application should take control of the screen from the user.