[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

3585.0. "DECwindows V3 - help for this brave new world?" by QUARK::LIONEL (Free advice is worth every cent) Mon Nov 05 1990 15:38

Where should questions about using the DECwindows V3 IFT environment go?  Here
or in the SUBWAY::MOTIF conference?  I just installed it today and am left
dazed and confused, with the help and documentation only covering about half
of what I need to know to feel comfortable with it.

Some things I, and perhaps others, would like to know:

	1.  How do we get the familiar VMS key bindings back?  I've seen
	    several contradictory descriptions for this.

	2.  How can we change this eye-straining "grey on grey" color
	    scheme for the icons and window borders?

	3.  I've seen references to people turning on an icon box - how?

	4.  How does one get FileView to dismiss an output window?

			Steve
T.RTitleUserPersonal
Name
DateLines
3585.1LESLIE::LESLIEAndy LeslieMon Nov 05 1990 23:3661
     <<< Note 3585.0 by QUARK::LIONEL "Free advice is worth every cent" >>>
>Where should questions about using the DECwindows V3 IFT environment go?  Here
>or in the SUBWAY::MOTIF conference?  I just installed it today and am left
>dazed and confused, with the help and documentation only covering about half
>of what I need to know to feel comfortable with it.

    Here is a good place...
    
>Some things I, and perhaps others, would like to know:
>	1.  How do we get the familiar VMS key bindings back?  I've seen
>	    several contradictory descriptions for this.

    Key bindings are dealt with in the SYS$LOGIN: (or wherever you specify)
    MWM_RC.DAT file. Unless you have your own, the ones in
    DECW$SYSTEM_DEFAULTS are used. These files are DECW$MWM.DAT,
    DECW$MWM_BW.DAT, DECW$MWM_COLOR.DAT, DECW$MWM_GRAY.DAT,
    DECW$MWM_RC.DAT. I'll post both my DECW$XDEFAULTS.DAT file and the
    MWM_RC.DAT file as examples in further replies - note that I have a
    colour workstation.
    
>	2.  How can we change this eye-straining "grey on grey" color
>	    scheme for the icons and window borders?
    By using the appropriate resources in either DECW$XDEFAULTS.DAT or
    DECW$MWM.DAT. Examples as previously stated.
    
>	3.  I've seen references to people turning on an icon box - how?

    Put the folowing line in your DECW$XDEFAULTS.DAT/DECW$MWM.DAT
Mwm*useIconBox:				True
    Consider these lines too:

Mwm*iconBoxGeometry:			14x1+1+1
Mwm*iconBoxTitle:			Icon box
Mwm*iconbox*systemMenu:			DefaultSystemMenu
Mwm*iconbox*background:			Red
    
    
>	4.  How does one get FileView to dismiss an output window?
    Offhand, I never want them to come up unless there is something to see
    - and I haven't worked out how to dismiss them either. To stop them
    coming up, edit VUE$SUBPROCESS_INIT.COM, look for the lines
    
$vue$execute_command:
$ 'vue$command
$vue$task_exit:
    
    and insert the line $ VUE$SUPPRESS_OUTPUT_POPUP thusly.
    
$vue$execute_command:
$ vue$suppress_output_popup
$ 'vue$command
$vue$task_exit:
    
    Note that you have to do this every time you upgrade (:-().
    
    Hope this helps - and I recommend the OSF docs, especially the
    programmers guide, which is 3 books in 1 (you need book 2).
    
    
    
    /andy/
3585.2My DECW$XDEFAULTS.DATLESLIE::LESLIEAndy LeslieMon Nov 05 1990 23:38143
!
!  DECW$XDEFAULTS.DAT - Andy Leslie, Oct 90
!  This file:
!   - overrides standard defaults
!   - is read before application-specific defaults
!   - doesn't get altered bu any applications
!   - contains explanations when known
!
# NOTE THAT YOU *MUST* amend Mwm*configfile to point to your
# config file...
#------------------------------------------------------------
#
# Mwm Global Resources:
#
*WmIconForm.IconStyle:			0
Mwm*configFile:				disk$unicorn:[leslie]MWM_RC.DAT
Mwm*colormapFocusPolicy: 		keyboard
Mwm*keyboardFocusPolicy: 		pointer
Mwm*focusAutoRaise:			True
Mwm*interactivePlacement: 		False
Mwm*lowerOnIconify:			True
Mwm*deiconifyKeyFocus:			True
Mwm*focusPolicyResource:		True
Mwm*passSelectButton: 			True
Mwm*doubleClickTime: 			500
Mwm*autoRaiseDelay:			800
Mwm*limitResize:	 		False
Mwm*resizeCursors:	 		True
Mwm*systemMenu:				RootMenu
Mwm*systemButtonClick:			True
Mwm*systemButtonClick2:			True
Mwm*windowMenu:				DefaultWindowMenu
Mwm*wMenuButtonClick: 			True
Mwm*wMenuButtonClick2:	 		True
Mwm*buttonBindings:			DefaultButtonBindings
Mwm*keyBindings:			DefaultKeyBindings
Mwm*restartSettings:			True
Mwm*workspaceMenu:			True
#
# Mwm Appearance Resources
#
*titleFont: -*-Helvetica-Bold-R-Normal--*-120-*-*-*-*-ISO8859-1
Mwm*fontList: -*-Helvetica-Bold-R-Normal--*-120-*-*-*-*-ISO8859-1
Mwm*moveThreshold: 			2
Mwm*frameBorderWidth:			1
Mwm*default*frameBorderWidth:		1
Mwm*default*resizeBorderWidth: 		2
Mwm*resizeBorderWidth:			2
Mwm*clientDecoration:			-maximize
Mwm*transientDecoration:none
Mwm*clientAutoPlace: 			False
Mwm*positionIsFrame:	 		False
Mwm*positionOnScreen:	 		True
Mwm*showFeedback:			all
#
# Mwm Default Resources
#
Mwm*background: 			Gray41
Mwm*Foreground:                 	Turquoise
Mwm*activeBackground:	 		Gray41
Mwm*activeForeground:			White
Mwm*topShadowColor:			Slateblue
Mwm*default*bottomShadowColor:		Gray41
Mwm*activeTopShadowColor:		Cyan
Mwm*activeBottomShadowColor:		Black
#
# Mwm Icon Resources
#
Mwm*icon*fontList: -*-Helvetica-Bold-R-Normal--*-140-*-*-*-*-ISO8859-1
Mwm*iconAutoPlace: 		 	True
Mwm*iconClick:	 		 	False
Mwm*fadeNormalIcon:		 	True
Mwm*iconDecoration:		 	activelabel label image
Mwm*iconPlacement:	         	Left Bottom
Mwm*iconImageMaximum:          	 	55x36
Mwm*useClientIcon:		 	True
Mwm*icon*background:	 	 	Gray41
Mwm*icon*foreground:	 	 	White
Mwm*icon*activeBackground:	 	OrangeRed
Mwm*icon*activeForeground: 	 	White
Mwm*icon*topShadowColor:	 	Turquoise
Mwm*icon*bottomShadowColor:	 	Yellow
Mwm*icon*activeTopShadowColor:	 	Turquoise
Mwm*icon*activeBottomShadowColor:	Gold
Mwm*iconImageBackground:	 	Blue Violet
Mwm*iconImageForeground: 	 	White
Mwm*iconImageTopShadowColor:#ffdcffdcffdc
Mwm*iconImageBottomShadowColor:	 	White
#
# Mwm Specific Client Resources
#
Mwm*Calendar*iconImageBackground:	SandyBrown
Mwm*Calendar*iconImageForeground:	Black
#
Mwm*DECW$TERMINAL*iconImageBackground:	Firebrick
Mwm*DECW$TERMINAL*iconImageForeground:	Cyan
#
Mwm*Session Manager*iconImageBackground:Coral
Mwm*Session Manager*iconImageForeground: Coral
#
# Mwm Menu Resources
#
Mwm*menu*fontList: -*-Helvetica-Bold-R-Normal--*-140-*-*-*-*-ISO8859-1
Mwm*menu*foreground: 			White
Mwm*menu*background:			SandyBrown
Mwm*menu*topShadowColor:		Yellow
Mwm*menu*bottomShadowColor:		Coral
#
# Icon Box stuff
#
Mwm*useIconBox:				False
Mwm*iconBoxGeometry:			14x1+1+1
Mwm*iconBoxTitle:			Icon box
Mwm*iconbox*systemMenu:			DefaultSystemMenu
Mwm*iconbox*background:			Red
#
# Mwm Feedback Resources
#
Mwm*feedback*background:		SandyBrown
Mwm*feedback*foreground:		Black
Mwm*feedback*topShadowColor:		Yellow
Mwm*feedback*bottomShadowColor:		Coral
#
# Mwm Matte Resources
#
Mwm*matteWidth:				2
Mwm*default*matteWidth:			2
Mwm*matteBackground:	 		Blue
Mwm*matteForeground:	 		Gold
Mwm*matteTopShadowColor:		Coral
Mwm*matteBottomShadowColor:		White
#
# Some other stuff
#
Mwm*autoKeyFocus:			True
Mwm*default*activeForeground:   	Cyan
Mwm*default*activeTopShadowColor: 	Gray41
Mwm*default*background:         	Blue
#Mwm*default*Foreground:         	Blue
#Mwm*activeBottomShadowColor:		Gray41
#
#
#
3585.3MWM_RC.DATLESLIE::LESLIEAndy LeslieMon Nov 05 1990 23:39128
#
# menu pane descriptions
#

# Root Menu Description
Menu RootMenu
{                                       
    "Call this work?"	f.title
    no-label		f.separator
    "Pack Icons"        f.pack_icons
    no-label		f.separator
    "Shuffle Up"     	f.circle_up
    no-label		f.separator
    "Shuffle Down"   	f.circle_down
    no-label	     	f.separator  
    "Applications Menu" f.menu AJLapplMenu
    no-label	     	f.separator
    "Restart MWM"     	f.restart                                       
    no-label	     	f.separator
}

# Applications Menu

Menu AJLapplMenu
{
    "Applications"      f.title
    no-label		f.separator
    "All applications"	f.exec "@disk$unicorn:[leslie.utils_lib]decw$local Everything"
    no-label		f.separator
    "Quote" 		f.exec "@disk$unicorn:[leslie.utils_lib]decw$local Quote"
    no-label		f.separator
    "Notes" 		f.exec "@disk$unicorn:[leslie.utils_lib]decw$local notes"
    no-label		f.separator
    "DECterm"		f.exec "@disk$unicorn:[leslie.utils_lib]decw$local decterm"
    no-label		f.separator
    "Bookreader"	f.exec "@disk$unicorn:[leslie.utils_lib]decw$local bookreader"
    no-label		f.separator
    "Calculator"	f.exec "@disk$unicorn:[leslie.utils_lib]decw$local calculator"
    no-label		f.separator
    "Calendar"	        f.exec "@disk$unicorn:[leslie.utils_lib]decw$local calendar"
    no-label		f.separator
    "DECW$Mail"	        f.exec "@disk$unicorn:[leslie.utils_lib]decw$local DECW$Mail"
    no-label		f.separator
    "Xpostit"	        f.exec "@disk$unicorn:[leslie.utils_lib]decw$local Xpostit"
}
# Default Window Menu Description

Menu DefaultWindowMenu MwmWindowMenu
{
    "Window Menu"	f.title
    no-label		f.separator
    "Minimize"	_M     	Alt<key>F3	f.minimize
    "Normalize"	_N	Alt<key>F4	f.normalize
    "Lower"	_L  	Alt<key>F5	f.lower
    "Raise"	_R	Alt<key>F6 	f.raise_lower
    "Maximize"	_x	Alt<key>F7 	f.maximize
      no-label		f.separator
   "Move"	_v	Alt<key>F9	f.move
     no-label		f.separator
    "Size"	_S	Alt<key>F10	f.resize
     no-label		f.separator
     no-label		f.separator
    "Close"	_C	Alt<key>F8	f.kill
}                 


#
# key binding descriptions
#

Keys DefaultKeyBindings
{
#    Shift<key>Escape            icon|window             f.post_wmenu
#    Meta<key>space              icon|window             f.post_wmenu
    Meta<key>Tab                root|icon|window        f.next_key
    Meta Shift<key>Tab		root|icon|window        f.prev_key
#    Meta<key>Escape             root|icon|window        f.circle_down
#    Meta Shift<key>Escape       root|icon|window        f.circle_up
    Meta Ctrl Shift<key>exclam	root|icon|window        f.set_behavior
    Meta<key>F6			window			f.next_key transient
        <key>F4                 icon                    f.post_wmenu
}

#
# button binding descriptions
#

Buttons DefaultButtonBindings
{
    Ctrl <Btn1Down>     frame|icon      f.raise     
    Alt<Btn3Down>     window|icon      f.post_wmenu
    Alt<Btn1Down>          root            f.menu  RootMenu
    Shift <Btn2Down>    root            f.menu  AJLapplMenu
    Meta<Btn1Down>	icon|window     f.lower
    Meta<Btn2Down>	window|icon     f.resize
    Meta<Btn3Down>	window          f.move
}
 
Buttons ExplicitButtonBindings
{            
    <Btn1Down>          frame|icon      f.raise
    <Btn3Down>          frame|icon      f.post_wmenu
    <Btn2Down>          root            f.menu  AJLapplMenu
    <Btn1Down>          root            f.menu  RootMenu
    Meta<Btn1Down>	window|icon     f.lower
    Meta<Btn2Down>	window|icon     f.resize
    Meta<Btn3Down>	window|icon     f.move

}
 
Buttons PointerButtonBindings
{
    <Btn1Down>          frame|icon      f.raise
    <Btn3Down>          frame|icon      f.post_wmenu
    <Btn2Down>          root            f.menu  AJLapplMenu
    <Btn1Down>          root            f.menu  RootMenu
# If (Mwm*passButtons == False)
    Meta<Btn1Down>	window|icon     f.raise
# Else
    <Btn1Down>          window          f.raise
    Meta<Btn1Down>	window|icon     f.lower
    Meta<Btn2Down>	window|icon     f.resize
    Meta<Btn3Down>	window|icon     f.move
}

#
#  END OF mwm RESOURCE DESCRIPTION FILE
#
3585.4DECW$LOCAL.COM (used from the background menu)LESLIE::LESLIEAndy LeslieMon Nov 05 1990 23:4174
$ !                  
$ ! DECW$MWM_LOCAL_APPLICATION.COM - quick'n'dirty hack by ANdy Leslie 4/Oct/90
$ ! run from rootmenu and creating detached processes to run applications
$ !
$ ! It is used by the menu created within my MWM_RC.DAT and is not perfect!
$ !
$ p1=f$edit(p1,"UPCASE")      
$ proc==f$environment("PROCEDURE")
$ !plog=f$element(1,"]",proc)
$ !plog=f$element(0,".",plog)
$ !plog=="'plog'.log"
$!
$ close/nolog appl_file 
$ open appl_file decw$mwm_application_startup.com/write
$ 
$ write appl_file "$ reply/all/bell ""decw$appl ''p1' starting"""
$ write appl_file "$ set verify"
$ write appl_file "$ set display/node=0/create/transport=local"
$
$ if "''p1'".eqs. "NOTES" 
$  then
$   write appl_file "$   notes/interface=decwindows"
$   endif
$
$ if "''p1'".eqs. "DECTERM" 
$  then
$   write appl_file "$ create /terminal /detach /process=""Local DECterm"" -"
$   write appl_file "window_attributes=(rows=40,initial_state=icon,-"
$   write appl_file "title=""Initial_state"",icon_name=""Local_DW""-"
$   write appl_file ",foreground=""Yellow"",Background=""Cornflower Blue"")"
$ 	
$   endif
$
$
$ if "''p1'".eqs. "BOOKREADER" 
$  then
$   write appl_file "$ MCR decw$bookreader"
$ 	  
$   endif
$
$ if "''p1'".eqs. "CALCULATOR" 
$  then
$   write appl_file "$ MCR decw$calc"
$ 	
$   endif
$
$ if "''p1'".eqs. "CALENDAR") 
$  then
$   write appl_file "$ MCR decw$calendar"
$ 	
$   endif
$
$ if "''p1'".eqs. "QUOTE") 
$  then
$   write appl_file "$ MCR decw$quote"
$ 	
$   endif
$
$ if "''p1'".eqs. "DECW$MAIL") 
$  then
$   write appl_file "$ MCR DECW$MAIL "
$ 	
$   endif
$
$ if "''p1'".eqs. "XPOSTIT") 
$  then
$   write appl_file "$ MCR XPOSTIT "
$ 	
$   endif
$
$ close /nolog appl_file
$ run/detach/input=decw$mwm_application_startup.com/out=nl:/auth SYS$SYSTEM:dcl/Process_name="DWAPPL"
$ wait 00:01:00
$ delete decw$mwm_application_startup.com;*
3585.5LESLIE::LESLIEAndy LeslieMon Nov 05 1990 23:437
    
    Again I would like to emphasise the value of the OSF Programmers guide.
    Even for users! I have no idea if it is on the net, I bought it - or
    rather my cost center did.
    
    
    /andy/
