[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

338.0. "OSF MOTIF when ??? (Degenerates to HPWM discussion)" by YOSMTE::GAVIN_PA () Tue Mar 07 1989 17:39

    Apollo are showing a preliminary version of MOTIF to customers
    and I would like to know the status of our version of the MOTIF
    user interface. Can anyone help ???
    

T.RTitleUserPersonal
Name
DateLines
338.1Current Motif schedule (still subject to change)R2ME2::GRASSSteve GrassWed Mar 08 1989 12:208
Well, the current Motif schedule follows:

  Alpha release - April 17
  Beta release  - May 30
  Final OSF delivery - July 7

					steve

338.2a "snapshot" is available for use internally...FUEL::grahamif ya want home cookin, stay homeSun Mar 19 1989 04:5310
 Matt Thomas has made available an Ultrix version.  
This was announced in the Ultrix Conference (dir/title=3am ..at NAC::ULTRIX).
I hope a VMS ninja will port it for VMS users.

This snapshot gives you the HP/OSF Motif Window Manager.
Also some files for various widgets have floating around internally for
for some time now.

Kris...

338.3MU::PORTERwaiting for BaudotSun Mar 19 1989 15:145
    Can anyone translate this to English, please?  i.e., what's
    an "OSF Motif"?
    
    Thanks

338.4PSW::WINALSKIPaul S. WinalskiSun Mar 19 1989 19:249
"Motif" is OSF's name for their standard bitmapped graphical toolkit and UI
style layered on top of X Windows.  It is the compromise that OSF accepted
combining elements of the HP/MicroSoft toolkit submission with our XUI
submission in response to their windowing RFT.  Essentially "look and feel" and
window manager come from the HP/MS submission while the widget set and
programming interface are from XUI.

--PSW

338.5HP Window manager available for VMSUFP::MURPHYThe SUN just set!Thu Mar 30 1989 18:3227
    For the adventuresome among you:
    The aforementioned window manager is available at:
    UFP::SYS$KITS:[HPWM]. HPWM.EXE is the window manager.
    			  HPWM.RC is the menu definitions and key
    			  definitions; put this in DECW$USER_DEFAULTS:.
    			  DECW$XDEFAULTS.DAT contains as much documentation
    			  as I have on resources... using what's in this
    			  file will allow you to customize to your heart's
    			  content.
    
    
    I quite like this window manager..give it a try and see what you think.
    
    To run it, shoot down the decwindows window manager (usually DECW$WM_1)
    and run HPWM. The windows will be decorated with three buttons usually;
    the leftmost button brings down a menu. The two buttons on the right
    iconify and maximize a window.
    
    Clicking on the root background will bring up a menu; this gets defined
    in the HPWM.RC file.
    
    My .RC file allows moving a window by grabbing the border with MB2, and
    resize by grabbing with MB1. You can swap this around if you want.
    
    If you install this, send me mail so I can inform users of any updates.
    	-Rick

338.6STAR::MFOLEYRebel without a ClueThu Mar 30 1989 20:579

	I'm running this now and I LIKE it!  Just gotta play with the 
	XDEFAULTS and I should be golden..  NICE job!!!!

	(I love the one button "Pop to a full screen"!!)

						mike

338.7LESLIE::LESLIEThu Mar 30 1989 22:072
    Is it too much to suppose that CHILD works okay with this?

338.8Well, CHILD & hpwm/Ultrix work OK.MIPSBX::thomasThe Code WarriorThu Mar 30 1989 22:441
338.9Glad you like it!UFP::MURPHYThe SUN just set!Thu Mar 30 1989 23:199
    Buglet time: if you start hpwm directly from the session manager, you
    won't be able to execute any programs, and restart won't work. There's
    no CLI in this case to spawn with.
    The next two replies contain the resource settings for a monochrome ws
    (my xdefaults was stolen from a color ws) and a listing of the
    functions available in the menu processor. There's not much more doc
    around... sorry.
    	-Rick

338.10Monochrome resources (in DECW$XDEFAULTS.DAT)UFP::MURPHYThe SUN just set!Thu Mar 30 1989 23:2816
Hpwm.internalBevel:			4
Hpwm*Background:			Black
Hpwm*Foreground:			White
Hpwm.foreground:			black
Hpwm.background:			white
Hpwm*makeActiveColors:			false
Hpwm*makeColors:			false
Hpwm*activeBackground:			Black
Hpwm*activeBackgroundTile:		background
Hpwm*activeForeground:			White
Hpwm*activeTopShadowTile:		foreground
Hpwm*borderColor:			black
Hpwm*BorderWidth:			20
Hpwm.menu.backgroundTile:		background
!Hpwm.menu.BorderWidth:			2

338.11f.xyz function listUFP::MURPHYThe SUN just set!Thu Mar 30 1989 23:3236
Here's the list of f.mumbles in the hpwm.rc file. Many are not yet implemented.

Beep
Circle_Down
Circle_Up
Exec
Focus_Color
Focus_Key
Kill
Lower
Maximize
Menu
Minimize
Move
Next_Cmap
Next_Key
Nop
Normalize
Post_SMenu
Post_WMenu
Prev_Key
Quit_Hpwm
Raise
Raise_Lower
Refresh
Refresh_Win
Resize
Restart
Separator
Title
Destroy
Focus_Extension
Function
Send_Msg
    

338.12STAR::MFOLEYRebel without a ClueFri Mar 31 1989 03:486
       RE: .7
       
       	Child works peachy Andy...
       
       						mike

338.13couple of questionsMARVIN::WARWICKWell, that'll never workFri Mar 31 1989 08:3410
    
    How does one control where the icons get put by default ? I'd like them
    to go along the top of the screen - currently, they end up in a row at
    the bottom.
    
    Also, I'd like to know if it's possible to get the "prev_key" function
    to only select expanded windows, rather than the icons as well.
    
    Trevor

338.14LESLIE::LESLIEFri Mar 31 1989 12:257
I love it! It "feels" much quicker for some reason. 

Wil the official DECWindows have this Window Manager Interface? Its REALLY 
nice.

Andy

338.15Hpwm.iconPlacementTALLIS::ZANZERKIAFri Mar 31 1989 13:5715
    In the Ultrix defaults file .Xdefaults the icon placement is controlled
    by
    
    Hpwm.iconPlacement:		left bottom
    
    In your case if would be "left top"
    
    I am NOT sure if all resources are same in Ultrix and VMS versions of
    hpwm.
    
    I actually run the hpwm from Ultrix(8800) and point it to my MV running VMS.
    It works just greate.
    
    Robert

338.16restart wms?NORGE::CHADFri Mar 31 1989 14:558
It is interesting but I prefer the DECWwindows wm.  It looks more polished
to me...  Anyway, my real question is how do I restart the DECwindows
wm after running this one (or uwm).  Everything seems to die.

Thanks
Chad

338.17OSF or not?CASEE::LACROIXGone with the windFri Mar 31 1989 15:488
    Re .most:

    Folks here who have seen the real window manager submitted to OSF claim
    that it is incredibly more 'flashy' than HPWM. In short, they were
    blown away. What is HPWM compared to the one HP/Microsoft gave to OSF?

    Denis.

338.18OSF Motif is only more Flashy...same functionality..FUEL::grahamif ya want home cookin, stay homeFri Mar 31 1989 17:578
The OSF demo uses HPWM with some special demos added....including menubar 
where applications can be automatically fired off... a draw/image widget, and
a few other nice things.

The basic funtionality is still the same.

								Kris..

338.19Another Resource Question...MRFLEX::MILLERBush For President...Kate Bush!Fri Mar 31 1989 18:0011
Anyone know how to use the Control key <Ctrl> in defining 
DefaultButtonBindings?  I've tried:

Ctrl<Btn3Down>    window     f.minimize

to no avail.

Thanks,

         == ken miller ==

338.20Fun -- Resize problems & comment on icon positioningROBOT::ENDSLEYMJ Endsley, SWS @ St. LouisFri Mar 31 1989 18:2625
    I like it...

    A question to you folks playing with it -- does anyone else have
    problem with resizing windows?  When I extend the left edge of DECterm,
    for instance, only the scroll bar and an underlying window are resized
    -- the main window (e.g. the one with the text) remain unaffected.
    It's almost as if a geometry request is being passed far enough along.

    Curiously, I witness the same behavior with PCX$UWM.  I wonder if its a
    bug in our toolkit or if uwm and hpwm happen to share the same bug?

    RE: Icon placement

    In playing with the iconPlacement resource, you can do very interesting
    things, depending on the order of the top/bottom, left/right options.
    For instance, a row of icons along the top marching right-to-left would
    be:

	Hpwm.iconPlacement: top right

    A row of icons place vertically on the left, descending from the top:

	Hpwm.iconPlacement: left top
    

338.21It's a feature, I thinkPRNSYS::LOMICKAJJeff LomickaFri Mar 31 1989 20:124
Try different settings of the two "Auto Resize" entires in the Window
entry in the Customize menu of the DECTerm.


338.22Not bad...DECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Fri Mar 31 1989 21:348
Hmmm...not bad at all.  But what I want to know is how
come the icons are allowed to get focus during cycle
(or even clicking on them in the default (w/o a .rc
file) mode)?  They still don't actually take characters,
but they do seem to brighten.

Burns

338.23LESLIE::LESLIEFri Mar 31 1989 21:435
    Anyone else notice that the "Remove" key just isn't seen with this WM
    running?
    
    This on a VS2000 GPX 4-plane.

338.24A couple of nitsBESSIE::HOYTJunk mail that talks back!Fri Mar 31 1989 21:526
1. My hpwm.rc file (which is in sys$login:) seems to be ignored -- it takes
a double-click to deiconify anything and the root menu doesn't work at all
(nothing like my hpwm.rc behavior).

2. The 'Remove' key stops working.

338.25What's in your HPWM.RC?MIPSBX::thomasThe Code WarriorFri Mar 31 1989 22:564
Re: .23, .24

Remove all remove references to 0x1000FF00 in your HPWM.RC.

338.26bleah!PSW::WINALSKIPaul S. WinalskiSat Apr 01 1989 17:0113
Well, I have to register a dissenting opinion.  I think its window decorations
look hideous.  The buttons in the title bar are too small to hold meaningful
icons, it's awfully hard to tell when you've activated one after clicking on
it, and where did they get that ghastly font from??

Functionally it looks like it might be an improvement over the DECwindows
window manager, but I find the form so revolting that I haven't bothered to
explore all of what it can do.

I hope that OSF/Motif fixes this up before they release it.

--PSW

338.27MU::PORTERwaiting for BardotSat Apr 01 1989 17:455
    re .-1	I concur, and would also add that the quarter-inch-thick
    		borders are hugely ugly. (Mind you, even the DECwindows
    		WM goes overboard here -- two pixels when one would do!).
    

338.28Answers, questions...KALKIN::BUTENHOFBetter Living Through Concurrency!Sat Apr 01 1989 18:4927
I started playing with HPWM on Friday.  It's great!  I've already modified my
startup to run it by default (redefining DECW$WINMGREXE).  The only problem with
that style is that it doesn't find HPWM.RC... and I figured out how to fix this
(this may also be the answer to BESSIE::HOYT's question in .24).  In
DECW$XDEFAULTS.DAT, set the resource "configFile" like the following...

Hpwm*configFile: dua0:[butenhof]hpwm.rc

As for the REMOVE key... I've no idea what the default bindings are, but the
hpwm.rc that was posted defines REMOVE to expand icons, and CTRL/SHIFT/REMOVE
to shrink windows.  I hadn't even realized until I opened this conference now
that HPWM was responsible, but it makes sense (since it does seem to work even
inside the window).  I'll try changing the .rc to use CTRL/SHIFT/REMOVE for
both functions (they are qualified by object type, so I assume that should be
possible).

Someone else commented on the thickness of the resize borders... they can be
customized with "Hpwm*resizeBorderWidth".

Now, a question:  there are both "font" and "iconFont" resources in the sample
resource file... but HPWM appears to ignore iconFont.  Anybody know anything
about this?  I tried to make it use 12pt Souvenir Demi for the window titles
(which works) and 10pt Souvenir Light for the icon titles so it would clip less
of the title... but it still uses 12pt.

	/dave

338.29I *like* thick borders, and menu strips rather than title bar buttons...MCNALY::MILLERBush For President...Kate Bush!Sat Apr 01 1989 20:008
If you ask me, the last several replies to this topic proves without a doubt
why DECwindows *must* support customization.  You just can't please
everybody!

Regards,

                    == ken miller ==

338.30UggllyySTAR::BECK- 2B or D4 - that is the questionSun Apr 02 1989 03:3510
    I have to concur with PSW - it's got a few features that are nicer
    than what we've been using, but on the whole it's uglier than sin
    and some things (like resizing) are positively sluggish on my
    machine. The one thing I liked was the individual icons - but they
    should be draggable (if they aren't; I couldn't get them to move).
    ALso, it's got bugs: I managed to get two applications stuck in one
    icon. Go figure.
    
    After about an hour wasted, back to the DECwindows window manager.

338.31LESLIE::LESLIESun Apr 02 1989 19:095
    Paul, odd that, its faster on my VS2000 than the "real" window
    manager.
    
    As to moving Icons, press MB2 over 'em and they move a treat.

338.32Compromise, compromiseDECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Mon Apr 03 1989 00:5518
    re .30:  Paul:  If you are using the default actions (without an RC
    file), then the icons drag with mouse button 1 and deiconnify with
    a double click of MB1.  If you are using the RC file supplied in the
    directory where you go HPWM, then the icons drag with one of the other
    mouse buttons (either 2 or 3...don't remember which) and deiconify with
    a single click of MB1.
    
    I also found it to be nice and quick.  I agree that there is room for
    improvement in the form.  I think the decoration looks to "heavy" and
    "clunky", although I like the 3D look dislike the font.  I suspect
    these factors are all being juggled in a great compromise.  For
    example, to get a better font, you may have to make the border wider
    which makes it look clunker.  To make the border thinner w/o using
    a yeuchy font, you may have to do away with 3d.
    
    Burns
    

338.33KONING::KONINGNI1D @FN42eqMon Apr 03 1989 18:3011
The "3D" look reminds me of the fins on early '60s cars: it looks amusing but
has no value.

The customization might be useful, though customization is a two-edged
sword.  (Make any change and the documentation becomes invalid...)  The
"root menu" function I found useful.

On the whole, I agree with PSW, I'll stick to DECwm.

	paul

338.34Call me "John Paul"POOL::HALLYBThe Smart Money was on GoliathMon Apr 03 1989 19:2510
    Wow -- three "Paul"s all in agreement!  I concur as well, the fonts
    suck, the borders are too wide, the pulldowns look like 3rd-grade work.
    It does provide an iteresting contrast between the window manager's
    job and the Toolkit's job.
    
    On the other hand, it does seem to run faster than our WM.  Perhaps
    theirs doesn't use a general-purpose toolkit so is more compact.
    
      John

338.35Try it like thisLESLIE::LESLIEMon Apr 03 1989 19:4120
!    Try this as your decw$xdefaults.dat:
*blinkRate: 0
*slider: LightGrey
*sessionmenu.PauseButton.label: Call up Pause Screen
*sessionmenu.QuitButton.label:  Die in Flames                
Hpwm.internalBevel:                     4
Hpwm*makeColors:                        true
Hpwm*background:                        LightGrey
Hpwm*activeBackground:                  #bbffdd
Hpwm*backgroundTile:                    background
Hpwm*font:      -Adobe-ITC Souvenir-Demi-R-Normal--*-120-*-*-*-*-ISO8859-1
Hpwm*iconFont:  -Adobe-ITC Souvenir-Light-I-Normal--*-100-*-*-*-*-ISO8859-1
Hpwm*resizeBorderWidth:                 5
Hpwm.iconPlacement:                     right bottom
Hpwm.iconImageMinimum:                  16x16
Hpwm*DECW$BANNER.clientDecoration:           -minimize -maximize -resize -syste
Hpwm*configFile: sys$login:hpwm.rc
*DECW$TERMINAL.initialState: 3
*DECW$Mail.initialState: 3

338.36.Xdefaults from my Ultrix machine...pick what you wantFUEL::grahamif ya want home cookin, stay homeMon Apr 03 1989 20:42232
There are many things you can do with the HPWM if you put in some time
and patience ;-).....I copied the HP documentation from DECWRL::....

I agree with many of the comments (both pros and cons..).  It must be
remembered that the HPWM is  still sort of a hack ...should get better
over time.

Kris..
-------------------------------------------------------------------------------
*.*blinkRate:				0
#ifndef COLOR
*.*foreground:				white
!*.*background:				black
*.*slider:				white
*.*highlight:				white
*.*borderColor:				white
#endif

!*.*shadow:				on
!
!
! DEC Session Manager
!
sm.keyclick_percent:			86
sm.pointer_shape:			68
sm.create_terminal:			1
sm.message_size_rows:			12
!sm.startup_state:			iconified
sm.terminalEmulatorName:		xterm
sm.windowManagerName:			./hpwm
sm.message_history_size:		25
sm.num_hosts:	3
sm.host_list:	FUEL::,localhost,karass::*
sm.mouse_accel_denominator:		-1
sm.mouse_accel_numerator:		-1
sm.mouse_accel_threshold:		-1
!sm.MainWindow.x:			
!sm.MainWindow.y:			
!sm.MainWindow.width:			630
!sm.MainWindow.height:			280
!sm.MainWindow*DwtText*font:		-*-Courier-Medium-R-Normal--*-120-*-*-M-*-ISO8859-1
!sm.MainWindow*SText*font:		-*-Courier-Medium-R-Normal--*-120-*-*-M-*-ISO8859-1
!sm.MainWindow.menubar*font:		!-*-Helvetica-Medium-R-Normal--*-100-*-*-*-*-ISO8859-1
!sm.*sessionmenu*font:			-*-Helvetica-Medium-R-Normal--*-100-*-*-*-*-ISO8859-1
!sm.*createmenu*font:			-*-Helvetica-Medium-R-Normal--*-100-*-*-*-*-ISO8859-1
!sm.*setupmenu*font:			-*-Helvetica-Medium-R-Normal--*-100-*-*-*-*-ISO8859-1
!sm.*printmenu*font:			-*-Helvetica-Medium-R-Normal--*-100-*-*-*-*-ISO8859-1
!sm.*helpmenu*font:			-*-Helvetica-Medium-R-Normal--*-100-*-*-*-*-ISO8859-1
sm.display_pattern:	45
sm.display_background:	#ee138ccc8f5b
sm.display_foreground:	#000000000000
#ifdef COLOR
sm*foreground:				firebrick
sm*background:				wheat
sm*borderColor:				black
sm*slider:				mediumvioletred
sm*highlight:				red
#endif
!
!
!
!xterm.borderWidth:			0
!#ifdef COLOR
!xterm*foreground:			yellow
!xterm*background:			#ab723b
!#endif
!
!
!
!sm*windowManagerName:			hpwm
!
! Resources for the HP window manager
!
Hpwm*font:				-*-Helvetica-Bold-R-Normal--*-120-*-*-*-*-ISO8859-1
!
! Colormap Focus:			explicit keyboard pointer
! Frame Decorations:			[sign] decor_spec [decor_spec ...]
!	sign:				['+' | '-']
!	decor_spec:			[sign] decor_name
!	decor_name:			"all" | "none" | "title" | "titlebar" |
!					"system" | "minimize" | "maximize" |
!					"resize" 
! Keyboard Focus:			explicit pointer
! Icon Decorations:			image label activelabel
! Icon Placement:			bottom left pack right top
! Make Color:				all false none shadow true
!
! Global Resources:
!
!Hpwm.acceleratedFunctions:		
!Hpwm.autoRaiseDelay:			1000
Hpwm.bitmapDirectory:			/usr/include/X11/bitmaps
!Hpwm.buttonBindings:			DefaultButtonBindings
!Hpwm.colormapFocusPolicy:		keyboard
!Hpwm.configFile:			
!Hpwm.doubleClickTime:			500
!Hpwm.extensionFocusPolicy:		keyboard
!Hpwm.freezeOnConfig:			True
!Hpwm.iconAutoPlace:			True
!Hpwm.iconDecoration:			label image
!Hpwm.iconFont:				
!Hpwm.iconImageMaximum:			50x50
!Hpwm.iconImageMinimum:			32x32
!Hpwm.iconPlacement:			left bottom
!Hpwm.iconPlacementMargin:		-1
!Hpwm.initializeClasses:
Hpwm.interactivePlacement:		false
#ifdef COLOR
!Hpwm.internalBevel:			2
#endif
#ifndef COLOR
Hpwm.internalBevel:			4
#endif
!Hpwm.keyBindings:			DefaultKeyBindings
Hpwm.keyboardFocusPolicy:		explicit
!Hpwm.limitResize:			False
!Hpwm.maximumMaximumSize:		0x0
!Hpwm.moveOpaque:			False
!Hpwm.moveThreshold:			4
!Hpwm.passSelectButton:			True
!Hpwm.positionIsFrame:			True
!Hpwm.positionOnScreen:			True
!Hpwm.quitTimeout:			1000
Hpwm.resizeBorderWidth:			5
!Hpwm.resizeCursors:			True
!Hpwm.resizeThreshold:			4
!Hpwm.restartSettings:
!Hpwm.setupColormaps:			False
Hpwm.transientDecoration:		Title resize
!Hpwm.workspaceMenu:
! The following resources are per-class resource:
! 	"Hpwm.<client_class>.<resource_identifier>"
!
Hpwm.xclock.clientDecoration:		all - title
Hpwm.xload.clientDecoration:		all - title
!Hpwm.NONAME.clientDecoration:		All
!Hpwm.NONAME.focusAutoRaise:		True
!Hpwm.NONAME.iconImage:			
!Hpwm.NONAME.iconImageBackground:
!Hpwm.NONAME.iconImageBottomShadowColor:
!Hpwm.NONAME.iconImageBottomShadowTile:
!Hpwm.NONAME.iconImageForeground:
!Hpwm.NONAME.iconImageTopShadowColor:
!Hpwm.NONAME.iconImageTopShadowTile:
!Hpwm.NONAME.makeIconColors:		shadow
!Hpwm.NONAME.makeMatteColors:		shadow
!Hpwm.NONAME.matteBackground:
!Hpwm.NONAME.matteBottomShadowColor:
!Hpwm.NONAME.matteBottomShadowTile:
!Hpwm.NONAME.matteForeground:
!Hpwm.NONAME.matteTopShadowColor:
!Hpwm.NONAME.matteTopShadowTile:
!Hpwm.NONAME.matteWidth:		0
!Hpwm.NONAME.maximumClientSize:		0x0
!Hpwm.NONAME.pointerAutoRaise:		False
!Hpwm.NONAME.systemMenu:		DefaultSystemMenu
!
! wmAppearanceResources
!
! These resources are specified with the following syntax:
!
!	"Hpwm*<resource_identifier>"
!	"Hpwm.client.<resource_identifier>"
!	"Hpwm.icon.<resource_identifier>"
!	"Hpwm.menu.<resource_identifier>"
!
!Hpwm.XXXXX.background:			White
!Hpwm.XXXXX.backgroundTile:		25_foreground
!Hpwm.XXXXX.bottomShadowColor:		Black
!Hpwm.XXXXX.bottomShadowTile:		foreground
!Hpwm.XXXXX.font:			fixed
!Hpwm.XXXXX.foreground:			Black
!Hpwm.XXXXX.makeActiveColors:		shadow
!Hpwm.XXXXX.makeColors:			shadow
!Hpwm.XXXXX.topShadowColor:		Black
!Hpwm.XXXXX.topShadowTile:		50_foreground
!Hpwm.XXXXX.activeBackground:		
!Hpwm.XXXXX.activeBackgroundTile:	background
!Hpwm.XXXXX.activeBottomShadowColor:	
!Hpwm.XXXXX.activeBottomShadowTile:
!Hpwm.XXXXX.activeForeground:
!Hpwm.XXXXX.activeTopShadowColor:
!Hpwm.XXXXX.activeTopShadowTile:

#ifdef COLOR
Hpwm*makeColors:   			true
Hpwm*Background:			tan
Hpwm.menu*Foreground:			#a0a0a0
Hpwm.menu*Background:			SkyBlue
Hpwm*Background:			SkyBlue
Hpwm*Foreground:			#ffffff
Hpwm*activeBackground:			SkyBlue
Hpwm*activeForeground:			#ffffff
Hpwm*icon*topShadowColor:		thistle	
Hpwm*icon*background:			wheat
Hpwm*icon*foreground:			NavyBlue
Hpwm*icon*makeColors:			true
#endif
#ifndef COLOR
!Hpwm*Background:			Black
!Hpwm*Foreground:			White
!Hpwm.foreground:			black
!Hpwm.background:			white
!Hpwm.bottomShadowTile:			75_foreground
!Hpwm.backgroundTile:			50_foreground
!Hpwm.topShadowTile:			25_foreground
!Hpwm*bottomShadowTile:			50_background
!Hpwm*topShadowTile:			50_background
!Hpwm*makeActiveColors:			false
!Hpwm*makeColors:			false
!Hpwm*activeBackground:			Black
!Hpwm*activeBackgroundTile:		background
!Hpwm*activeBottomShadowTile:		50_foreground
!Hpwm*activeForeground:			White
!Hpwm*activeTopShadowTile:		foreground
!Hpwm*borderColor:			black
!Hpwm*BorderWidth:			1
!Hpwm.menu.backgroundTile:		background
!Hpwm.menu.BorderWidth:			2
#endif

#ifdef COLOR
colordemo*Valuator*Height:		200
colordemo*Valuator*Width:		32
colordemo*font:	fixed
colordemo*background:		        #feffbb
colordemo*Quit*background:		plum
colordemo*Color*background:		white
colordemo*StaticText*Strip:		False
#endif
!

338.37Users MUST be able to select WMs!VINO::WITHROWRobert WithrowMon Apr 03 1989 22:4116
RE .26, .27, and others:

That is why it should be *EASY* for *USERS* to use whatever window
manager they want.  Right now, the current implimentation seems to make
it almost impossible for a *USER* to automatically user a different
window manager.  (The reason I am *HIGHLIGHTING* the word *USER* is because
the only easy way to substitute a WM is to modify the startup file, which
is done by a *SYSTEM MANAGER*.)  It should NEVER be POLICY to force a
user to use a spcific window manager!

(I must HAVE been READING too much DVORAK).....

P.S.: I hate all of the extraneous window dressing that both the DECW and
HPWM window managers add.  That is why I like the UWM best:  I can have
lots more windows on the screen and still see what is going on....

338.38Results of some fiddlingGVAADG::RITCHIEAndrew Ritchie, ISTG, GenevaTue Apr 04 1989 15:0547
I like the additional features not sure about the look though.

Re: .16

>...Anyway, my real question is how do I restart the DECwindows
>wm after running this one (or uwm).  Everything seems to die.

If you don't kill off your window manager, but simply redefine the logical 
DECW$WINMGREXE to the window manager you want to use and then quit the 
session via the session manager, next time you start a session it will use
whatever window manager you have defined.

Re: .19

>Anyone know how to use the Control key <Ctrl> in defining 
>DefaultButtonBindings?  I've tried:
>
>Ctrl<Btn3Down>    window     f.minimize

I have it defined exactly the same and it works fine

Re: .20

>    A row of icons place vertically on the left, descending from the top:
>
>        Hpwm.iconPlacement: left top
  
This gives me a row of icons along the top of the screen and seems to be
the same as:

	 Hpwm.iconPlacement: top left 

To get a row of icons placed vertically on the left, descending from the top
I used:

	 Hpwm.iconPlacement: top bottom

Re: .23,.24

The REMOVE key seems to work fine providing the icon/window has input focus.
This could be the reason why icons are allowed to get focus without actually
accepting characters.


Andrew.

338.39ERIS::CALLASThere is only one 'o' in 'lose.'Tue Apr 04 1989 17:2386
    Well, I think that the HPWM is stunningly wonderful. It has all sorts
    of things that I like -- a cycle key (and a backwards cycle key), a
    definable background popup menu, no icon box, it doesn't *insist* that
    borderless windows float above everything else, etc.
    
    Now, the defaults on the thing look like someone did some careful human
    factors research to ensure that it would be as ugly as possible. But
    with a wee bit of customization, it's almost as good as -- sliced
    bread.
    
    	Jon
    
    Here's what I have:
    
    In my decw$xdefaults (borrowed liberally from Andy Leslie):
    
#
# HP Window Manager
#
Hpwm.internalBevel:                     4
Hpwm*makeColors:                        true
Hpwm*background:                        LightGrey
Hpwm*activeBackground:                  Sienna
Hpwm*backgroundTile:                    background
Hpwm*font:      -Adobe-ITC Souvenir-Demi-R-Normal--*-120-*-*-*-*-ISO8859-1
Hpwm*iconFont:  -Adobe-ITC Souvenir-Light-I-Normal--*-100-*-*-*-*-ISO8859-1
Hpwm*resizeBorderWidth:                 5
Hpwm.iconPlacement:                     left top
Hpwm.iconImageMinimum:                  16x16
Hpwm*DECW$BANNER.clientDecoration:           -minimize -maximize -resize -syste
Hpwm*configFile: sys$login:hpwm.rc
    
    And my hpwm.rc is:
    
Menu DefaultSystemMenu
{
"Push behind"       f.lower
"Pop in front"      f.raise
"Change the size"   f.resize
"Shrink to an icon" f.minimize
no-label            f.separator
Move                f.move
Delete              f.kill
"Expand window" f.maximize
}
Menu RootMenu
{
"Root Menu"             f.title
"Commands"              f.menu Commands
no-label                f.separator
"Refresh"               f.refresh
"Shuffle Up"            f.circle_up
"Shuffle Down"          f.circle_down
no-label                f.separator
"Restart wmgr"          f.restart
}
Menu Commands
{
"Commands"      f.title
"Mail"          f.exec "run sys$system:decw$mail"
"Notepad"       f.exec "run sys$system:decw$notepad"
"Freemem"       f.exec "run sys$system:freemem"
"Notes"         f.exec "notes/dec"
"Calculator"    f.exec "run sys$system:decw$calc"
"Calendar"      f.exec "run sys$system:decw$calendar"
}
Keys DefaultKeyBindings
{
<Key>F3				window			f.raise
<Key>F4                         root|icon|window        f.prev_key
<Key>F5				root|icon|window	f.next_key
Shift<Key>F5                    root|icon|window        f.circle_up
}
Buttons DefaultButtonBindings
{
<Btn1Down>              root            f.menu  RootMenu
<Btn1Down>              frame           f.focus_key
<Btn1Down>              icon            f.normalize
<Btn2Down>              frame           f.move
<Btn2Down>              icon            f.move
<Btn3Down>              frame           f.lower
Meta<Btn1Down>          icon|window     f.move
Meta<Btn3Down>          window          f.raise
Meta<Btn3Down>          root            f.circle_up
}

338.40VMSINT::PIPERDerrell Piper - VAX/VMS DevelopmentTue Apr 04 1989 18:1413
I like it too.  I think the 3D look is really nice and adds to the feeling of
quality.  It's sort of like the polish of the Mac that I always thought was 
missing from DECwindows.  Dating back from the days before buttons had drop-
shadows...  The DECwindows WM is just so "harsh" by comparison.

I also like having the cycle key back and being able to define a pop-up menu
for the root window.

I am having some trouble getting it to startup as the default window manager.
I have the RUN_HPWM.EXE hack and tried defining DECW$WINMGREXE in DECW$STARTAPPS
to point to this image.  I ended up with no window manager.  Would those of you
who've managed to do this post some more help...

338.41Hacky (needs to be redone next dcw install), but worksLESLIE::LESLIETue Apr 04 1989 18:265
    
    I put this line into DECW$STARTAPPS.COM. 
    
$ decw$define decw$winmgrexe	sys$system:HP$winmgr.exe

338.42Here's how I run HPWM...GOFER::HARLEYAt home, you can scratch where it itchesTue Apr 04 1989 19:0626
I use the following .Com file to start up HPWM from a FileView process; it ain't
perfect (it assumes that the current WM name is DECW$WM_1, f'rinstance), but it
works OK for me.


$
$ ! This command file will (hopefully) start up the HP window manager for me.
$
$ Set NoOn
$ If F$Mode() .eqs. "OTHER"
$  Then
$	Set Display/Create/Transport=Local
$	MCR HPWM
$	Set Display/NoPermanent
$  Else
$	Dir = F$TrnLnm("Sys$Login")
$	If P1 .eqs. "" Then P1 = "DECW$WM_1"
$	Stop "''P1'"
$	Run/Detach/Authorize Sys$System:Loginout	-
		/Input='Dir'HPWM.Com			-
		/Output='Dir'HPWM.Log			-
		/Process="''P1'"
$
$  EndIf
$

338.43no goNORGE::CHADTue Apr 04 1989 19:1320
>
>Re: .16
>
>>...Anyway, my real question is how do I restart the DECwindows
>>wm after running this one (or uwm).  Everything seems to die.
>
>If you don't kill off your window manager, but simply redefine the logical 
>DECW$WINMGREXE to the window manager you want to use and then quit the 
>session via the session manager, next time you start a session it will use
>whatever window manager you have defined.
>

This didn't work for me... care to elaborate?  I defined it in both
system and decw log tables, quit the session, logged back in and still had dw
winmgr.  ^^^^^^^^^^^ (and various combinations )

Thanks

Chad

338.44I believe that the logical name needs to be defined in exec modeORAN::ORANDave OranTue Apr 04 1989 19:471
338.45neatNORGE::CHADTue Apr 04 1989 20:1229
>...defined in exec mode

Bingo!  After entering my last reply I did that and that was the key.
Then I come back in here and there's the answer.  Too bad I already
figured it out :-) ( by looking ta the symbol decw$define )

It also looks a lot better.  Killing of the wm and then starting this
one didn't start it right I guess because it looked horrible.  Starting through
exiting and logging in the SM makes it come up correctly.  I am not
sure if I prefer it or the DECwm.  Time will tell.  It will take some time
however to get things defined so I know how they work and so that they suit
me.  So many resources, so little time.

A list of questions I am going to research by looking at examples, trial
and error, etc are (if any of you have answers, meldet euch!)

  Is there a way to use the small 17x17 icons.  I specified in the xdefaults.dat
16x16 and it gave me that much of the large icons.

  Currently focus follows the pointer for me.  Fine.  But how do I get the
window to pop to the top, either automatically or by clicking anywhere?  
Clicking for the menu doesn't make my day.

  What do the various decoration flags mean?


Chad

338.46MARVIN::WARWICKWell, that'll never workTue Apr 04 1989 20:328
    
     A couple of people have noted that it's nice to have a Cycle key
    again. I find it somewhat useless because it selects the icons as well
    (at least on my system...). Has anyone got it set up such that it
    *doesn't* cycle through the icons ?
    
    Trevor

338.47Pick up an DECW$XDEFAULTS.DAT from the conference...AIRPRT::GRIERmjg's holistic computing agencyTue Apr 04 1989 20:4415
   There are some sample DECW$XDEFAULTS.DAT which cause the focus to be
"explicit" as opposed to following the pointer.  The line in question is:

Hpwm.keyboardFocusPolicy: explicit

   I'm not sure if the "iconStyle" is a DECW$WINMGR thing or if it's supported
across all window-managers.  Assuming that it is a standard WM attribute,
the line would look like:

Hpwm.iconStyle: 2

   (I think 2 is the small icons -- try different values)

					-mjg

338.48Pointer shapeAIRPRT::GRIERmjg's holistic computing agencyTue Apr 04 1989 20:4717
   Is there any way to tell hpwm that I want the pointer style to not change
(a) inside the actual window, and (b) even in the hpwm resize-margins?


   BTW -- bug report:

   If you have a VAXnotes DECwindows client running, open a conference and
iconize the work-in-progress box, sometimes the WM decoration for the
window is not deleted, and you can de-iconize the work-in-progress box into
an "empty" window.  If you leave it open and then cause another work-in-progress
box to be created, it'll reuse the shell on the screen, but if you leave
the empty shell iconized, it'll create a new work-in-progress anyways.

   Also, raise-on-focus doesn't work if you have the caps lock key active.

					-mjg

338.49RAB::DESAIJatin DesaiTue Apr 04 1989 21:249
re: b)  --> Try

Hpwm.resizeCursors:                    False

This reduces a lot of flicker.

Jatin

338.50MARVIN::WARWICKWell, that'll never workWed Apr 05 1989 09:048
    
    Another twist. When I start HPWM automatically by using the
    "DECW$WINMGREXE" logical, executing the things off the command menus
    doesn't work. The process seems to have enough PRCLM. Anyone know why
    this should be happening ?
    
    Trevor

338.51Perhaps why the applications off the command menu don't workORAN::ORANDave OranWed Apr 05 1989 13:4610
I think this may be due to not having a CLI in the process.

When I fire off HPWM via Spawn both the application invocation and the
restart functions work.

When I fire off HPWM via Run/Proc, neither works.

Seems like DECW$loginout needs to be changed to put a CLI in the process it
fires off the window manager in.

338.52UFP::MURPHYThe SUN just set!Wed Apr 05 1989 14:3512
    Re: RUN_HPWM (as in .40). Grab a new copy.
    For everyone else, you can take ufp::sys$Kits:[hpwm]hpwm.com and
    run_Hpwm.exe. Put hpwm.com in sys$manager and make run_hpwm.exe your
    default window manager (by adding the following line after the
    decwindows startup):
    $ DEFINE/TABLE=DECW$LOGICAL_NAMES/EXEC DECW$WINMGREXE-
    	 SYS$SYSTEM:RUN_HPWM.EXE
    
    What this program does is run the window manager with a CLI so that
    the popup menus can execute programs..
    	-Rick

338.53Another HPWM/VUE/CHILD problem. .. ?GIBSON::DICKENSWhat are you pretending not to know ?Wed Apr 05 1989 14:4110
I have a VUE command that just fires off CHILD to set up a decterm and SET HOST
to another system.  Now with HPWM, the second and subsequent windows created
this way seem to be "stuck" to the VUE window, and when you shrink one, they
all shrink.  When you shring VUE, they all shrink together, etc.  For some 
reason the first window I created this way is ok.

?

							-Jeff

338.54cyclingSTAR::CYPRYCHWed Apr 05 1989 15:217
    Just for informational purposes on the DEC window manager
    regarding cycling through windows:
    
    Moving through all icons with a double click will
    cycle through windows.  It could be a bit faster,
    but it does the job.

338.55Greedy icon workaroundGOFER::HARLEYAt home, you can scratch where it itchesThu Apr 06 1989 03:5810
    I've seen the problem with the VUE icon "owning" other windows
    (especially Notes), and the only way that I've been able to fix it is
    via the "Restart wmgr" selection in the root window popup menu; once I
    do this, everything works as expected (at least until I have to restart
    the WM again, that is...)
    
    All in all, HPWM gets my vote...
    
    /Harley

338.56LESLIE::LESLIEThu Apr 06 1989 09:327
    RUN_HPWM doesn't cut it on a T5.2 system, it continually crashes the
    decterm controller.
    
    Can you give me an OBJ to rebuild?
    
    Andy

338.57"Greedy icons" (I like that term :-) )KALKIN::BUTENHOFBetter Living Through Concurrency!Thu Apr 06 1989 11:4329
I ran into a case of a greedy icon yesterday.  I hadn't seen it before, and I
haven't seen it since.

