SmartPlacement
StdForeColor            Black
StdBackColor            #ffe4c4
HiForeColor             Black
HiBackColor             sandybrown
Font                    7x14
WindowFont		-adobe-helvetica-bold-r-*-*-*-100-*-*-*-*-*-*
IconFont		-adobe-helvetica-medium-r-*-*-*-100-*-*-*-*-*-*
PagerFont    5x7
DeskTopSize 2x2
DeskTopScale 16
Pager -1 +1
IconBox 0 0 400 150
IconBox -200 100 -1 500
StaysOnTop Fvwm Pager
EdgeScroll 0 0
NoTitle rclock
NoTitle GoodStuff
Sticky rclock
Sticky xclock
Sticky xdaliclock
Sticky xcalendar
Sticky xbiff
StaysOnTop xclock
WindowListSkip xclock
WindowListSkip rclock
WindowListSkip xbiff
Icon "rxvt" /usr/X386/include/X11/bitmaps/term.xpm
Icon "GoodStuff" /usr/X386/include/X11/bitmaps/toolbox.xpm
Icon "xterm" /usr/X386/include/X11/bitmaps/xterm.xpm
Icon "x3270-4" /usr/X386/include/X11/bitmaps/term.xpm
Icon "rclock" /usr/X386/include/X11/bitmaps/clock.xpm
Icon "xcalendar" /usr/X386/include/X11/bitmaps/datebook.xpm
Icon "mfgterm" /usr/X386/include/X11/bitmaps/sm-mf.xbm
Icon "mfterm" /usr/X386/include/X11/bitmaps/metafont.xpm
Icon "tex" /usr/X386/include/X11/bitmaps/sm-tex.xbm
Icon "texterm" /usr/X386/include/X11/bitmaps/tex.xpm
Icon "vtaix" /usr/X386/include/X11/bitmaps/kterm.xpm
Icon "pixmap" /usr/X386/include/X11/bitmaps/pixmap.xpm
Icon "Fvwm Pager" /usr/X386/include/X11/bitmaps/porsche.xpm
Icon "xman" /usr/X386/include/X11/bitmaps/xman.xpm
Icon "emacs" /usr/X386/include/X11/bitmaps/emacs.xpm
Icon "xfm" /usr/X386/include/X11/bitmaps/next.xpm
Icon "xcalc" /usr/X386/include/X11/bitmaps/xcalc.xpm
Icon "cdrom" /usr/X386/include/X11/bitmaps/cdrom.xpm
Icon "clipboard" /usr/X386/include/X11/bitmaps/clipboard.xpm
Icon "linux" /usr/X386/include/X11/bitmaps/linux.xpm
Icon "mail" /usr/X386/include/X11/bitmaps/mail.xpm
Icon "postit" /usr/X386/include/X11/bitmaps/postit.xpm
Icon "sharks" /usr/X386/include/X11/bitmaps/sharks.xpm
Icon "xedit" /usr/X386/include/X11/bitmaps/xedit.xpm
Icon "xrn" /usr/X386/include/X11/bitmaps/xrn.xpm
Icon "xgrab" /usr/X386/include/X11/bitmaps/xgrab.xpm
Icon "xarchie" /usr/X386/include/X11/bitmaps/xarchie.xpm
Icon "unknown" /usr/X386/include/X11/bitmaps/unknown.xpm
Icon "xcalc" /usr/X386/include/X11/bitmaps/xcalc.xpm
#now define the menus - defer bindings until later
Popup "Quit-Verify"
        Title   "Really Quit Fvwm?"
        Quit    "Yes, Really Quit"
        Nop     "No, Don't Quit"
EndPopup
# This defines the most common window operations
Popup "Window Ops"
	Title		"Window Ops"
	Move		"Move"
	Resize	 	"Resize"
	Raise   	"Raise"
	Lower   	"Lower"
	Iconify 	"(De)Iconify"
	Stick		"(Un)Stick"
	Maximize 	"(Un)Maximize"
	Maximize 	"(Un)Maximize Vertical"	0 100
	Nop     	""
	Destroy 	"Destroy"
	Delete  	"Delete"
EndPopup