3585.6Also in LESLIE::DISK$UNICORN:[DECWINDOWSV3.MOTIFDOCS] for EuropeansLESLIE::LESLIEAndy LeslieTue Nov 06 1990 00:4712
    Lo and behold, a little poking around reveals the docs are online at
    
CLT::DECW_LIBRARY:[MOTIF.V1-1]AES_BACK.PS;1 13712 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]AES_FRONT.PS;1 1511 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]PORTING_GUIDE.PS;1 230 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]PROGRAM_GUIDE.PS;1 27431 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]RELEASE_NOTES.PS;1 767 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]STYLE_GUIDE.PS;1 27761 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]TEST_GUIDE.PS;1 363 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]TOOLKIT_REF_BACK.PS;1 15136 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]TOOLKIT_REF_FRONT.PS;1 371 blocks
CLT::DECW_LIBRARY:[MOTIF.V1-1]USERS_GUIDE.PS;1 8333 blocks
3585.7Potentially dumb questionNECSC::LEVYCloser to fineTue Nov 06 1990 07:1912
With the advent of MOTIF DECwindows V3, is the policy about the "support" of 
user-modified resource files going to change?

Up until now, ULTRIX supported it and VMS did not.

Looks like V3 requires alot of hacking the resource files for colors, etc.

What's the company's position on this for V3?

