#VirtualDesktop 	"252x173+1-0" 20
VirtualDesktop 	"252x115+1-0" 20
PanDistanceX 	100
PanDistanceY 	100
DeiconifyToScreen
WarpWindows

#	Doors {
#        	"1" 		"82x25+1+667"   	"+0+0"
#        	"2"          	"82x25+86+667"  	"+1300+0"
#        	"3"           	"82x25+171+667"  	"+2600+0"
#        	"4"       	"82x25+1+695"  		"+0+1100"
#        	"5"      	"82x25+86+695"  	"+1300+1100"
#		"6"      	"82x25+171+695"  	"+2600+1100"
#	}

NailedDown {
  "Virtual Desktop"
  "TWM Icon Manager"
  "XClock"
  "XLoad"
  "XLogout"
  "Logout"
  "XConsole"
  "Console"
  "XEyes"
  "Zwgc"
  "XScreensaver"
  "XLoadimage"
  "XZwrite"
  "1"
  "2"
  "3"
  "4"
  "5"
  "6"

}

#
# 	 Keys	: context		: function
#     	 ------ : ------------- 	: ---------------------
"Up"	= c	: all    		: f.panup ""
"Down"	= c	: all			: f.pandown ""
"Left"  = c	: all			: f.panleft ""
"Right" = c	: all			: f.panright ""


AutoRelativeResize
BorderWidth 2
ButtonIndent 0
IconBorderWidth 1
IconManagerDontShow
{
	"xclock"
	"xload"
	"xscreensaver"
	"xzwrite"
	"Virtual Desktop"
	"Console"
	"zwgc"
	"xeyes"
	"1"
  	"2"
  	"3"
  	"4"
  	"5"
	"6"
}
IconRegion "2000x200+0-0" WEST SOUTH 0 0
IconManagerGeometry "100x200-0+0"
AutoPan 5
NoCaseSensitive
NoGrabServer
NoSaveUnders
NoTitleFocus
SortIconManager
RestartPreviousState
TitleButtonBorderWidth 1
UsePPosition "on"
Cursors 
{
         Frame     "top_left_arrow"
         Title     "top_left_arrow"
         Icon      "top_left_arrow"
         IconMgr   "top_left_arrow"
         Move      "fleur"
         Resize    "fleur"
         Menu      "sb_left_arrow"
         Button    "hand2"
         Wait      "watch"
         Select    "dot"
         Destroy   "pirate" 
}

NoTitle 
{
	"xclock"
	"xzwrite" 
	"xload"
	"xscreensaver"
	"xeyes"
	"1"
  	"2"
  	"3"
  	"4"
  	"5"
	"6"
}

Zoom 100
DoorFont "-adobe-new century schoolbook-bold-i-normal-*-20-*-*-*-*-*-*-*"
TitleFont "-adobe-times-bold-r-normal--*-140-*-*-*-*-*-*"
ResizeFont "-adobe-times-bold-r-normal--*-140-*-*-*-*-*-*"
MenuFont "-adobe-times-bold-r-normal--*-140-*-*-*-*-*-*"
IconFont "-adobe-times-bold-r-normal--*-120-*-*-*-*-*-*"
IconManagerFont "-adobe-times-bold-r-normal--*-120-*-*-*"
Monochrome 
{
    BorderColor 		"black"
    TitleBackground  		"black"
    TitleForeground  		"white"
    IconBackground   		"black"
    IconForeground   		"white"
    IconBorderColor  		"white"
    MenuBackground   		"black"
    MenuForeground  		"white"
    MenuTitleBackground 	"black"
    MenuTitleForeground		"white"
}

Color 
{
    BorderColor "slateblue"
    DefaultBackground "royal blue"
    DefaultForeground "white"
    TitleBackground "red3"
    TitleForeground "white"
    MenuBackground "black"
    MenuForeground "medium spring green"
    MenuTitleBackground "midnight blue"
    MenuTitleForeground "white"
    IconBackground "darkslateblue"
    IconForeground "pale goldenrod"
    IconBorderColor "black"
    IconManagerBackground "black"
    IconManagerForeground "medium spring green"
}

MoveDelta 5

Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-raiselower" { f.move f.deltastop f.raiselower }
Function "move-or-iconify" { f.move f.deltastop f.iconify } 

"F1" =		:all		: f.warpto "emacs"
"F2" = 		:all		: f.fullzoom
"F20" =		:all 		: f.forcemove
Button1 = 	: root		: f.menu "RootMenu"
Button2 = 	: root		: f.menu "Applications"
Button3 = 	: root		: f.menu "Functions"
Button1 = c	: window | icon	: f.move
Button2 = c	: window | icon	: f.resize
Button3 = c	: window | icon	: f.iconify
Button3 = c|m	: window | icon	: f.destroy
Button1 =	: frame|title	: f.function "move-or-raiselower"
Button1 =	: icon		: f.function "move-or-iconify"
Button1 =       :door           :f.enterdoor
Button2 =       :door           :f.enterdoor
Button3 =       :door           :f.enterdoor

