#
#  mwm RESOURCE DESCRIPTION FILE (.mwmrc)
#


#
# menu pane descriptions
#
# tool Menu
Menu toolMenu
{	
	"tools"			f.title
	no-label		f.separator
	"DataViews     "	f.exec "dodataviews -c $HOME/dv/.Dvconfig -auto -v 8.0"
	"DECterm       "	f.exec "dodxterm -ls > /dev/null"
	"Manual Browser"	f.exec "xman"
	"Notepad       "	f.exec "dxnotepad"
	"User Executive"	f.exec "dxue"
}
#setroot menu

# app menu
Menu appMenu
{
	"applications"	f.title
	no-label	f.separator
	"Decterm"	f.exec 	"dxterm -ls"
	"Calculator"	f.exec	"dxcalc"
	"Calendar"	f.exec	"dxcalendar"
	"Clock"		f.exec	"xclock -digital -geometry 160x30-0+0"	
	"FrameMaker   "	f.exec "doframe"
  	"Mail         "	f.exec "dxmail"
	"Read News"	f.exec "mxrn > /dev/null"
        "XVImage"       f.exec "xv &"
	"Color_sel"     f.exec "colsel &"
        "Xfont"         f.exec "xfontsel &"
	"Print Window"  f.exec "xwd |xpr -device ps| lpr &"
}

# net menu
Menu netMenu
{
    "network"		f.title
    no-label		f.separator
    "cebaf9"		f.exec  "donetwork -auto -node cebaf9"
    "cds001"		f.exec  "donetwork -auto -node cds001"
    "cds002"		f.exec  "donetwork -auto -node cds002"
    "dadev"		f.exec  "donetwork -auto -node dadev"
    "cebafh"            f.exec  "donetwork -auto -node cebafh"
    "cebafb"            f.exec  "donetwork -auto -node cebafb"    
}
# Root Menu Description
Menu RootMenu
{
    "Root Menu"		f.title
    no-label		f.separator
    "tools"		f.menu toolMenu
    "applications"	f.menu appMenu
    no-label		f.separator
    "DECterm"		f.exec "dodxterm -ls &"
    "User Executive"	f.exec "dxue &"
    "Shuffle Up"	f.circle_up
    "Shuffle Down"	f.circle_down
    "Refresh"		f.refresh
    no-label		f.separator
    "xrdb"		f.exec 	"xrdb $HOME/.Xdefaults"
    "Restart..."	f.restart
#...
}
#
# 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.next_key
    Meta Shift<Key>Escape       root|icon|window        f.prev_key
    Meta Ctrl Shift<Key>exclam	root|icon|window        f.set_behavior
#    Ctrl Shift<Key>Remove       root|icon|window        f.minimize
    Meta<Key>Down               root|icon|window        f.circle_down
    Meta<Key>Up                 root|icon|window        f.circle_up
    Meta<Key>F6			window			f.next_key transient
    Meta<Key>F17                root|icon|window        f.menu RootMenu
#...
}
# Window Menu Description
Menu RootWindowMenu
{
    "Activate"		_A	Alt<Key>F5	f.normalize
    no-label					f.separator
    "Move"		_M	Alt<Key>F7	f.move
    "Resize"		_R	Alt<Key>F8	f.resize
    "Iconify"		_I	Alt<Key>F9	f.minimize
    "Full Screen"	_F	Alt<Key>F10	f.maximize
    "Push Behind"	_P	Alt<Key>F3	f.lower
    no-label					f.separator
    "Kill"		_K	Alt<Key>F4	f.kill
}

#
# button binding descriptions
#

Buttons mwmRootButtonBindings
{
    <Btn1Click>		icon		f.normalize
    Meta<Btn1Click>	window		f.minimize
    Meta<Btn2Down>	window          f.move
    Meta<Btn3Down>	window		f.resize
    Meta<Btn3Down>	window		f.menu	"RootWindowMenu"
    <Btn1Down>          root            f.menu  "RootMenu"
    <Btn2Down>          root            f.menu  "netMenu"
    <Btn3Down>          root            f.menu  "appMenu"
#...
}
 

#
#  END OF mwm RESOURCE DESCRIPTION FILE
#


