#**********************************************************************
#
#    .twmrc
#
#**********************************************************************

# ReverseVideo
WarpCursor
#UnknownIcon	"/usr/include/X11/bitmaps/xlogo16"
UnknownIcon	"/usr/include/X11/bitmaps/woman"
BorderWidth	2
TitleFont	"8x13"
MenuFont	"8x13"
IconFont	"8x13"
ResizeFont	"fg-22"

Color
{
    BorderColor "red"
    TitleForeground "white"
    TitleBackground "blue"
    MenuForeground "yellow"
    MenuBackground "darkgreen"
    MenuTitleForeground "red"
    MenuTitleBackground "blue"
    IconForeground "darkgreen"
    IconBackground "cadetblue"
    IconBorderColor "green"
}

Button1		f.menu "button1"
Button2		f.menu "button2"
Button3		f.menu "button3"
Button4		f.nop
Button5		f.nop

TitleButton1	t.nop
TitleButton2	t.move
TitleButton3	t.lower
TitleButton4	t.nop
TitleButton5	t.nop

NoTitle
{
  "dclock"
  "xclock"
  "xbiff"
  "xckmail"
  "xload"
}

AutoRaise
{
  "xterm"	# auto-raise all my xterm windows
  "rlogin"	# auto-raise all my rlogin windows
  "xedit"	# auto-raise all my xedit windows
  "xmh"		# auto-raise all my xmh windows
  "csh"
  "drawapp" # laser draw application 
  "laserdraw" # new version
  "xmemo"    # my little memo windows
  "ts"		# my test program
  "laser"   # my test program
  "-t"
  "-p"
}

menu "button1"
{
"Other Logins"	f.title
"csh"		!"/usr/bin/X11/xterm -fn f18b -geometry 80x24 +j -T porsche &"
"laser"	!"/usr/bin/X11/xterm -fn f14b -geometry 80x24 +j -T laser -e rlogin laser &"
"csh_b"		!"/usr/bin/X11/xterm -fn f18b -geometry 100x24 +j -T porsche &"
"csh_s"		!"/usr/bin/X11/xterm -fn sansb18 -geometry 80x24 +j -T porsche &"
"csh_big"	!"/usr/bin/X11/xterm -fn sansb24 -geometry 80x24 +j -T porsche &"
}

menu "button2"
{
"Window Ops"		f.title
"(De)Iconify"		f.iconify
"Move Window"		f.move
"Refresh"			f.refresh
"Raise Window"		f.raise
"Lower Window"		f.lower
"Resize Window"		f.resize
"Focus on Root"		f.unfocus
"Source .twmrc"		f.twmrc
"Cut File"			f.cutfile
"twm Version"		f.version
"Focus on Window"	f.focus
"Destroy Window"	f.destroy
"Kill twm"			f.quit
}

menu "button3"
{
"Other"		f.title
"Editors"	f.menu "editors"
"Relax"		f.menu "relax"
"File Header"	f.file "/usr/ias_soft/tlastrange/src/file.twm"
"pull right"	f.menu "blob"
}

menu "editors"
{
"Editors"	f.title
"gnu"		!"/usr/bin/X11/xterm -fn f14b -geometry 100x24 -T Gnuemacs -e emacs -nw &"
"GNU"		!"/usr/bin/X11/xterm -fn f14b -geometry 100x24-5+5 -T Gnuemacs -e emacs -nw &"
"Phone"		!"/usr/bin/X11/xterm -fn f14b -geometry 100x24 -T Telephone -e mg /user/mcneal/.phone &"
}

menu "relax"
{
"Relax"		f.title
"News"		!"/usr/bin/X11/xterm -fn f14b -geometry 100x34 -T Usenet -e rn &"
"Cal"		!"Calendar&"
}

menu "blob"
{
"pull right"		f.menu "final"
"another"		^"some text"
}

menu "final"
{
"Cut Buffer"		f.title
"Procedure Header"	f.file "/usr/ias_soft/tlastrange/src/proc.twm"
"File Header"		f.file "/usr/ias_soft/tlastrange/src/file.twm"
}

menu "one"
{
"refresh" f.refresh
}