Normally, I've been moving all my icons after startup, into a rectangle up in
the middle right of the screen (even though HPWM lays them out in a right to
left line at the bottom).  I never had any trouble with greedy icons.

Then, I decided to be lazy one time when I logged in, and leave the icons at
the bottom.  I set host over to a cluster and started up a remote DECterm with
child.  No DECterm showed up.  "Hmmm," I thought, "that's odd... well, maybe it
somehow showed up under another icon?" (even though that shouldn't be possible).
So I expanded NOTES (whose icon was in the lower right corner).  I got not only
my NOTES window... but also the DECterm window.  Both were indeed attached to
the same icon.

I killed the DECterm, moved the NOTES icon, and tried again.  No matter what I
did, the DECterm kept getting snapped up by the NOTES icon.  I finally killed
the session and logged in again... and this time moved my icons to their normal
place above the default icon locations.  I created my remote DECterm again, and
got the normal DECterm icon at the lower right.

So... two interesting questions for those who've seen greedy icons:

1) is the "greedy icon" at the default first location for icons?

2) is the "stolen application window" run remotely?

	/dave

338.58more greedy icons (I like the term also ;)MCNALY::MILLERBush For President...Kate Bush!Thu Apr 06 1989 12:239
My greedy icon always seems to be FileView.  However, I've noticed it
*much* less if I keep one task output window around and iconified.