menu "RootMenu"
{
"Menu"		   	f.title
"Kill"			f.destroy
"Nail"			f.nail
"Move"			f.move
"Resize"		f.resize
"Iconify"		f.iconify
"Foreground"		f.raise
"Background"		f.lower
"Focus"			f.focus
"Unfocus"	        f.unfocus
"Manager Up"            f.showiconmgr
"Manager Down"          f.hideiconmgr
"Vtwm: Restart"		f.restart
"Vtwm: Quit"		f.quit
"Refresh"		f.refresh
}


menu "Functions"
{
"Options"		f.title
"Preferences"           f.menu "X"
"Attach"                f.menu "Attach"
"Games"                 f.menu "Games"
"Bitmaps"		f.menu "Bmaps"
"More Bitmaps"          f.menu "Cimages"
}


menu "X"
{
"X Preferences"		f.title
"Keyclick Volume"       f.menu "Keyclick"
"Bell Volume"           f.menu "Bell"
"Mouse Speed"           f.menu "Mouse"
}

menu "Keyclick"
{
"Keyclick off"          ! "/usr/bin/X11/xset c 0"
"Keyclick quiet"        ! "/usr/bin/X11/xset c 13"
"Keyclick on"           ! "/usr/bin/X11/xset c 100"
}

menu "Bell"
{
"Bell off"              ! "/usr/bin/X11/xset b 0"
"Bell quiet"            ! "/usr/bin/X11/xset b 3"
"Bell on"               ! "/usr/bin/X11/xset b 100"
}

menu "Mouse"
{
"Fast"        !       "/usr/bin/X11/xset m 7 2"
"Medium"      !       "/usr/bin/X11/xset m 2 5"
"Slow"        !       "/usr/bin/X11/xset m 1 1"
}

menu "Applications"
{
    "Applications"              f.title
    "Xterm"        !   "xterm &"
    "Emacs"        !   "emacs &"
    "Mail"          !   "xmh &"
    "News"          !   "xrn &"
    "Help"        !   "help &"
    "OLC"         !   "xolc &"
    "Zephyr"       f.menu "Zephyr Options"
    "xclock"       !   "xclock &"
    "xload"        !   "xload &"
    "xscreensaver" !   "/mit/sipb/${hosttype}bin/xscreensaver -B &"
    "xeyes"        !   "xeyes &"
    "xzwrite"      !   "/mit/sipb/${hosttype}bin/xzwrite &"
    "xwebster"     !   "/mit/sipb/${hosttype}bin/xwebster &"
    "xman"         !   "xman &"
    "xprint"       !   "xprint &"
    "Others"      f.menu "Others"
}


Menu "Others"
{   "Xcalc"        !   "/usr/bin/X11/xcalc -rv &"
    "Xcolormap"    !"/mit/video/`machtype`bin/xcolormap &"
    "Xerox"        !"/mit/softbone/`machtype`bin/xerox -fg red -tc darkslateblue
-g 99x54+796+0 -cbd blue -cmc green &"
    "Xcurpos"      !"/mit/softbone/`machtype`bin/xcurpos &"
    "Xlockers"     !"/mit/softbone/`machtype`bin/xlockers &"
    "Xwud"         !"xwd | xwud &"
    "Xbreak"       !"/mit/softbone/`machtype`bin/xbreak&"
    "Xbounce"      !"/mit/softbone/`machtype`bin/xbounce "
    "Xrotmap"      !"/mit/softbone/`machtype`bin/xrotmap &"
    "Xtherm"       !"/mit/softbone/`machtype`bin/xtherm &"
    "Xcalendar"    !"xcalendar &"
    "Xquota"       !"xquota &"
    "Xcutsel"      !"xcutsel &"
    "Xroach"       !"/mit/motifdev/roach/xroach"
    "Xresources"   !"xrdb -b load .Xresources "
}

menu "Attach"
{
        "Attach Files"         f.title
        "Athenadoc"            !      "attach -n athenadoc >> /dev/null&"
        "Andrew"               !      "attach -n andrew >> /dev/null&"
        "Bitbucket"            !      "attach -n bitbucket >> /dev/null&"
        "Bjaspan"              !      "attach -n bjaspan >> /dev/null&"
        "Cagoddar"             !      "attach -n cagoddar >> /dev/null&"
        "Consult"              !      "attach -n consult >> /dev/null&"
        "Games"                !      "attach -n games >> /dev/null&"
        "Gnu"                  !      "attach -n gnu >> /dev/null&"
        "Info"                 !      "attach -n info >> /dev/null&"
        "Jh"                   !      "attach -n jh >> /dev/null&"
	"Motifdev"	       !      "attach -n motifdev >> /dev/null&"
        "Pictures"             !      "attach -n pictures >> /dev/null&"
        "Postscript"           !      "attach -n postscript >> /dev/null&"
        "Potluck"              !      "attach -n potluck >> /dev/null&"
        "Sipb"                 !      "attach -n sipb >> /dev/null&"
        "Softbone"             !      "attach -n softbone >> /dev/null&"
        "Video"                !      "attach -n video >> /dev/null&"
	"Web"		       !      "attach -n web >> /dev/null&"
        "X"                    !      "attach -n X >> /dev/null&"
        "Xpix"                 !      "attach -n xpix >> /dev/null&"
        "XPIX"                 !      "attach -n -m /mit/XPIX -e bander:/site/xpix >> /dev/null&"
        "ALL"                  !      "attach -n athenadoc andrew bitbucket bjaspan cagoddar consult games gnu info jh pictures postscript potluck sipb softbone video x xpix >> /dev/null&"
}