Thanks,

	- Dave
3585.8LESLIE::LESLIEAndy LeslieTue Nov 06 1990 12:191
    Ask a Product Manager...
3585.9KONING::KONINGNI1D @FN42eqTue Nov 06 1990 12:2617
Before I fly off the handle, let me see if I understand .0 correctly.

My only exposure to Motif so far is from running Rich Murphy's "mxrn".
It came "out of the box" with mangled key bindings (for example, Rubout
erased in the wrong direction).  The answer was "that's Motif, but to
fix it, use these magic incantations".

Is .0 saying that, with DECwindows V3, ALL the applications will come out
of the box that way?  And that the way to fix this is to edit the
Xdefaults file?  Surely people can't mean that.  It is obvious that Vn+1
should come out of the box with its user interface compatible with Vn,
especiallly in such essential areas as key bindings.  To achieve the
admittedly useful ability to support "new standard" user interfaces, the
answer is to have customize functions (e.g., in the session manager) to
allow those who want new ways to enable those new ways.

	paul
3585.10LESLIE::LESLIEAndy LeslieTue Nov 06 1990 13:216
    No Paul, don't fly off any handles- that doesn't reflect my
    experiences.
    
    Steve?
    
    /andy/
3585.11QUARK::LIONELFree advice is worth every centTue Nov 06 1990 14:4531
My experiences...