Still might just be superstition though!

Regards,

                 == ken miller ==

338.59RAB::DESAIJatin DesaiThu Apr 06 1989 12:476
DECdecision's first window invariably becomes greedy icon eating all other
component's icons.

Jatin

338.61...and I fear the greedy, invisible icon!VMSINT::PIPERDerrell Piper - VAX/VMS DevelopmentThu Apr 06 1989 13:029
I've seen greedy icons a bunch of times but again, only with VUE.

How about the invisible icon?  Have any of you seen this?  Every once in a 
while, HPWM becomes convinced that one of the icon locations in "the grid"
really has an icon, although one is not displayed.  When it's in this state,
you cannot move an icon onto this location.  If you try, the icon just snaps
back to its original location.  Restarting the window manager seems to be
the only cure...

338.62greedy icon, which winmgr?STAR::CYPRYCHThu Apr 06 1989 13:427
    RE: .60
    
    This is getting confusing.  I believe the greedy icon
    issue is referring to HPWM?  
    
    

338.63Greedy icon clarification and invisible icon sightingGOFER::HARLEYAt home, you can scratch where it itchesThu Apr 06 1989 15:0912
re .-1

Yup, the "greedy icons" happen with HPWM.

re .-2

I've seen :^) the invisible icons, too.

I like HPWM enough that I'll put up with these rogue icons...