menu "Games"
{
"Games"              f.title
"Tetris   "          !   "attach games; /mit/games/`machtype`bin/Tetris &"
"Hextris  "          !   "attach games; /mit/games/`machtype`bin/hextris &"
"XTank    "          !   "attach games; /mit/games/`machtype`bin/xtank &"
"XWanderer"          !   "attach games; /mit/games/`machtype`bin/xwanderer &"
"Xmahjongg"          !   "attach games; /mit/games/`machtype`bin/xmj &"
"Pacman   "          !   "attach games; /mit/games/`machtype`bin/xchomp &"
"Othello  "          !   "attach games; /mit/games/`machtype`bin/othello &"
"Columns  "	     !   "attach games; /mit/games/`machtype`bin/xcolumns &"
"IRC"		     !   "add games; /mit/games/`machtype`bin/irc &"
}

menu "Bmaps"
{
"Bit Maps "	     f.title
"Bk Ground"          !   "xsetroot &"
"Far Side "	     !   "zcat /mit/xpix/pictures/far-side.dmp | /mit/xpix/`machtype`bin/xroot &"
"Rhine    "          !   "zcat /mit/xpix/pictures/rhine.dmp | /mit/xpix/`machtype`bin/xroot &"
"Twodollar"	     !   "zcat /mit/xpix/pictures/twodollar.dmp | /mit/xpix/`machtype`bin/xroot &"
"Full Moon"	     !   "zcat /mit/xpix/pictures/fullmoon.dmp | /mit/xpix/`machtype`bin/xroot &"
"Calvin   "          !   "zcat /mit/xpix/pictures/bigcalvin.dmp | /mit/xpix/`machtype`bin/xroot &"
"Swirl    "          !   "zcat /mit/xpix/pictures/swirl.dmp | /mit/xpix/`machtype`bin/xroot &"
"Skull    "	     !   "/mit/graphics/`machtype`bin/xloadimage -onroot /mit/bitbucket/vf-1sa &"
}

menu "Cimages"
{
"More Bitmaps"	f.title
"eve 1"			!	"/mit/graphics/`machtype`bin/xloadimage -onroot /mit/adpat/eve.gif &"
"eve 1 fscreen"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/adpat/eve.gif &"
"eve 2"			!	"/mit/graphics/`machtype`bin/xloadimage -onroot /mit/graphics/images/cmu-gif/anime/eve.gif &"
"eve 2 fscreen"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/graphics/images/cmu-gif/anime/eve.gif &"
"madoka, cut"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -clip 10,45,525,550 /mit/graphics/images/cmu-gif/anime/madoka.gif &"
"madoka, fscreen"		!	"/mit/graphics/`machtype`bin/xloadimage -clip 10,45,525,550 -onroot -fullscreen -border black /mit/graphics/images/cmu-gif/anime/madoka.gif &"
"barton"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen /mit/graphics/images/cmu-gif/art/barton.gif &"
"yes"			!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/allenshu/misc/Yes.gif &"
"asia"			!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/allenshu/misc/Asia.gif &"
"strtrk6"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/allenshu/misc/startrek6.gif &"
"DirtyPair"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/dgaxiola/Junk/DP.Beverly.gif &"
"Spiderman"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/dgaxiola/Junk/SpiderMan.gif &"
"Madoka_tennis"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -fullscreen -border black /mit/dgaxiola/Junk/madoka_tennis.gif &"
"Madoka_t/6000"		!	"/mit/graphics/`machtype`bin/xloadimage -onroot -zoom 214 /mit/dgaxiola/Junk/madoka_tennis.gif &"
"Minmei"                ! 	"/mit/graphics/`machtype`bin/xloadimage -onroot -zoom 171 /mit/adpat/mmpose2.gif &"
}



menu "Zephyr Options"
{
" Zephyr Options " f.title
"Hide"  !"zctl hide &"
"UnHide" !"zctl unhide &"
"New ZWGC" !"/usr/etc/zwgc &"
"Zephyr Shield"          !   "zctl wg_shutdown &"
"Zephyr UnShield"        !   "zctl wg_startup &"
}
