Out of the box, DECwindows V3/Motif has the following regressions/problems

	- Key bindings added to VMS DECwindows for V1 such as shift-space,
	  ^U, etc. are not present.

	- Default colors chosen for windows, icons and decorations are an
	  optometrist's nightmare - all varying shades of dark gray, extremely
	  low contrast

	- No provision for manipulation of decoration colors except by
	  hand-editing a myriad of .DAT files (there seem to be a dozen new
	  ones created in my login directory, and I'm not sure what any
	  of them do.)

	- Use of FileView for AutoStart an unfortunate choice.  V2 method
	  was far more flexible and easy to use, as well as using fewer
	  resources.

After using the system for a day, I'm finding my productivity lowered by
about a third due to the difficulty in managing the windows and icons.  When
A window is expanded but under something, I have NO clue that it is there.
In XUI, you had a greyed icon.

I thank Andy for providing his resource files, but I am adamant in by belief
that users should NOT have to study books and pick their way through a maze
of resource files just to get a window configuration that won't give them
eyestrain.

				Steve
3585.12LESLIE::LESLIEAndy LeslieTue Nov 06 1990 15:346
    You can play with the MWM Resource editor - copy
    
    LESLIE""::DISK$UNICORN:[DECWINDOWSV3.MRE]MRE.*. Set def to the
    directory it is in before running it.
    
    andy