/Harley

338.64XDEFAULTS getting ignoredVAXWRK::SWARDHave req. Will interview.Thu Apr 06 1989 15:1811
	When you have HPWM running on a server as opposed to running
	on the workstation decw$xdefaults seems to be ignored.

	HPWM.RC is taken. Both files are in my sys$login (decw$user_
	defaults) on the server node.

	Any clues?

	Peter is confused.

338.65RAB::DESAIJatin DesaiThu Apr 06 1989 15:286
re: .-1

Name the file DECW$XDEFAULTS.DAT on the client()! to be HPWM.DAT

Jatin

338.66VAXWRK::NEEDLEMoney talks. Mine says &quot;Good-Bye.&quot;Thu Apr 06 1989 15:587
Thanks, Jatin, on behalf of Peter and myself.  That did it!

I love this window manager.  It's alot more flexible and extensible than
the standard one.

Jeff.

338.67Icon placement control?ATSEA::ELLISONThat is truly a wetbrain concept.Thu Apr 06 1989 16:048
Are there (Or will there be) resource names so that the icons can be placed in
some specific location on the screen... (I know about Hpwm.iconPlacement) and
thats what I want to use if it's unspecified, maybe something like 
Hpwm.DECW$BANNER.icon.x and Hpwm.DECW$BANNER.icon.y

I really like this window manager, especially the root window menu...

338.68More bugsDECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Thu Apr 06 1989 17:1417
Another bug report:

I think this relates to having played around with mumble.initialState: 3.
It seems that there are problems when a client with initialState 3 creates
and tears down windows.  A fairly reproducible case is if you say mail*.initalState:3
for example.  Now all windows start up as icons, event the read and create
windows.  Ok, so you un-iconize them and then close them.  Oops...the
frame stays there.  (Is this the same as Darrell's problem?)

Also, there seems to be less reproducible problems if you start any
window in initialState 3.  For example, I have now specified only the
mail main window to start iconized, but after a few times of creating
messages, when the create window should be created, instead, mail dies
and the window manager goes into an infinite loop paging wildly.

Burns

338.69GIBSON::DICKENSWhat are you pretending not to know ?Thu Apr 06 1989 17:4716
Another ugly bug.  When I start Decwindows EVE, it puts it's window up on the
screen, and then the window immediately starts shrinking, one line at a time,
until EVE finally complains that the window is too small.  I'm about ready
to say screw this...


Also I think ugly is the watchword for HPWM.  I mean, it looks like the window
borders on my screen have been taken over by a Radio Shack color computer.  The
nearly illegible font used in the icon titles when they are not "brightened" is 
inexcusable.

Also, I find that it takes a great deal of imagination to see any "3d" effect 
at all.  Obviously whoever did this didn't take 1/10 the time that we did to
make our window manager look sharp.


338.70Another noter wades in with impressions and questions on HPWMORAN::ORANDave OranThu Apr 06 1989 18:3034
On the LaF:
   The default settings are in fact truly ugly, but with reasonable
   customization the LaF is far superior to the DECW$Winmgr. I've
   permanently switched over, even though I have to live with a lot
   of problems and rough edges. I think OSF made a good choice. There's
   nothing extraordinary in my Xdefaults, just most of the stuff
   others have proposed with some tweaks.

On the loop:
   Yeah! I see this one too, and more than a few times a day. I have
   to run over to a teminal and quick log in before it eats all of
   the page file space and wedges the whole machine. I hadn't made the
   connection to initialState:3 windows though. Any chance of a fix soon?

On the need for a CLI
   I tried using Run_HPWM and it simply doesn't work for me. All it
   seems to do is set the process name of whatever process it runs in to
   "RunHpwm" and sits there in LEF state like a dead tree. Has anyone
   else gotten this to work? If so, could you post details. BTW: I'm
   running vanilla 5.1

On colormaps:
   The colormap handling doesn't seem right. If I fire up XPASTE, all of
   the windows owned by HPWM get their colors pooched. This includes the
   root window and all of the icons. All of my other windows are OK though.
   I tried setting colormapFocus: pointer, but that did not change the
   behavior. When I terminate XPASTE, things return to normal. Any
   suggestions?

On iconImageForeground:
   This resource seems to be a no-op. No matter what I set it to,
   the pixmap foreground of my icon images stays black. Bug? Unimplemented?
   

338.71UWM?STAR::CYPRYCHThu Apr 06 1989 18:366
    There have been alot of comparisons with HPWM and
    DECW$WINMGR,  but not much has been said about
    HPWM .vs. UWM.  Many notes back,  UWM was "in".
    
    How does it compare?  

338.72HPWM and 3d effectLNKUGL::BOWMANBob Bowman, CSC/CS SPACE TeamThu Apr 06 1989 18:406
I too could not see the 3d effect. Of course, I run normally on a monochrome
VSII. I finally went a tried it on a color GPX, and the 3d effect is quite
noticable, and quite nice. Pushing a button like the shrink-to-icon button
and you see the button depress into the screen. Looks like HPWM is optimized for
color only...

338.73need /gpx or betterMARVIN::WARWICKWell, that'll never workThu Apr 06 1989 19:489
RE: .69

You really need a colour/greyscale system. It does look pretty bad on a 
monochrome system. The resources that Jon Callas posted a while back in
this sequence should work well.

Trevor

338.74for non-color sysstems...faking 3D..FUEL::grahamif ya want home cookin, stay homeFri Apr 07 1989 00:128
if you do not have a color system, use

*.*shadow:: on [or off]

depending on the kind of vission that you have (tunnel?) ;-)

