MenuFont		"6x13"
TitleFont		"helvetica_bold12"
IconFont		"6x13"
IconManagerFont		"6x13"

IconifyByUnmapping
ShowIconManager
NoRaiseOnMove
NoRaiseOnResize
BorderWidth		2
Zoom			6
IconManagerGeometry	"=100x10+3+3"

NoTitle
{
    "xclock"
    "xload"
    "mailbox"
    "dclock"
    "wav"
    "wd"
    "mach_wave"
}

IconManagerDontShow
{
    "xclock"
    "xload"
    "mailbox"
    "dclock"
}

Color
{
    MenuForeground		"black"
    MenuBackground		"PaleGreen"
    MenuTitleBackground		"medium forest green"
    MenuTitleForeground		"white"
    TitleForeground		"cyan"
    TitleBackground		"cornflowerblue"
    IconForeground		"black"
    IconManagerBackground	"cyan"
    IconManagerForeground	"black"
    IconBackground		"cyan"
    BorderTileBackground	"gray"
    BorderTileForeground	"gray"
    BorderColor			"cyan"
}


DefaultFunction f.menu "MainMenu"

#Button	= KEYS	: CONTEXT : FUNCTION
#----------------------------------
Button1 =  	: title   : f.raise
Button2 =	: title	  : f.move
Button3 =  	: title   : f.raise
Button1 = m 	: title   : f.iconify
Button2 = m	: title	  : f.move
Button3 = m 	: title   : f.lower

Button1 =	: root    : f.menu "MainMenu"
Button2 = 	: root	  : f.menu "MainMenu"
Button3 = 	: root	  : f.menu "Machines"
Button2 = m	: window  : f.raise

menu "MainMenu" {
    "windowOps"	    f.title
    "resize"        f.resize
    "move"          f.move
    "iconify"       f.iconify
    "redraw"        f.refresh
    "lower"         f.lower
    "new window"    f.menu "NewWin"
    "new window"    f.menu "Machine"
    "windows"       f.menu "TwmWindows"
    "destroy"       f.destroy
    "quit"          f.menu "Quit"
}

menu "NewWin" {
   "local"    !"xterm -fn 9x15 -bg cornflowerblue -fg yellow -cr red -d unix:0.0 -T `hostname` &"
   "mach"     !"xterm -fn 9x15 -bg cornflowerblue -fg white -cr green -d unix:0.0 -T mach -e rlogin mach &"
}

menu "Quit" {
    "cancel"    f.nop
    "exit twm"  f.quit
}
