# .twmrc  edg  2/12/90
# Currently being updated frequently.

# MIT bug fixes for X11R4 Server
NoBackingStore
NoSaveUnders
# End bug fixes

ShowIconManager
SortIconManager
IconManagerGeometry     "100x10-0+195"
IconifyByUnmapping
IconManagerDontShow {
    "xclock"
    "xbiff"
}

UsePPosition "on"
RandomPlacement
AutoRelativeResize
MoveDelta 10

NoTitle {
    "xclock"
    "xbiff"
    "TWM Icon Manager"
    "vem"
}
NoTitleFocus

Color {
    IconManagerBackground	"black"
    IconManagerForeground	"white"
    TitleForeground      "white"
    TitleBackground      "blue"
    MenuForeground       "red"
    MenuBackground       "cyan"
    MenuTitleForeground  "red"
    MenuTitleBackground  "turquoise"
    MenuShadowColor  	 "yellow"
}
#    BorderColor		 "red"
#    BorderTileForeground "blue"
#    BorderTileBackground "yellow"
#    IconForeground       "darkgreen"
#    IconBackground       "cadetblue"
#    IconBorderColor      "green"
#    IconManagerBackground	"cyan"
#    IconManagerForeground	"midnightblue"
#}

#Button = KEYS  :CONTEXT: FUNCTION
#----------------------------------
#Button1 = 	: t	: f.function "move-raise"
Button1 = m	: w|i	: f.iconify
Button1 = m|s	: r	: f.refresh
Button1 = m	: r	: f.menu "Manager"
Button2 = m	: w	: f.function "move-raiselower"
Button2 = m	: r	: f.circleup
Button3 = m	: w|i	: f.resize
Button3 = m	: r	: f.menu "TwmWindows"

"1"     = 	: r	: f.exec "xterm &"
"2"     = 	: r	: f.exec "xterm -name xtermGreen &"
"E"     = 	: r	: f.exec "xterm -title eros -e rsh eros &"
"J"     = 	: r	: f.exec "xterm -title janus -e rsh janus &"
"Z"     = 	: r	: f.exec "xterm -title zabriskie -e rsh zabriskie &"
"G"     = 	: r	: f.exec "xterm -title gabriel -e su gabriel -f &"
"L1"    =       : r     : f.exec "/usr/local/sound/bin/play /usr/local/sound/lib/sounds/moo.au &"
"L2"    =       : r     : f.exec "/usr/local/sound/bin/saytime &"

Function "move-raiselower" { f.move f.raiselower }

menu "Manager"
{
	"Manager"		f.title
	"Restart"		f.restart
	"Refresh"		f.refresh
	"TWM Version"		f.version
	"Quit"			f.quit
}