Kris..

338.752DBA002 error trying to start HPWMMOIRA::FAIMANlight upon the figured leafFri Apr 07 1989 13:3734
I've been trying to start this on my 14 Meg monochrome VS2000, VMS V5.1.  
HPWM.EXE and RUN_HPWM.EXE are in SYS$SYSTEM, HPWM.COM is in SYS$MANAGER.
This is the log file (HPWM.LOG) that I get:

XIO: non-translatable vms error code: 0x2DBA002, vms message:
%decw-e-cnxabort, connection aborted
%XLIB-F-IOERROR, xlib io error
%TRACE-F-TRACEBACK, symbolic stack dump follows
module name     routine name                     line       rel PC    abs PC

                                                           00078F62  00078F62
                                                           000796BC  000796BC
                                                           000751DF  000751DF
                                                           0014D243  0014D243
                                                           00135193  00135193
WMINITWS        InitWorkspace                    8686      0000008E  0003B2CE
WMMAIN          Main                             7077      00000034  0003C3C0
  SYSTEM       job terminated at  4-APR-1989 11:41:49.37

  Accounting information:
  Buffered I/O count:          207      Peak working set size:   825
  Direct I/O count:             36      Peak page file size:    5283
  Page faults:                 787      Mounted volumes:           0
  Charged CPU time:     0 00:00:06.19   Elapsed time:     0 00:00:17.59

Since this leaves me without a window manager, I then create a CHILD DECterm
logged into the SYSTEM account and do an MCR HPWM -- same result (I've tried
various DISPLAY settings, including /TRANSPORT=LOCAL and 
/NODE=MOIRA/TRANSPORT=DECNET).

Any suggestions?

	-Neil

338.76Gee... go away for a few days, and...UFP::MURPHYThe SUN just set!Mon Apr 10 1989 03:328
    re: .60 (greedy icons) Fixed in the next release of HPWM? Or Vue :-)
            at least you've given me a hint on where to look..
    re: .68 (wm loops when initialState:3) .. that may help too.
            I'm going to give it a try and see if I can cause the loop.
    re: .69 (Eve resize bug) yup.. I've seen it, and can't figure out
            what causes that... very strange.
    	-Rick

338.77UFP::MURPHYThe SUN just set!Mon Apr 10 1989 03:366
    Oh yeah... one more. If RUN_HPWM hangs something is *very* fishy.
    I've copied the source and object to UFP::SYS$KITS:[HPWM]. It's
    written in bliss.. and does nothing other than a $creprc call.
    That shouldn't hang.. 
    	-Rick

338.78my mistakeDECWIN::JACKIEJackie FergusonMon Apr 10 1989 14:026
re .60
No, "developer confused" as Nancy said.
I thought you were talking about a problem with the dec wm.
I'll delete my note so as not to cause more confusion.


338.79We are interested in the EVE problem EVETPU::REINIGThis too shall changeMon Apr 10 1989 14:598
    We have seen the DECwindows EVE resize problem stated in .69 in the
    past but haven't seen it in quite awhile.  We think we fixed it.  So,
    what version of DECwindows EVE are you running and can you give details
    about how you exercise the bug.  (This is best done by mail or through
    the TPU_BUGS conference on EVETPU.)
    
                                August G. Reinig

338.80Operator error?CVG::CAMPANELLAMichael Campanella, DTN 261-2595Mon Apr 10 1989 15:118
    re: .77 (and whatever the original reply was...)
    
    The same thing happened to me when I accidentally copied the .COM file
    to sys$common:[sysexe] instead of sys$common:[sysmgr].  Perhaps this is
    your problem...
    
    							Michael

338.81ICCCM? STAR::CYPRYCHMon Apr 10 1989 20:2519
    Ive heard that after taking down HPWM,  DECW$WINMGR
    doesnt start correctly.  I wonder what HPWM leaves
    behind?  Or doesn't leave behind?
    
    (Window managers are supposed to set properties
    such that any window manager can be re-started -
    ICCCM)
    
    Run DECW$WINMGR,  take it down, restart DECW$WINMGR
    	everything works fine.
    
    RUN DECW$WINMGR,  take it down,  restart UWM, take it down,
    restart DECW$WINMGR -- everthing works fine also.
    
    RUN DECW$WINMGR, take it down, restart HPWM, take it down,
    restart DECW$WINMGR - it does not work fine.
    		
    					- N

338.82HPWM is ICCCM compliantMIPSBX::thomasThe Code WarriorMon Apr 10 1989 21:176
What do you mean by not start correctly?  [I never use dxwm myself...]

HPWM leaves behind a bunch of ICCCM properties on the windows and that's
about it.  It also sets the MIN/MAX icon hints property.  Would this 
cause dxwm problems?

338.83Thats what Im asking, basicallySTAR::CYPRYCHMon Apr 10 1989 21:3416
    Re: "What do you mean by not start correctly?"
    
    All I've had reported to me is "Decw$winmgr isn't
    able to start up after running HPWM".
    
    MIN/MAX icon hints property (you mean XSetIconsizes right?),
    shouldn't affect it.
    
    If HPWM has internal data structures and forgets to
    update the server (i.e. xchangeproperty), any other
    window manager will run into problems when it starts up.
    
    I dont know first hand that this is happening with HP.
    Has anybody noticed anything unusual after restarting
    DEC's window manager?

338.84revised opinion, and a keyboard focus problemPSW::WINALSKIPaul S. WinalskiTue Apr 11 1989 23:1225
Well, I decided to give HPWM another try.  The "vanilla" state, without any
Xdefaults customizations, really bites the big one.  However, using some of
the customizations posted here, in particular, changing that ratty font and
adding some color to the thing, really makes a BIG difference.  I like it,
particularly the menu stuff.

I'm having a problem with input focus, though.  My DECW$XDEFAULTS.DAT says:

	Hpwm.keyboardFocusPolicy: explicit

but I can't seem to get focus to move properly.  DefaultButtonBindings in
HPWM.RC says:

	<Btn1Down>	frame	f.focus_key

and indeed, if I click MB1 while over the border of a window, that window gets
highlighted.  However, the window doesn't receive any key events unless the
pointer is in the body of the window!  I have to click explicitly on the window
body (which for text widgets and DECterms causes it to do a keyboard grab) to
get focus to stay there.  This is really the worst of both worlds--I have to
click explicitly on a window **and** move the pointer into it for it to take
keyboard focus.

--PSW

338.85PSW::WINALSKIPaul S. WinalskiTue Apr 11 1989 23:137
One other thing that I miss from the DECW window manager is the display of the
full icon title.  The icon title for Calendar has the time of day in it.  I
have to run both clock and calendar now, whereas before calendar told me the
time of day.

--PSW

338.86PSW::WINALSKIPaul S. WinalskiTue Apr 11 1989 23:147
HPWM-controlled windows don't honor the pointer style and colors that I
selected via the Session Manager.  Also, the thing comes up VERY slowly when
run via RUN_HPWM.EXE.  I have to fix fish so it doesn't die if there's no
window manager present.

--PSW

338.87Explicit focusAIRPRT::GRIERmjg's holistic computing agencyWed Apr 12 1989 01:1826
   Yeah, I've noticed similar problems.

   I find the most reliable way to get focus into a window is to (1) have the
CAPS LOCK off, and (2) click in the window proper, not the border.  It looks
like HPWM isn't properly sending the focus events to the shell.  If the
caps lock state is active (or whatever the proper term is) things just usually
don't work right in HPWM.

   And I agree 100% with the titles.  I tried changing the labeling style on
the icons to the "activetitle" style (or whatever the parameter name was), and
the titles look better (they're complete, right under the icon in what looks
like a pushbutton,) but they're only present when the icon is "active",
which isn't what I wanted, and with the way my setups are now, instead of a
single click assigning focus to the icon window and a double opening it, a
single click opens the icon to full size thus preventing the "activetitle" from
showing up.

   I've all these DECterms which just say "DECterm", and I had just gotten
used to them being numbered in the icon box.  My calendar doesn't have the
date/time, and DECW_QUOTE just says "No New M".

   I'll live with the "greedy" icons and other weirdnesses, if only to get
rid of the godawful icon box tho'.

					-mjg

338.88Bug in highliting the window with input focusPEKKA::PEURAPekka Peura, CSG-HelsinkiWed Apr 12 1989 08:108
    There seems to be a bug in highliting the window that has input focus.
    The windows gets highlited when curcosr is moved to the border or
    title bar (Hpwm.keyboardFocusPolicy: pointer) but the input focus
    is actually given only if the cursor is inside the window.
    
    	Pekka
    

338.89more oddities...ATSEA::ELLISONThat is truly a wetbrain concept.Wed Apr 12 1989 13:5023
  Couple more bugs:

  Using the function f.quit on an application terminates the application.
  Using it on a terminal session terminates the DECterm controller process
  and ALL terminal processes attached to the Controller die...

  Some of the graphics applications confuse the window manager enormously
  Specifically, when I use Ken Berkuns Mandelbrot program from the notes
  file DW_Examples, note #126 the window manager looses track of which mouse
  button I pressed and it will decide to 'move' ala MB2 when I use MB1 on the
  'DefaultSystemMenu'

  The resource  file doesn't appear to like comments such as /* inside a Menu
  definition */ although C style comments work wrapped around a definition.

  I like this Window Manager enormously, there are things from the IconBox
  that I miss, but I find HPWM signifigantly easier to use It would be nice
  though to be able to modify it interactivly though... and not have to restart
  it each time I make a change

     Jan

338.90iconImageMaximum:TALLIS::ZANZERKIAWed Apr 12 1989 14:3010
    .85
    	To increase the size of the icon try following.
    
    Hpwm.iconImageMaximum:                  150x50
    !Hpwm.iconImageMinimum:                 32x32
    
    	I had a same problem with time not showing up in the icon, with
    	above it will show the time.
    Robert

338.91Won't they always be HUGE then?AIRPRT::GRIERmjg's holistic computing agencyWed Apr 12 1989 15:2713
Re: .-1:

   Won't the icons always be HUGE then?

   What I really want are "shrink wrapped" icons which are exactly as large
as the bitmap set in them, and the labels underneath fitting just to the
text.

   Maybe I'll play with the code sometime.


						-mjg

338.92in mean time..TALLIS::ZANZERKIAWed Apr 12 1989 15:5412
    -1:
    	You'r right, icons will be HUGE, however i don't use images in
    	icons just the text.
    
    !Hpwm.iconDecoration:              image label
    Hpwm.iconDecoration:                    label
    
    	I know this does not answer your question but it's a short term
    	solution till some one tells how to do what you are asking..
    Robert
                