Popup "Applications" Applications
        Exec    "XTerm"         exec xterm -title Terminal -sb -bg linen -e bash&
        Exec    "TeX"           exec texterm -e jove &
        Exec    "METAFONT"      exec mfterm -sb -fn 7x14bold -e mf &
	Exec    "Mosaic"        exec Mosaic +0+30 &
	Exec    "Xdu"           exec xdu </mdirs &
	Exec	"Xv"            exec xv -vsperfect&
	Exec    "phonenrs"      exec xterm -e jove /root/phone.nrs &
EndPopup
Popup "Games" Games
	Exec "Tetris"		exec tetris &
        Exec "FreeCell"         exec xpat -rules FreeCell &
        Exec "Klondike"         exec xpat -rules Klondike &
	Exec    "x3270"         exec x3270 -geometry +0-0 &
EndPopup
Popup "Utilities"
        Title   "Utilities"
	Exec	"XTerm-vtaix"   exec xrlogin -telnet -sb -geometry 81x26+0-0 -fn 10x20 vtaix &
	EXEC	"X3270"         exec x3270 vtvm1.cc.vt.edu &
        Exec    "Xterm"         exec xterm -sb -fn 10x20 -bg linen -geometry 81x26+0-0 -sb -e bash&
	Exec    "XTeX"		exec xtex &
        Exec    "Emacs" exec emacs -geometry 81x26+0-0 &
	Exec    "Mosaic"        exec Mosaic -geometry +0+30&
	Exec    "EZ"            exec ez /usr/andrew/doc/AtkTour/Media &
        Exec    "jove" exec xterm -fn 6x12 -geometry 80x14+0+0 &
        Exec    "Andrew Help"   exec ahelp ez &
	Exec    "Calendar"      exec xcalendar -geometry 270x220+530+0 &
EndPopup

############################################################################
# Now define some handy complex functions

# This one moves and then raises the window if you drag the mouse,
# only raises the window if you click,  or does a RaiseLower if you double 
# click
Function "Move-or-Raise"
	Move 		"Motion"
	Raise		"Motion"
	Raise		"Click"
	RaiseLower	"DoubleClick" 
EndFunction

# This one moves and then lowers the window if you drag the mouse,
# only lowers the window if you click,  or does a RaiseLower if you double 
# click
Function "Move-or-Lower"
	Move 		"Motion"
	Lower		"Motion"
	Lower		"Click"
	RaiseLower	"DoubleClick"
EndFunction

# This one resizes and then raises the window if you drag the mouse,
# only raises the window if you click,  or does a RaiseLower if you double 
# click
Function "Resize-or-Raise"
	Resize 		"Motion"
	Raise		"Motion"
	Raise		"Click"
	RaiseLower	"DoubleClick"
EndFunction



# define the mouse bindings
#     Button    Context Modifi  Function
Mouse 1         R       N       PopUp "Window Ops"
Mouse 2         R       N       PopUp "Applications"
Mouse 3         R       N       PopUp "Utilities"

Mouse 1         1       N       PopUp "Window Ops"
Mouse 2         1       N       PopUp "Window Ops"
Mouse 3         1       N       PopUp "Window Ops"
Mouse 1         2       N       Iconify
Mouse 2         2I      N       Iconify
Mouse 3         I2      N       Iconify

Mouse 1         F       N       Resize
Mouse 1		TSI	A	Function "Move-or-Raise"
Mouse 2		I	A	Iconify
Mouse 2         I       N       Iconify
Mouse 2         FST     N       PopUp "Window Ops"
Mouse 3         TSF     N       RaiseLower

Key Left        A       C       Scroll -600 +0
Key Right       A       C       Scroll +600 +0
Key Up          A       C       Scroll +0   -600
Key Down        A       C       Scroll +0   +600

Key Left        R       N       Scroll -600 +0
Key Right       R       N       Scroll +600 +0
Key Up          R       N       Scroll +0   -600
Key Down        R       N       Scroll +0   +600

Key F1  A M Exec "help" exec xterm -e more /usr/man/cat7/fvwm.7 &
Key F2          A       M       Popup "Window Ops"
Key F3          A       M       Popup "Utilities"
Key F4          A       M       Move
Key F5          A       M       Resize

Key Next        A       M       CirculateUp
Key Prior       A       M       CirculateDown
Key n           A       M       CirculateUp
Key p           A       M       CirculateDown
Key r           A       M       Refresh
Key m           A       M       Move
Key s           A       M       Resize
Key l           A       M       RaiseLower
Key x           A       M       Destroy
Key i           A       M       Iconify

DecorateTransients
RandomPlacement