3585.13QUARK::LIONELFree advice is worth every centTue Nov 06 1990 17:118
I tried Andy's resource files and they're a vast improvement for me.  I also
turned on the icon box which solved some significant irritation.

Right now, the one obvious remaining irritation is that shift-space isn't
the same as space.  That and the behavior of the text widget under XUI (such
as with NOTES) is different than it is with Motif.

				Steve
3585.14LESLIE::LESLIEAndy LeslieTue Nov 06 1990 18:195
    I'm submitting lots of QARs on this stuff, I suggest that we all do
    this to try and raise the perceived quality of the release.
    
    
    /andy/
3585.15Try this one.NSDC::PERTOSOMarco Pertoso, Nsdc, SwitzerlandWed Nov 07 1990 04:04140
Mwm*activeBackground:			Firebrick
Mwm*activeBottomShadowColor:		Black
Mwm*activeForeground:	                White
Mwm*activeTopShadowColor:		Red

Mwm*background:                         DimGrey
Mwm*bottomShadowColor:			Black
Mwm*Foreground:                         White
Mwm*topShadowColor:			lightgrey

# Matte Resources

Mwm*matteWidth:				3
Mwm*DECW$CLOCK*matteWidth:		9
Mwm*DECW$TERMINAL*matteWidth:		5
#Mwm*DECW$TERMINAL*matteBackground:			firebrick
#Mwm*DECW$TERMINAL*matteBottomShadowColor:		red
#Mwm*DECW$TERMINAL*matteForeground:			White
#Mwm*DECW$TERMINAL*matteTopShadowColor:			black
Mwm*matteBackground:			cornflowerblue
Mwm*matteBottomShadowColor:		midnightblue
Mwm*matteForeground:			White
Mwm*matteTopShadowColor:		steelblue