338.93Hpwm*iconDecoration: active imageUFP::AVOLIOI was ULTRIX when ULTRIX wasn't *cool*Thu Apr 13 1989 13:5212
Regarding, things like xtime or Calendar and small text areas, 
you can try:

Hpwm*iconDecoration:	image active

Then when you move your mouse pointer into the icon, the text
description expands to show the entire text.

Try it.

Fred

338.94HPWM and modal dialog boxesKOALA::J_VANGILDERJim V., ZKO3-2Thu Apr 13 1989 15:127
    
    Anybody else noticed that HPWM handles modal dialog boxes differently?
    They don't stay on top, which is either a bug or a feature, depending
    on your point of view.  Unfortunately, since there's no title bar on a
    modal dialog box, clicking on the box won't bring it back to the top.
    

338.95ERIS::CALLASThere is only one 'o' in 'lose.'Thu Apr 13 1989 15:457
    re .94:
    
    If you set up your hpwm.rc file properly, you can make clicking on the
    box bring it to the top.
    
    	Jon

338.96Definitely a *feature*MRFLEX::MILLERBush For President...Kate Bush!Thu Apr 13 1989 17:2015
re:     Anybody else noticed that HPWM handles modal dialog boxes 
           differently?    They don't stay on top, which is either a bug or a feature

Hacking prevails to be more *conformant* to the style guide...Isn't that
a switch?

The following in my HPWM.RC allows me to <alt>MB2 in a window to
 bring it to the top:

Meta<Btn2Down>          icon|window     f.raise

Regards,

          == ken miller ==

338.97modal boxesXUI::VANNOYJake VanNoyThu Apr 13 1989 19:0011
The behavior of the XUI window manager and modal dialog boxes stems from
the pseudo-root that the XUI WM uses.  Since the modal dialog boxes are
children directly of the root, and all windows with title bars are children 
of a child of the root, the stacking order of the modal boxes is always
higher.

I believe that XUI WM implemented without the pseudo root would exhibit the
same behavior as HPWM.

jake

338.98Very NiceAITG::LACHIUSANatural StupidityFri Apr 14 1989 14:4225
	I really like the HPWM.  I'm having problem when using it with 
remote DECW mail though.  I get continual error messages like this:

%XLIB-E-ERROREVENT, error event received from server
X error event received from server: BadDrawable - parameter not a Pixmap or Window
  Failed request major op code 76 X_ImageText8
  Failed request minor op code 0 (if applicable)
  ResourceID 0x5001d0 in failed request (if applicable)
  Serial number of failed request 10234
  Current serial number in output stream 10238

	Eventually the window manager either hangs or crashes.  Also I notice
that when I run HPWM by redefining the DECW$WINMGREXE logical and starting
the session over, I can't get the root menu commands to work.  When I just
spawn the HPWM everything works fine.

FYI:

Hpwm.iconStyle:                         0

gets you smaller icons, about 1 3/4" x 1"

/D

338.99DECWIN::FISHERBurns Fisher 381-1466, ZKO3-4/W23Fri Apr 14 1989 18:3810
I think back in this note somewhere it was explained that when you just
define the logical to point at a new window mananger, there is not DCL
image, which means that you can't spawn.  Thus any root menu items which
want to spawn something will fail.  The solution was also mentioned in
here somewhere:  It should be something like running loginout, but I can't
remember how you manage to get the appropriate DCL command to loginout
to have it run the window manager.  Do a dir through this note.

Burns

338.100I've seen the DECwindows WM hang on restart...ERLANG::HERBERTNow at LKG - DTN 226-5995Wed Apr 19 1989 17:4210
    RE: .83
    
    I QARed a problem a few months ago about the inability to restart the
    DECwindows window manager when there are many, many, toplevel windows
    mapped on the display.
    
    The QAR is #721 in the V5 database.
    
    Kevin

338.101That's how to reproduce it?STAR::CYPRYCHWed Apr 19 1989 20:2910
    Small nit -- the QAR was submitted during March.
    
    Do you mean to say that QAR #721 is a result
    of running HPWM,  taking down HPWM, then
    restarting DECW$WINMGR?
            
    I had no idea this is how to reproduce your problem.
    
    

338.102So, I was in a time warp... :-)ERLANG::HERBERTNow at LKG - DTN 226-5995Wed Apr 19 1989 22:065
    I sent you mail; the problem doesn't have to do with running HPWM, it
    has to do with stopping DECW$WINMGR and then restarting it.
    
    Kevin

338.103Now for something really importantCLO::COBURNWhen will THEN be NOW? ...SOON!Fri Apr 21 1989 00:035
    When I am using HPWM as the window manager and try to run solitaire -
    either from a DECterm or from the root menu it comes up in BW mode.
    
    Does anyone know what needs done to fix it?

338.104RAB::PRINCIPIONuke the site from orbit.Fri Apr 21 1989 11:2012
    I'll bet you're on a four plane system right?  Well, HPWM tries to
    allocate around 15 to 20 colors - colors which solitaire is not
    interested in.  If you were start solitaire first and then HPWM,
    solitaire could allocate all the colors it needs before HPWM grabs the
    rest of the available colormap entries.

    I fixed this problem by setting all the makeColors resources in HPWM.DAT
    to "shadow" or "none".   This seems to keep HPWM from allocating so many
    colors.

    Tracy

338.105Thanks37711::COBURNWhen will THEN be NOW? ...SOON!Fri Apr 21 1989 17:372
    Yep, its a 2000/GPX. I'll try your suggestions. Thanks.

338.106menu on root with DEC window managerRAB::DESAIJatin DesaiTue May 09 1989 21:3344
          <<< ELKTRA::NOTESPUBLIC:[NOTES$LIBRARY]DW_EXAMPLES.NOTE;1 >>>
                           -< "DECwindows examples" >-
================================================================================
Note 151.0        mb2 popup menu on root window (customizable)        No replies
RAB::DESAI "Jatin Desai"                             37 lines   8-MAY-1989 19:02
--------------------------------------------------------------------------------

Inspired by good old UIS and HPWM, I wrote an application to display a popup
menu when you press MB2 on an empty portion of your screen. No icons or any
windows shows up on the screen until you press MB2. Also works when the window
manager dies! The menu and commands are defined in UIL. So If you need to
customize it, just modify the UIL, compile and there you go, you don't need
to change the program.

To try it, copy the following files.

   $ COPY REGAL""::SYS$CS6:[DESAI.PUBLIC]ROOTMENU.EXE * ! .C and .OBJ too
   $ COPY REGAL""::SYS$CS6:[DESAI.PUBLIC]ROOTMENU.UID * ! .UIL to customize
   $ !
   $ run rootmenu

Make sure that the ROOTMENU.UID file exists in the current default directory.
Or, if you are picky:-), just do something like -

   $ define rootmenu tools:rootmenu.uid
   $ run rootmenu

Now just press MB2 on a blank portion of your screen and away you go.

Customization:

   I would think most people would like to tailor the menu and commands to
   their liking. Just edit the file ROOTMENU.UIL make necessary changes to the
   popup menu hierarchy and compile (UIL) the file. Just make sure that
   activate callback specifies the command to be executed when any button is
   chosen. The program just does a lib$spawn (on VMS) of this command string,
   so if you run processes detached, you may have to write invoke command
   file. If some one modifies this to run on ultrix, I will incorporate the
   changes (should be minimal).

Enjoy!

Jatin

338.107...and those 8 processes are my window manager...PRNSYS::LOMICKAJJeff LomickaWed May 10 1989 17:366
With a "root window menu" application, and the "cycle" application, it
brings up the interesting possibility that there shouldn't be a singe
window manager process, but a collection of unrelated window management
utilities that do various useful things, and you can (figuratevely
speaking) throw together into a basket and use as your window manager.

338.108Not necessarilyMELTIN::dickSchoeller - Xperimenting with XNotesWed May 10 1989 18:4914
Jeff,

