
NoGrabServer
TitleFont "-adobe-new century schoolbook-bold-i-normal--14-140-75-75-p-88-iso8859-1"
ResizeFont "-adobe-new century schoolbook-bold-i-normal--14-140-75-75-p-88-iso8859-1"
MenuFont "-adobe-new century schoolbook-bold-i-normal--14-140-75-75-p-88-iso8859-1"
IconFont "-adobe-new century schoolbook-bold-i-normal--14-140-75-75-p-88-iso8859-1"
IconManagerFont "-adobe-new century schoolbook-bold-i-normal--12-120-75-75-p-76-iso8859-1"
#ClientBorderWidth

Monochrome
{
    BorderColor "white"
    DefaultBackground "black"
    DefaultForeground "white"
    TitleBackground "black"
    TitleForeground "white"
    MenuBackground "black"
    MenuForeground "white"
    MenuTitleBackground "black"
    MenuTitleForeground "white"
    IconBackground "black"
    IconForeground "white"
    IconBorderColor "black"
    IconManagerBackground "black"
    IconManagerForeground "white"
}

Color
{
    BorderColor "slategrey"
    DefaultBackground "#044"
    DefaultForeground "#0dd"
    TitleBackground "#066"
    TitleForeground "#0ff"
    MenuBackground "#044"
    MenuForeground "#0dd"
    MenuTitleBackground "#044"
    MenuTitleForeground "#0ff"
    IconBackground "#066"
    IconForeground "#0ff"
    IconBorderColor "#0ff"
    IconManagerBackground "#066"
    IconManagerForeground "#0ff"
}

#
# Define some useful functions for motion-based actions.
#
MoveDelta 3
Function "move-or-lower" { f.move f.deltastop f.lower }
Function "move-or-raise" { f.move f.deltastop f.raise }
Function "move-or-iconify" { f.move f.deltastop f.iconify }

#
# Set some useful bindings.  Sort of uwm-ish, sort of simple-button-ish
#
Button1 = : root : f.menu "defops"
Button2 = : root : f.menu "machs"
Button3 = : root : f.menu "myops"

Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.resize
Button3 = m : window|icon : f.function "move-or-raise"

Button1 = : title : f.function "move-or-raise"
Button2 = : title : f.raiselower

Button1 = : icon : f.function "move-or-iconify"
Button2 = : icon : f.iconify

Button1 = : iconmgr : f.iconify
Button2 = : iconmgr : f.iconify

"F6"	= : all : f.exec "xterm -n `hostname`&"
"F20"	= : all : f.exec "vaxbin/warp &"

"F1"	= : all : f.showiconmgr
"F2"	= : all : f.hideiconmgr

#
# And a menus with the usual things
#
menu "defops"
{
"Twm"	f.title
"Iconify"	f.iconify
"Show Iconmgr"	f.showiconmgr
"Hide Iconmgr"	f.hideiconmgr
""		f.nop
"Kill"		f.destroy
"Delete"	f.delete
""		f.nop
"Restart"	f.restart
"Exit"		f.quit
}

menu "machs"
{
"Games"         f.title
"xcolumns"      f.exec "/mit/games/vaxbin/xcolumns &"
"San-J's"       f.exec "/cfields/adt/adt &"
"Tetris"        f.exec "/mit/games/vaxbin/Tetris &"
"xmahjongg"     f.exec "/mit/games/vaxbin/xmahjongg &"
}

menu "myops"
{
"Stuff"		f.title
"emacs"		f.exec "emacs -rv &"
"inc mail"      f.exec "inc &"
"xmh"           f.exec "xmh &"
"xterm"		f.exec "xterm &"
}

AutoRelativeResize
AutoRaise{"TWM Icon Manager"}
IconManagerGeometry "1024x22+0" 10
IconifyByUnmapping
DontIconifyByUnmapping{ "xclock" "oclock" "xload" "zwgc" "xbiff" }
IconManagerDontShow{ "xclock" "oclock" "xload" "zwgc" "xbiff" }
NoTitle{ "TWM Icon Manager" "xclock" "oclock" "xload" "zwgc" "xbiff" "xlogout" "Console" }
# OpaqueMove
# RandomPlacement
RestartPreviousState
SqueezeTitle
ShowIconManager 