# Icon Color Resources

Mwm*icon*activeBackground:		grey33
Mwm*icon*activeBottomShadowColor:	grey12
Mwm*icon*activeForeground:	        White
Mwm*icon*activeTopShadowColor:		gray44

#Mwm*icon*activeBackground:		forestgreen
#Mwm*icon*activeForeground:		Black
#Mwm*icon*activeBottomShadowColor:	darkgreen
#Mwm*icon*activeTopShadowColor:		greenyellow

Mwm*icon*background:			SteelBlue
Mwm*icon*Foreground:			Black
Mwm*icon*bottomShadowColor:		midgnightblue
Mwm*icon*topShadowColor:		SkyBLue

# Icon Image Resources

Mwm*iconImageBackground:                Seagreen
Mwm*iconImageForeground:                Black
Mwm*iconImageBottomShadowColor:         Black
Mwm*iconImageTopShadowColor:            Black

Mwm*.clientDecoration:                  -maximize
Mwm*.clientFunctions:                   -maximize
Mwm*.transientDecoration:               Title resize minimize
Mwm*.transientFunctions:                -maximize

# Focus Policy Resources

Mwm*keyboardFocusPolicy:               	Explicit
Mwm*autoKeyfocus:                      	True
Mwm*autoRaiseDelay:                    	200
Mwm*colormapFocusPolicy:               	Explicit
Mwm*deiconifyKeyFocus:                 	True
Mwm*enforceKeyFocus:                   	True
Mwm*pointerAutoRaise:		    	True
Mwm*focusAutoRaise:                    	True
Mwm*passButtons:                      	True
Mwm*passSelectButton:                  	True
Mwm*startupKeyFocus:                   	True
                                       	
# Bindings Resources

Mwm*buttonBindings:                    	DefaultButtonBindings
Mwm*keyBindings:                       	DefaultKeyBindings

# Font Resources

Mwm*fontList:              -*-Helvetica-Bold-R-Normal--*-120-*-*-*-*-ISO8859-1
Mwm*default*fontList:      -*-Helvetica-Bold-R-Normal--*-120-*-*-*-*-ISO8859-1