It may be (probably is) reasonable to separate the root menu application
from other window manager activities.  It is probably not a good idea to
break up the real window manager activities into separate clients.  The
cycle application is a perfect example of why.  It can very easily mess up
the behavior of the client doing the other pieces of the window manager
task (esp. if the other piece doesn't know that cycle is out there).  A
much more appropriate approach is a very customizable window manager (like
the Bull window manager) which allows you to select how to do your look and
feel.

Dick

338.109PRAVDA::JACKSONThe Indescriabable Wow!Wed May 10 1989 21:1313
Question:

The Icon's for everything but Mail use the window defaults, and the little 
pictures in the icons look just fine.

Mail, on the other hand, has this big black box in it.  Nothing else.

Any idea?  Is this a HPWM problem, or a Mail problem?


-bill

338.110more comment on .-1MELTIN::dickSchoeller - Xperimenting with XNotesWed May 10 1989 22:485
With mine I get a white box for mail.  But same thing.  I have also
seen some applications make appropriate use of the icon color resources.
Any idea what is different between those that use icon color and those
that don't?

338.11120453::RYANDECwindows MailThu May 11 1989 12:127
	Mail creates a pixmap and sets it with XtSetValues on the shell
	widget - nothing fancy there, I don't see why HPWM should have
	trouble with that (as a matter of fact, it didn't when I tried
	HPWM a few weeks ago - I got the regular icon).

	Mike

338.112MAIL/HPWM2202::BUTENHOFBetter Living Through Concurrency!Thu May 11 1989 12:2312
When I first started using HPWM full-time, I had frequent problems with the MAIL
icon... it would come up blank.  Not always, but frequently.  Usually (but not
always) if I killed the process and restarted it, it would be OK.

Eventually, the problem just went away.  I haven't seen it for weeks.  I STILL
have more problems with MAIL than with anything else, however.  99% of the time
when HPWM blows up on me, it's immediately after I hit the REPLY button on
MAIL's read window.  I won't even try to guess whether MAIL's doing something
HPWM might consider "odd", or whether it's pure coincidence...

	/dave

338.113how...?25502::dickSchoeller - lost in La-La-LandThu May 11 1989 14:5411
re: .111

I guessed that you set it with XtSetValues, but how do you create the pixmap?
Do you #include a bitmap file or use UIL?  What do you do for foreground and
background (or are you creating a bitmap?)?

How about other applications besides mail?  esp. those that get icon colors to
work, like DECW$CALENDAR, DECW$BOOKREADER, DECW$CARDFILER, DECW$CLOCK, dxmail?

Dick

338.114GOSOX::RYANDECwindows MailThu May 11 1989 18:377
	We #include the bitmaps, and use BlackPixelOfScreen and 
	WhitePixelOfScreen to get the foreground and background colors.
	Nothing unusual there (and we certainly don't touch the
	icons when Reply is hit).

	Mike

338.115Perhaps DefaultScreen is messing up?VIA::FINNEGANAll of the best intentions are less than one good act.Fri May 12 1989 00:428
Actually, the cardfiler, clock, calculator and puzzle do slight the wrong thing
but doubt it would make a difference (famouse last words).  My set did a
BlackPixel (dpy, 0) instead of BlackPixel (dpy, ScreenNumber) and had problems
with icons on Multihead.  Perhaps there is a problem with the DefaultScreen
call.

Neal

338.116How about fragging me... ;^{)25502::dickSchoeller - My machine is lost in La-La-LandFri May 12 1989 16:268
Neal,

How about a code frag from the clock, including how you get the bitmap
data, how you make a pixmap/bitmap from it and how you set it on the window?
If you don't want a public post, how about mailing it?

Dick

338.117Me too8899::WESTI'm just visiting this planet.Fri May 12 1989 19:426
  I would also be interested in a code frag.

				-=> Jim <=-


338.118Mail kills HPWM for me also38863::LACHIUSANatural StupidityMon May 15 1989 15:1112
	I eventually had to stop using HPWM due to having it die while
I was using mail.  I run mail on the cluster and display on my workstation
and had noticed that right before HPWM would hang and then later die, the
terminal window on the cluster that I had spawned mail from would have 
some messages like "error setting input focus" and "window manager confused".
I discovered that if I keep a read and send window active (as opposed to
closing them when I'm done), HPWM dies less frequently.  I find it difficult
to work that way though, and since mail is one of my primary tools, I decided
to wait until things stabilize a bit.  I really do prefer the HPWM though and
wish I could use it.

338.119Try the new versionGOSOX::RYANDECwindows MailTue May 16 1989 12:119
	We've got a pre-V2 internal baselevel available now - see note
	5.last in KOALA::DW-MAIL. I suggest you wait a couple more days
	before installing it, we're going to release a new baselevel with
	a few bug fixes any day now. If any of you seeing problems between
	HPWM and Mail install this baselevel, please send me mail and let
	me know if things work better with it.

	Mike

338.120I did post the code frament in another not but I put it here as wellVIA::FINNEGANAll of the best intentions are less than one good act.Thu May 18 1989 22:3799
Widget	toplevel;
Widget	top_wid;


#define clock_width 32
#define clock_height 32
#define clock_x_hot 0
#define clock_y_hot 0
static char clock_bits[] = {
   0xff, 0xff, 0xff, 0xff, 0x01, 0x00, 0x00, 0x80, 0xfd, 0xff, 0xff, 0xbf,
   0x05, 0x00, 0x00, 0xa0, 0x05, 0xc0, 0x01, 0xa0, 0x05, 0xc0, 0x01, 0xa0,
   0x05, 0xc0, 0x01, 0xa0, 0x05, 0x0c, 0x18, 0xa0, 0x05, 0x0c, 0x18, 0xa0,
   0x05, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x00, 0xa0, 0x85, 0x01, 0xb0, 0xa1,
   0x85, 0x01, 0x98, 0xa1, 0x05, 0x18, 0x0c, 0xa0, 0x05, 0x30, 0x06, 0xa0,
   0x75, 0x60, 0x03, 0xae, 0x75, 0xc0, 0x01, 0xae, 0x75, 0x80, 0x00, 0xae,
   0x05, 0x00, 0x00, 0xa0, 0x05, 0x00, 0x80, 0xa1, 0x85, 0x01, 0x80, 0xa1,
   0x85, 0x01, 0x00, 0xa0, 0x05, 0x00, 0x00, 0xa0, 0x05, 0x0c, 0x18, 0xa0,
   0x05, 0x0c, 0x18, 0xa0, 0x05, 0xc0, 0x01, 0xa0, 0x05, 0xc0, 0x01, 0xa0,
   0x05, 0xc0, 0x01, 0xa0, 0x05, 0x00, 0x00, 0xa0, 0xfd, 0xff, 0xff, 0xbf,
   0x01, 0x00, 0x00, 0x80, 0xff, 0xff, 0xff, 0xff};

#define sm_clock_width 17
#define sm_clock_height 17
static char sm_clock_bits[] = {
   0x00, 0x00, 0x00, 0xfe, 0xff, 0x00, 0x02, 0x81, 0x00, 0x02, 0x81, 0x00,
   0x42, 0x84, 0x00, 0x02, 0x80, 0x00, 0x12, 0x94, 0x00, 0x82, 0x82, 0x00,
   0x0e, 0xe1, 0x00, 0x02, 0x80, 0x00, 0x12, 0x90, 0x00, 0x02, 0x80, 0x00,
   0x42, 0x84, 0x00, 0x02, 0x81, 0x00, 0x02, 0x81, 0x00, 0xfe, 0xff, 0x00,
   0x00, 0x00, 0x00};



/* routine to make a pixmap stolen from session mgr */
static Pixmap MakePixmap(dpy, root, data, width, height) 
Display *dpy;
Drawable root;
short *data;
Dimension width, height;
{
    Pixmap pid;
    unsigned long	ScreenNumber;

    ScreenNumber = XDefaultScreen (dpy);

    pid = XCreatePixmapFromBitmapData (dpy, root, data,
		(Dimension) width, (Dimension) height, 
		(unsigned long) BlackPixel (dpy, ScreenNumber),
		(unsigned long) WhitePixel (dpy, ScreenNumber),
		(unsigned int) DefaultDepth (dpy, ScreenNumber));
    return(pid);
}


#ifdef COMBINE
clock_main(argc, argv)
#else
main(argc, argv)
#endif
    int argc;
    char **argv;
{
    Arg	args [6];
    int	xtnumber;
    int stat;
    Display *dpy;
    Pixmap icon_pixmap, sm_icon_pixmap;

    DwtInitializeDRM ();

    stat = DwtRegisterClass (DRMwcUnknown, "clock_widget",
	"DwtMyClockCreate", DwtMyClockCreate,  clockwidgetclass);
    if (stat == DRMFailure)
    	{ fprintf (stderr, "Can't register clock \n"); exit (ERROR_STATUS); }

    toplevel = XtInitialize (APPL_NAME, CLASS_NAME, NULL, 0, &argc, argv);

    dpy = XtDisplay (toplevel);
    top_wid = (Widget) DwtMyClock (toplevel, APPL_NAME, 200, 300, 150, 110);

    XtManageChild (top_wid);

    icon_pixmap = MakePixmap (dpy, XDefaultRootWindow (dpy),
		clock_bits, clock_width, clock_height);

    sm_icon_pixmap = MakePixmap (dpy, XDefaultRootWindow (dpy),
       		sm_clock_bits, sm_clock_width, sm_clock_height);

    xtnumber = 0;
    XtSetArg (args [xtnumber],  XtNiconPixmap, icon_pixmap); xtnumber++;
    XtSetArg (args [xtnumber],  XtNiconifyPixmap, sm_icon_pixmap); xtnumber++;
    XtSetArg (args [xtnumber],  XtNcopyright, TRUE); xtnumber++;
    XtSetArg (args [xtnumber],  XtNallowShellResize, TRUE); xtnumber++;
    XtSetValues (toplevel, args, xtnumber);

    XtRealizeWidget (toplevel, 0, NULL);

    XtMainLoop ();
}

338.121GOSOX::RYANDECwindows MailWed May 24 1989 21:0014
	It appears from information HPWM users have given us that it
	doesn't respond gracefully when the client gets a BadMatch
	error on X_SetInputFocus. I found that in bringing up a
	send window we were setting focus to the send window twice,
	which may very well be the cause of those BadMatch errors.
	The extra call has been removed - when V2 hits internal field
	test, I'd appreciate it if those of you seeing the problems
	with Mail and HPWM let me know if you still see problems.

	Of course, the fact that HPWM dies so easily is a bug in HPWM -
	how does one report HPWM bugs?

	Mike

338.122Send mail to UFP::MURPHY and MIPSBX::THOMAS.56579::thomasThe Code WarriorWed May 24 1989 22:581
338.123Who's responsible?AVIATE::SHAHYanks in '89Fri Jun 02 1989 13:094
A quick question, who's responsible or in charge of working on MOTIF within
DIGITAL?

338.124LEOVAX::TREGGIARIFri Jun 02 1989 13:205
The DECtoolkit group will be in charge of delivering Motif to VMS and Ultrix
once a decision is made on when and how to deliver it.

Leo

338.126Time scheduleAVIATE::SHAHYanks in '89Fri Jun 02 1989 14:127
What is the current time-schedule for the VMS version of MOTIF?  Is there 
going to be any external field-testing ?

Thanks,
-Pratish

338.127LEOVAX::TREGGIARIFri Jun 02 1989 15:594
There is no time schedule yet.  Planning is taking place...

Leo

338.128Motif installation for a DECwindows beginner? DECMAC::SYSTEMJeff - The Network *IS* the System!Fri Jun 02 1989 16:4710
I've scanned this thread and can't find out specifically how does a 
DECwindows neophyte like myself installs it?

Can anyone help?

Thanks,

Jeff
	

338.129XUI::VANNOYJake VanNoyFri Jun 02 1989 17:5510
There is no Motif "kit" available yet.  There is a window manager around which
is the HP window manager, based on HP widgets.  It is not the Motif window
manager, and does not use the Motif toolkit.

I suspect that Motif will become generally available when the VMS and Ultrix
releases that will support it go to FT.  As noted by Leo, there is no schedule
for this yet, but we are spending a fair amount of time working on it.

jake

338.130UFP::MURPHYRick - WA1SPT/4Thu Jun 08 1989 18:457
    An updated version of the HP window manager that fixes the sticky icon
    problem is located in:
    	UFP::SYS$KITS:[HPWM]HPWM.EXE
    This version also fixes a WM crash when a window is quickly created
    then destroyed.
    	-Rick

338.131Very nice, one more question thoughAGBEAR::HORNERA.G.Bear, Low tech teddy bearFri Jun 09 1989 11:1510
    Really nice!  All the problems that have affected me in the past are
    gone.

    Here it comes now :-)

    Is there any way though to get the ICON pictures back instead of the
    stylized "X" in the ICONs?  All I can seem to get is the shadowed "X".

                Dave

338.132BTW, the bug with respect to keyboard caps lock is still thereSTAR::BECKPaul Beck - DECnet-VAXFri Jun 09 1989 14:1742
You probably need some parameter or other; I tried the new version, and have 
icon pictures. The extensions I have in DECW$XDEFAULTS.DAT follow (I have
absolutely no ideas which are defaults, which are necessary, and which are
bogus...). You probably need the "Hpwm.iconDecoration: label image" line.


!
! Resources for the HP window manager (black and white monitor)
!
!
Hpwm*activeBackground:			Black
Hpwm*activeBackgroundTile:       	background
Hpwm*activeBottomShadowColor:    	White
Hpwm*activeBottomShadowTile:	 	foreground
Hpwm*activeForeground:			White
Hpwm*activeTopShadowColor:	 	White
Hpwm*activeTopShadowTile:	 	50_foreground
Hpwm*background:                 	White
Hpwm*backgroundTile:             	White
Hpwm*borderColor:			black
Hpwm*borderWidth:			8
Hpwm*bottomShadowColor:          	Black
Hpwm*bottomShadowTile:           	foreground
Hpwm*configFile: 			sys$login:hpwm.rc
Hpwm*focusAutoRaise:            	True
Hpwm*font:	-Bigelow & Holmes-MENU-MEDIUM-R-NORMAL--*-120-*-*-P-*-ISO8859-1
Hpwm*iconFont:  -Bigelow & Holmes-MENU-MEDIUM-R-NORMAL--*-120-*-*-P-*-ISO8859-1
Hpwm*foreground:                 	Black
Hpwm*makeActiveColors:           	shadow
Hpwm*makeColors:                 	shadow
Hpwm*resizeBorderWidth:                 8
Hpwm*topShadowColor:             	White
Hpwm*topShadowTile:              	50_foreground
Hpwm.iconDecoration:                    label image
Hpwm.iconImageMaximum:                  80X32
Hpwm.iconImageMinimum:                  16X16
Hpwm.iconPlacement:                     top right pack
Hpwm.internalBevel:			4
Hpwm.keyboardFocusPolicy:               explicit
Hpwm.menu.backgroundTile:		background
Hpwm.transientDecoration:               Title resize

338.133UFP::MURPHYRick - WA1SPT/4Fri Jun 09 1989 16:1918
    I'm not sure why your icons are the default "X" ones, particularly if
    you've used HPWM before with correct results. What sort of system?
    (In particular, 4 or 8 plane or mono).
    
    Re: .132:
    
    If you've got a key hit in your HPWM.RC like:
    <Key>F3		window		f.raise
    
    add
    Lock<Key>F3		window		f.raise
    
    And the caps lock problem goes away. You'll need to restart the WM.
    (I agree, it's a crock. I'll look into automagically duplicating the
    grab.)
    	-Rick
    	-Rick

338.134Word order seems to be importantAGBEAR::HORNERA.G.Bear, Low tech teddy bearFri Jun 09 1989 17:5010
    Re: 132

    I had the Hpwm.iconDecoration resource in my file, but your file
    gave me the hint that I was looking for.  Would you believe that
    my file had "image label" while yours had "label image".  I reversed
    the order of the two words in my file and the ICON pictures work
    great now.  Thanks for posting yours.

             Dave

338.135BURYST::EDMUNDS$ no !fm2r, no commentTue Jun 13 1989 13:1414
    There are only two aspects of the HPWM that I would like to change; I'd
    be grateful if anyone knows if / how I can achieve this.
    
    1. I use AutoFocus, and to get the input focus to a specific window, I
    have to click on the title bar. I'd like to be able to click anywhere
    in the window (as in the Digital WM).
    
    2. If I MB1 on the title bar to get the focus, and inadvertently drag
    it moves the window. I would like window moving to be limited to MB2.
    
    Thanks for any help / ideas.
    
    Keith

338.136GIBSON::DICKENSWhat are you pretending not to know ?Tue Jun 13 1989 14:269
I copied the new HPWM.EXE to SYS$SYSTEM and redefined DECW$WINMGREXE to point to
it.  When I rebooted the machine it came up with HPWM, but the root window 
pop-up menu doesn't work, nor does the window-menu (upper left corner button).

When I just killed the window manager and ran HPWM from my terminal I didn't
have this problem.  Any ideas ?

						-Jeff

338.137It might be your Hpwm.configFile definitionAGBEAR::HORNERA.G.Bear, Low tech teddy bearTue Jun 13 1989 15:2714
    I've seen this happen when the definition for Hpwm.configFile had a
    logical name in it that didn't yet exist when the window manager
    started up.  The most common form is when SYS$LOGIN is used as in

	Hpwm.configFile:	sys$login:hpwm.rc

    If I changed it to have a full device/directory specification such as

	Hpwm.configFile:	agbear$dua0:[horner]hpwm.rc

    then it worked fine.

              Dave

338.138FLUME::dikeTue Jun 13 1989 16:3612
In your .hpwmrc, the following should make MB1 do focus and MB2
do move:

Buttons DefaultButtonBindings
{
    <Btn1Down>	frame	f.focus_key
    <Btn2Down>  frame   f.move
}

I haven't tested this since I run with real estate focus.
				Jeff

338.139F5 under HPWMRAMBLR::MORONEYMadmanFri Jun 16 1989 17:2015
What are the magical incantations to HPWM to get the keyboard to move from
window to window using F5?  I can get the highlighted window to move using F5,
but the keyboard doesn't follow unless the mouse pointer happens to be in the
window being highlighted.

The behavior of VWS would be ideal (windows that don't have keyboards don't
get highlighted, etc.)

The relevant lines from HPWM.RC are as follows:

<Key>F5                         root|icon|window        f.prev_key
Shift<Key>F5                    root|icon|window        f.next_key

-Mike

338.140UFP::MURPHYRick - WA1SPT/4Sat Jun 17 1989 00:2416
    RE .139:
    You want it all :-)..
    For focus next/previous moves, you need to turn off keyboard focus.
    Hpwm.keyboardFocusPolicy: explicit will allow your "F5" to work.
    
    Focus handling is using these functions is rotten.. focus goes to icons
    and all sorts of worthless places.
    
    Re: back a few.. the reason you have to click on the titlebar to give
    focus to the window is because HPWM isn't as smart as the DEC window
    manager - it's because the window has a grab posted. The DEC window
    manager does "the right thing:" when you click on the body of the
    window, the DEC WM sets focus and passes on the mouse event. HPWM just
    passes it on.
    	-Rick

338.141HPWM doesn't need AutoFocusBURYST::EDMUNDS$ no !fm2r, no commentMon Jun 19 1989 16:0510
    Well, forgive me if this is blatantly obvious to everyone in the known
    universe (except me until recently), but if you are using the HPWM, you
    do not need to run AutoFocus...it can be set up in the HPWM.RC file.
    Now, if you *DO* run AutoFocus as well, you get a very sluggish system.
    
    Believe me, I did too many AUTOGENs trying to fix the performance
    (kudos to one Andy Leslie for spotting the mistake).
    
    Keith, much happier now.

338.142Give the mouse a break!RAMBLR::MORONEYMadmanTue Jun 20 1989 13:3212
re .140:

>    For focus next/previous moves, you need to turn off keyboard focus.
>    Hpwm.keyboardFocusPolicy: explicit will allow your "F5" to work.
    
I already had that line in DECW$XDEFAULTS.DAT.  F5 will bounce me from window
to window (and icon :-( ), but unless the mouse is located within the window
selected, the keyboard is connected only to a black hole.  Does F5 work for
you if the mouse isn't in the window you just selected?

-Mike

338.143New (?) HPWM features from HPCADSYS::COOKALOE, ALOEMon Jul 03 1989 18:148
    At the Design Automation Conference, Hewlett-Packard were showing what
    looked like a newer baselevel of HPWM. Autofocus was *really*
    automatic! One just moved the cursor over a window and the focus would
    automatically move to it. No need for any mouse clicks.
    
    A second feature I noticed was that the icon titles were always
    present.

338.144LESLIE::LESLIEMon Jul 03 1989 20:054
338.145Problems on EFT1 of DECwindows V2AITG::LACHIUSANatural StupidityFri Jul 28 1989 19:5813
	Has anyone else encountered problems with HPWM and EFT1 of DECwindows 
V2.0? I find that when I run it byt using the customize feature in the session
manager, I can't create DECterms.  I can't get them to "autostart" and I can't
get them to appear when I try to from the application menu.  I notice that
the processes seems to be out there waiting on a local event flag, but there
is no display.  Perhaps this is a discussion best suited for the DECterm 
conference...Oh and when I run HPWM detached it crashes on resize events.  I
monitor this conference regularly and haven't noticed any discussion so my
apolopgies if this is misplaced(it also didn't appear via a DIR/title="DECterm"
or dir/title="problem"/since=4-jul-1989).  If need be, I'll try to get some
error log and QAR it.

338.146STAR::MFOLEYRebel without a ClueMon Jul 31 1989 04:409
       
       
       	Isn't there something in the EFT1 release notes about this? (or
       am I just spoiled cuz I sit on the same floor as the devos?)
       
       	If in doubt tho, QAR it.
       
       							mike

338.147STAR::MCLEMANEverything around us is natural, don't fight itMon Jul 31 1989 12:406
    There is a release note saying it is incompatible. But I think that was
    the IFT version.
    
    Jeff
    

338.148It's been QARed... Priority ZHANNAH::MESSENGERBob MessengerMon Jul 31 1989 16:009
Re: .145

I've received a couple of QARs about the problem, but I don't know much
about it.  As I understand it, HPWM uses InputOnly windows, which the
toolkit/server didn't understand very well.  I thought that problem was
fixed in FT1, though, so this latest problem must be something else.

				-- Bob

338.149LESLIE::LESLIEMon Jul 31 1989 21:358
338.150UFP::MURPHYRick - WA1SPT/4Tue Aug 01 1989 02:013
    Both of these problems were QARed some time ago.
    	-Rick

338.151questionULTRA::ELLISDavid EllisWed Aug 30 1989 20:214
Re .11:

What are "f.function" and "f.send_msg" supposed to do?

338.152Can I run it on DECwindows 2.0 FTRICKS::MILLSTue Oct 03 1989 15:0116
    I'm running VMS 5.2 SSB with DECWINDOWS V2.0 FT
    and would still like to run HPWM. But it seems to have
    some problems.
    
    o HPWM quits when I resize anything.
    o When I start it from DECW$LOGIN with spawn everything works
      except DECterm never pops up a window (clock does) and the process
      is out there.
    
    Is anyone running on HPWM on DECwindown V2.0 FT?
    
    I think just linking my own copy on my system might to the
    trick. Could the .OBJs and a .COM be made available?
    
    

338.153Fixed in FT2AGBEAR::HORNERA.G.Bear, Old fashion teddy bearWed Oct 04 1989 15:2010
    If you are running V5.2, then you are also running FT1 of DECwindows.
    These are all known problems with HPWM and FT1, and they have been
    fixed in FT2.  You have to install VMS X5.3 however, to get FT2
    of DECwindows.  Replies .145 and on talk about this.  I know there
    were more replies about this, but for the life of me I can't find them.
    Maybe they were during that week a while back that got lost from this
    conference.

                Dave

338.154No more DECW$WINMGREXE klugeRICKS::MILLSThu Oct 05 1989 17:375
    HPWM runs great in X5.3 you don't even have to do the DECW$WINMGREXE
    kluge. You can set the window manager you want in
    SESSION-MANAGER -> CUSTOMIZE -> WINDOW -> WINDOW MANAGER -> OTHER
    But you still need to use RUN_HPWM.EXE rather than HPWM.EXE

338.155Getting started...ASD::LOWPhilosophy is useless, reality is worseFri Oct 13 1989 14:5918
    I've copied HPWM.EXE and RUN_HPWM.EXE from UFP, and have changed my
    window manager to "sys$system:run_hpwm.exe" in the customize window
    box.  I saved my changes, and quit my session.  When I start a new
    session, I get *no* window manager, and a HPWM.LOG that reads:
    
    
Error opening primary input file SYS$INPUT
File not found
    
    I have an hpwm.rc, and the appropriate resource in decw$xdefaults.dat
    points to it.  Does anyone know what might be wrong?  I'm running VMS
    X461-5.3 and DW FT2...
    
    Thanks,
    
    Dave
    

338.156You need one more fileAGBEAR::HORNERA.G.Bear, Old fashion teddy bearFri Oct 13 1989 16:0110
    You need the matching RUN_HPWM .COM file too.  RUN_HPWM just creates
    a detached process that requires the .COM file for its SYS$INPUT.  The
    .COM file contains the commands to set up the display and run HPWM.
    I would offer more concrete names, but I changed mine around a bit,
    and they wouldn't match what you would get from UFP.  If you look in
    the same directory on UFP where you got RUN_HPWM, you should be able
    to spot the .COM file pretty easy.

               Dave

338.157I know...CIM::KAIRYSMichael KairysFri Oct 13 1989 16:1112
    You need one more file, HPWM.COM. This goes in your SYS$MANAGER
    directory and contains:
    
	$ set display/create/node=0/transport=local
	$ run sys$system:hpwm
	$ exit
    
    What's happening is this: RUN_HPWM creates a detached process running
    the image LOGINOUT.EXE, so that the window manager will have a CLI 
    (to support the "f.exec" function). RUN_HPWM specifies HPWM.COM as 
    input file to LOGINOUT. 

338.158Too quick on the Reply button...CIM::KAIRYSMichael KairysFri Oct 13 1989 16:187
    Pretty funny that Dave and I collided on this note, since he sits about
    forty feet away from me...
    
    P.S. As he pointed out to me, Bulova's system time is fast by more than
    an hour. Is the system manager reading this notesfile? I guess Bulova
    isn't an Accutron (:-).

338.159STAR::MFOLEYRebel without a ClueFri Oct 13 1989 17:119

	BULOVA is fixed now.. Yea, I'm not only a noter, I'm a system 
	manager too.. :-) Sorry 'bout the time.. BULOVA is a weird collection
	of hardware and God only knows what goes on with it.. We're hoping
	to make that all better really soon.

							mike