# Window Menus
Mwm*wMenuButtonClick:			True

# Window Size Resources
Mwm*resizeBorderWidth:			3
MwmresizeCursors:			True

# Window Position Resources
Mwm*clientAutoPlace:                    False
Mwm*interactivePlacement:               False
#Mwm*moveThreshold:                     4
#Mwm*positionIsFrame:                   True
#Mwm*positionOnScreen:                  True
Mwm*showFeedback:                       all

# Icon Configuration Resources
Mwm*iconAutoPlace:                      True
Mwm*iconClick:			    	True
Mwm*iconDecoration:                     activelabel label image
Mwm*iconImageMaximum:                   50X50
Mwm*iconImageMinimum:                   32x32
Mwm*iconPlacement:                      left top
Mwm*iconPlacementMargin:                2
Mwm*lowerOnIconify:                     True
Mwm*useClientIcon:			True

# Icon Box Configuration Resources

Mwm*useIconBox:                         False
Mwm*fadeNormalIcon:                     False
Mwm*iconBoxGeometry:		     	16x1+1+1
Mwm*iconBoxName:                        icon Box
#Mwm*iconbox*background:                FireBrick
#Mwm*iconbox*foreground:                yellow
#
Mwm*configFile:                         DUA1:[PERTOSO.XDEF]Mwm.rc
#
# Icon images - until clients get their act together
Mwm*DECW$CLOCK.clientDecoration:        resize
Mwm*DECW$CALC.clientDecoration:         resize
Mwm*Bookreader*iconImageBackground:	brown
Mwm*Bookreader*iconImageForeground:	black
Mwm*DECW$TERMINAL*iconImageBackground:	Coral
Mwm*DECW$TERMINAL*iconImageForeground:  Black
Mwm*Notes*iconImageBackground:		Brown
Mwm*Notes*iconImageForeground:		Black
Mwm*MAIN_SHELL*iconImageBackground:	Brown
Mwm*MAIN_SHELL*iconImageForeground:	Black
Mwm*fileViewShell*iconImageBackground:		Yellow
Mwm*fileViewShell*iconImageForeground:		Black
Mwm*systemMenuShell*iconImageBackground:	White
Mwm*systemMenuShell*iconImageForeground:	Black
Mwm*Calendar*iconImageBackground:	SandyBrown
Mwm*Calendar*iconImageForeground:	Black
#
#Mwm*bitmapDirectory:		        mp_bitmaps
#Mwm*decw$terminal*iconImage:		dxterm.bitmap
#Mwm*DECW$CALC*iconImage:		dxcalc.bitmap
#Mwm*DECW$CALENDAR*iconImage:		dxcalendar.bitmap
#Mwm*DXcardfiler*iconImage:		dxcardfiler.bitmap
#Mwm*DECW$CLOCK*iconImage:		dxclock.bitmap
#Mwm*systemMenuShell*iconImage:		Sol.bitmap

3585.16Am I missing something?PEACHS::BELDINWed Nov 07 1990 09:4326
>    
>    LESLIE""::DISK$UNICORN:[DECWINDOWSV3.MRE]MRE.*. Set def to the
>    directory it is in before running it.

	A couple of questions on this resource editor:

		- does it work with Motif 1.0 or 1.1 or do you have to
	 	  have DECwindows v3.0?  I'm running Motif 1.0 and
		  VMS 5.3-1...

		- I couldn't get it to run - the MRE is looking for a
		  'mre_menu.uid'.  I renamed the MRE.UID file to mre_menu,
		  but got an empty error box followed by an access violation


		- I tried linking, but got tons of unresolved external
		  refs - things like FETCH_MESSAGE_PRINTF, ADD_LINE_ITEM,
		  FONT_SELECTION_BOX_MAP.  I don't recognize these things
		  as either Motif or DECwindows calls... Where are they?

		- mre.c doesn't even compile under VMS as the .h file is
		  looking for sys$library:strings.h - we have a string.h
		   

	Rick Beldin  (looking for a way to deal with resource files)
	Graphics and Applications Support
3585.17QUARK::LIONELFree advice is worth every centWed Nov 07 1990 10:128
MRE is a demo from the Motif Developer's toolkit.  I have run it
successfully under DW V3, though it has some rough edges on VMS (the
option to apply the changes to your working environment is Unix-specific,
and if you use the file selection widget to specify a configuration file
to edit, including version number, it can't write it back unless you remove
the version number from the filespec.

				Steve
3585.18LESLIE::LESLIEAndy LeslieWed Nov 07 1990 10:444
       	To make the MRE editor work properley you have to either SET DEF to
	the directory that MRE.EXE is in or define the UILPATH logical as per
	MRE.C.
3585.19KONING::KONINGNI1D @FN42eqWed Nov 07 1990 10:558
    re .10: ok, but .11 (first item) seems to contradict your reassurances. 
    And the answer I got when I (and others) complained about the broken
    key bindings in mxrn contradicts it as well.
    
    I'm basically wondering if we're going to set ourselves up for a repeat
    (only multiplied by 100) of the infamous Compose key blunder.
    
    	paul
3585.20Copy all the files..PEACHS::BELDINWed Nov 07 1990 11:206
	Found the problem - note that had pointer said only to copy the
	MRE.* files - several others are needed, notably the MRE_MENU.UID.
	I copied them all and got it to work...

	Rick
3585.21Is f.exec functional without a patch in V1.1?CSC32::K_OGLESBYTue Nov 20 1990 19:294
Is f.exec functional without a patch in V1.1?  Mine
seem to be ignored.

KO
3585.22Using RUN_MWM?KOBAL::SCHOELLERSchoeller - Failed XperimentTue Nov 20 1990 22:1012
I'm using it.  What is the date of your mwm.exe?  Do an ANAL/IMAGE to
find out.  In at least opne early version of 1.1 it didn't work.  Even
with the one where it works, you need to start the window manager with a
CLI.  DECwindows V3 does this by default.  You can do it under DECwindows
V2 with RUN_MWM.  This is a hack program which runs the window manager
detached in a process with a CLI.  If you want it send mail and I will
mail you the BLISS source (about 10 lines plus comments).  You may want to 
make slight modifications for your location.

The RUN_MWM concept and original source brought to us by Rick Murphy.

Dick
3585.23DSTEG2::HOSSFELDI&#039;m so confused!Wed Nov 21 1990 07:171
Also if you use the reset in the window manager it doesn't work after!
3585.24That was it - I had restarted several times. Thanks.CSC32::K_OGLESBYWed Nov 21 1990 11:520
3585.25Now _THAT_s what I call Hyper (session mgr)...INFACT::NORTHERNWhat a *swell* party this is!...Mon Nov 26 1990 22:5630
    Just for a "hoot", one of our local boys had an "application launcher",
    that started up just about everything you could start, and on just
    about anybody's workstation that could be gotten hold of.
    
    This on the concept that if someone else wasn't using the MIPS/VUPS,
    then they were free game, and he wasn't about to see them wasted...
    
    Went to DECwindows V3, and he went in and did the bit in the release
    notes about activating the Hypersession stuff.
    
    Imagine his supriz when he launched off the DECwindows calendar and a
    couple of other things and started getting many many session managers
    on the screen?
    
    His current working theory, and I haven't had time to test it, is that
    the hypersession stuff looks for a session manager, and for whatever
    reason can't find it, so it goes out and merrily starts it's own?
    
    Can't give an accurate number as things rapidly ground to a halt before 
    everything got activated, and besides he got aggravated and rebooted
    the thing.
    
    Since what he was doing wasn't officially sanctioned (I never told him
    he could start stuff up on _MY_ workstation), I don't think a QAR is
    necessarily required...  Just be aware?
    
    (P.S. We're all LaVC'd together...  If that makes a difference)
    
    		Lou "And here I thought I was already hyper enuff anyway"
    			Northern
3585.26Really?RTL::CLARKWard ClarkTue Nov 27 1990 11:358
    Lou's claims in .25 that HyperSession can be used to launch applications
    on other peoples workstations.  If so, his "local boy" has found ways
    of using HyperSession that were never intended by the MEMEX developers.

    It would be very helpful to know more details about this so that we can
    either fix HyperSession or stop the spreading of rumors.

    -- Ward (MEMEX project leader)