
VirtualDesktop 	"260x207+0+0" 13	# set up the Virtual Desktop
VirtualDesktopFont "fixed" 	# set up v-desktop font

# make the desktop move
#AutoPan 5
PanDistanceX 	100
PanDistanceY 	100

NailedDown			# Always on screen
{
  "Virtual Desktop"
  "TWM Icon Manager"
  "XLoad"
  "XLogout"
  "XConsole"
  "Console"
  "XEyes"
  "xscreensaver"
  "dclock"
  "xclock"
  "oclock"
  "zwgc"
  "xznol"
  "xzwrite"
  "sendWindow"
  "xbiff"
}

# This is an automatically generated file.  Do not edit!  
Color
{
#        VirtualBackground "skyblue"
#        VirtualForeground "MidnightBlue"
#        RealScreenForeground "violet"
#        RealScreenBackground "green"

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

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 }


AutoRaise		{ "nothing" }
BorderWidth		2
DecorateTransients
DontMoveOff
MaxWindowSize		"1500x1500"
NoBackingStore
NoCaseSensitive
#NoGrabServer
OpaqueMove
RandomPlacement
RestartPreviousState
#ShowIconManager
SortIconManager
WarpCursor
WarpUnmapped
Zoom
#MenuFont		"-*-fixed-medium-r-normal-*-*-120-*-*-*-80-*"
#ResizeFont		"-*-new century schoolbook-medium-r-normal-*-*-240-75-*"
#TitleFont		"-*-new century schoolbook-medium-r-normal-*-*-180-75-*"
DontIconifyByUnmapping	{ }
#IconFont		"-*-fixed-medium-r-normal-*-*-120-*-*-*-80-*"
NoIconManagers
IconifyByUnMapping
IconManagerFont		"variable"
IconManagerGeometry	"=120x10-0+0"
IconManagerDontShow {
    "xclock"
    "oclock"
    "xload"
    "xnetload"
    "dclock"
    "Mail"
    "Edit"
    "login"
    "Login"
    "Reminder"
    "Zwgc"
    "topBox"
    "manualBrowser"
    "xterm"
    "emacs"
    "r-xload"
    "ZephyrGram"
    "zwgc"
    "R-"
    "popup"
    "Virtual"
}
Icons {
}
NoHighlight {
}
NoTitle {
    "TWM"
    "XTerm Icon Manager"
    "SU Icon Manager"
    "Reminder"
    "Zwgc"
    "xload"
    "xnetload"
    "xclock"
    "oclock"
    "dclock"
    "bobclock"
    "xbiff"
    "xpostit"
    "popup"
    "xcdplayer"
    "player"
    "review"
    "r-xload"
}
DefaultFunction		f.menu "default-menu"
#Button = KEYS : CONTEXT : FUNCTION
Button1 =      : root   : f.menu "Utilities"
Button2 =      : root   : f.menu "TwmWindows"
Button3 =      : root   : f.menu "Window-Ops"
Button1 = s    : root   : f.menu "Function-Keys"
Button2 = s    : root   : f.menu "Function-Keys"
Button3 = s    : root   : f.menu "Function-Keys"

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

Button1 =   : title : f.function "move-or-raise"
Button1 = s : title : f.forcemove
Button2 =   : title : f.raiselower
Button3 =   : title : f.zoom
Button3 = s : title : f.fullzoom

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


   "F1"      =    : all          : f.raiselower
   "F2"      =    : all          : f.iconify
#   "F3"      =    : all          : f.warpto "login"
   "F3"      =   : all          : f.warpto "xterm0"
   "F4"      =    : all          : f.warpto "R-pigment"

   "F5"      =    : all          : f.warpto "R-profile"
   "F5"      = s  : all          : f.warpto "emacs@profile.lcs.mit.edu"
   "F5"      = c  : all          : f.warpto "emacs@profile.lcs.mit.edu"
   "F5"      = m  : all          : f.warpto "emacs@profile.lcs.mit.edu"
   "F6"      =    : all          : f.warpto "R-venezuela"
#   "F6"      = s  : all          : f.warpto "emacs: Emacs @ maastricht"
#   "F7"      =    : all          : f.warpto "R-concerto"
#   "F8"      =    : all          : f.warpto "R-delft"
#   "F10"     =    : all          : f.warpto "R-gimp"
#   "F10"     = c  : all          : f.warpto "R-canaima"
#   "F10"     = s  : all          : f.warpto "R-canaima"
#   "F10"     = m  : all          : f.warpto "R-canaima"
   "F12"     =    : all          : f.zoom
   "F12"     = c   : all          : f.fullzoom
   "F12"     = s   : all          : f.fullzoom
   "F12"     = m   : all          : f.fullzoom
   "F17"     =    : all          : f.forcemove
   "F18"     =    : all          : f.warptoscreen "next"
   "F19"     =    : all          : f.warpto "Calendar"
   "F20"     =	 : all		: f.warpring "next"
   "F20"     =	m : all		: f.warpring "prev"

"Up"	= s	: all		: f.panup	"100"	# CTRL-ARROW
"Down"	= s	: all		: f.pandown	"100"	# Moves real screen
"Left"  = s	: all		: f.panleft	"100"	# thru Virtual screen
"Right" = s	: all		: f.panright	"100"	# what utter wierdness!

menu "Function-Keys"
{
    "Function Keys"		f.title	
   "F1      =    : all          : f.raiselower"	f.nop
   "F2      =    : all          : f.iconify"	f.nop
   "F3      =    : all          : f.warpto login"	f.nop
   "F3      = s  : all          : f.warpto su"	f.nop
   "F4      =    : all          : f.warpto Mail"	f.nop

   "F5      =    : all          : f.warpto R-Venezuela"	f.nop
   "F5      = s  : all          : f.warpto emacs: Emacs @ Venezuela"	f.nop
   "F6      =    : all          : f.warpto R-maastricht"	f.nop
   "F6      = s  : all          : f.warpto emacs: Emacs @ maastricht"	f.nop
   "F7      =    : all          : f.warpto R-concerto"	f.nop
   "F8      =    : all          : f.warpto R-delft"	f.nop
   "F10     =    : all          : f.warpto R-gimp"	f.nop
   "F10     = c  : all          : f.warpto R-canaima"	f.nop
   "F10     = s  : all          : f.warpto R-canaima"	f.nop
   "F10     = m  : all          : f.warpto R-canaima"	f.nop
   "F12     =    : all          : f.zoom"	f.nop
   "F12     = c   : all          : f.fullzoom"	f.nop
   "F12     = s   : all          : f.fullzoom"	f.nop
   "F12     = m   : all          : f.fullzoom"	f.nop
   "F17     =    : all          : f.forcemove"	f.nop
   "F18     =    : all          : f.warptoscreen next"	f.nop
   "F19     =    : all          : f.warpto Calendar"	f.nop
   "F20     =	 : all		: f.warpring next"	f.nop
   "F20     =	m : all		: f.warpring prev"	f.nop


}	
menu "Window-Ops"
{
    "Window Ops"		f.title
    "Refresh"			f.refresh
    "Unfocus"			f.unfocus
    "Source .twmrc"		f.twmrc
    "Reread XDefaults"		!"xrdb -load $HOME/.Xresources"
    "Move Window"		f.forcemove
    "Resize Window"		f.resize
    "Hide Icon Manager"		f.hideiconmgr
    "Show Icon Manager"		f.showiconmgr
    "Kill Menu"			f.menu "Kill"
}
menu "Kill" {
    "Kill Menu"			f.title
    "Kill twm"			f.quit
    "Kill Session"		!"kdestroy; kill -HUP $XCONSOLEPID"
    "Destroy Window"		f.destroy
    "Restart"		f.restart
    "Quit"			f.quit

}

menu "Hacks" {
    "Hacks"		f.title
    "Calc"		!"xcalc &"
    "Roller"		!"roller &"
    "Magnify"		!"xmag &"
    "Puzzle"		!"puzzle &"
    "Tetris"		!"tetris &"
    "Maze"		!"maze &"
    "Eyes"		!"xeyes &"
    "Ico"		!"ico &"
}
menu "Utilities" {
    "Utilities"		f.title
"pigment*" 	!"xterm -sb -sl 5000 -n R-pigment -T R-pigment -e ssh pigment.lcs.mit.edu &"
"graphics*" 	!"xterm -sb -sl 5000 -n R-graphics -T R-graphics -e ssh graphics.lcs.mit.edu &"
"profile*" 	!"xterm -sb -sl 5000 -n R-profile -T R-profile -e ssh profile.lcs.mit.edu &"
"mall*" 	!"xterm -sb -sl 5000 -n R-mall -T R-mall -e ssh mall.lcs.mit.edu &"
"wind*" 	!"xterm -sb -sl 5000 -n R-wind -T R-wind -e ssh wind.lcs.mit.edu &"
    "Rlogin"		f.menu "Rlogin"
   "RXterm"		f.menu "Remote-Xterm"

    "Xterm"		!"xterm -sb -sl 5000 -n R-`hostname` -T R-`hostname` &"
    "su"		!"xterm -sb -sl 5000 -n su -T su -e su &"
    "login"		!"xterm -T login -geometry 80x24+10+10 -sb -sl 5000 -ls &"
    "Netscape"		! "(/mit/infoagents/arch/sun4x_55/bin/netscape &)"
#    "Mosaic"		! "(Mosaic &)"
#    "Mail"      !"emacs -name 'Mail' -f mh-rmail &"
 #    "slogin"		f.menu "Slogin"
#    "Athena"		f.menu "Athena"
#    "RXload"		f.menu "Remote-Xload"

#    "News"		!"xrn&"
#    "CD Player"		!"xcdplayer&"
#    "IrcII"		!"xterm -ut -T 'IrcII' -geometry 80x75+0+0 -e irc &"
    "Emacs"		!"emacs &"
    "Calendar"		!"(ical &)"
    "Answerbook"	!"answerbook &"
    "xconsole"		!"xconsole &"
#    "xconsole vzla2"		!"xconsole -display vzla2:0.0 &"

#    "Idraw"		!"idraw &"
#    "Zephyr Calendar"	! "((ical -list | zwrite -d -q -s 'Calendar Reminder' $USER)&)"
#    "Discuss"		!"emacs -name Discuss -l run-discuss -geometry 80x60-5-5 &"
#    "Remote Mail"	!"remote lyric emacs -name mh-rmail -f my-mh-rmail -geometry 80x60-5-5 &"
#    "XMan"		!"xman &" 
#    "Athena Files"	!"xterm -ut -T 'Athena Files' -geometry 80x10 -e afs_auth &"
#    "Nasa News"		! "((finger nasanews@space.mit.edu  | tr -d '\015' | zwrite adj > /dev/null) &)"
}

menu "Athena" {
    "Athena"		f.title
    "Express"		!"(athena_login 0 Express)"
    "Dialup"		!"(athena_login 0 Athena)"
    "Vax-Dialup"	!"(athena_login 0 Athena-vax)"
    "RT-Dialup"		!"(athena_login 0 Athena-rt)"
    "X-Dialup"		!"(athena_login 1 Athena-x)&"
}
menu "Rlogin" {
    "Remote Login"	f.title
"pigment*" 	!"xterm -sb -sl 5000 -n R-pigment -T R-pigment -e ssh pigment.lcs.mit.edu &"
"graphics*" 	!"xterm -sb -sl 5000 -n R-graphics -T R-graphics -e ssh graphics.lcs.mit.edu &"
"profile*" 	!"xterm -sb -sl 5000 -n R-profile -T R-profile -e ssh profile.lcs.mit.edu &"
"maastricht*" 	!"xterm -sb -sl 5000 -n R-maastricht -T R-maastricht -e ssh maastricht.lcs.mit.edu &"
"delft*" 	!"xterm -sb -sl 5000 -n R-delft -T R-delft -e ssh delft.lcs.mit.edu &"   
#"gimp" 	!"xterm -sb -sl 5000 -n R-gimp -T R-gimp -e rlogin gimp.mit.edu &"   
"vzla*" 	!"xterm -sb -sl 5000 -n R-venezuela -T R-venezuela -e ssh venezuela.mit.edu &"   
"canaima" 	!"xterm -sb -sl 5000 -n R-canaima -T R-canaima -e ssh canaima.berkeley.edu &"
"amsterdam*" 	!"xterm -sb -sl 5000 -n R-amsterdam -T R-amsterdam -e ssh amsterdam.lcs.mit.edu &"   

}



#menu "Rlogin" {
#    "Remote Login"	f.title
#"maastricht" 	!"xterm -sb -sl 5000 -n R-maastricht -T R-maastricht -e rlogin maastricht.lcs.mit.edu &"
#"delft" 	!"xterm -sb -sl 5000 -n R-delft -T R-delft -e rlogin delft.lcs.mit.edu &"   
#"miki" 	!"xterm -sb -sl 5000 -n R-miki -T R-miki -e rlogin miki.lcs.mit.edu &"   
#"concerto" 	!"xterm -sb -sl 5000 -n R-concerto -T R-concerto -e rlogin concerto.lcs.mit.edu &"   
#"gimp" 	!"xterm -sb -sl 5000 -n R-gimp -T R-gimp -e rlogin gimp.mit.edu &"   
#"vzla" 	!"xterm -sb -sl 5000 -n R-venezuela -T R-venezuela -e rlogin venezuela.mit.edu &"   
#"vzla2" 	!"xterm -sb -sl 5000 -n R-venezuela2 -T R-venezuela2 -e rlogin venezuela2.mit.edu &"   
#"dino" 	!"xterm -sb -sl 5000 -n R-dino -T R-dino -e rlogin dino.conicit.ve &"   
#"canaima" 	!"xterm -sb -sl 5000 -n R-canaima -T R-canaima -e rlogin canaima.berkeley.edu &"
#    "Sparcs"		f.title
#"amsterdam" 	!"xterm -sb -sl 5000 -n R-amsterdam -T R-amsterdam -e rlogin amsterdam.lcs.mit.edu &"   
#"denhaag" 	!"xterm -sb -sl 5000 -n R-denhaag -T R-denhaag -e rlogin denhaag.lcs.mit.edu &"   
#"utrecht" 	!"xterm -sb -sl 5000 -n R-utrecht -T R-utrecht -e rlogin utrecht.lcs.mit.edu &"   
#"hing" 	!"xterm -sb -sl 5000 -n R-hing -T R-hing -e rlogin hing.lcs.mit.edu &"   
#    "Mips"		f.title
#"jukebox" 	!"xterm -sb -sl 5000 -n R-jukebox -T R-jukebox -e rlogin jukebox.lcs.mit.edu &"   
#"sonata" 	!"xterm -sb -sl 5000 -n R-sonata -T R-sonata -e rlogin sonata.lcs.mit.edu &"   
#"thillana" 	!"xterm -sb -sl 5000 -n R-thillana -T R-thillana -e rlogin thillana.lcs.mit.edu &"   
#"lyric" 	!"xterm -sb -sl 5000 -n R-lyric -T R-lyric -e rlogin lyric.lcs.mit.edu &"   
#"tune" 	!"xterm -sb -sl 5000 -n R-tune -T R-tune -e rlogin tune.lcs.mit.edu &"   
#"thor" 	!"xterm -sb -sl 5000 -n R-thor -T R-thor -e rlogin thor.lcs.mit.edu &"   
#"vilnius" 	!"xterm -sb -sl 5000 -n R-vilnius -T R-vilnius -e rlogin vilnius.lcs.mit.edu &"   
#    "Mips (Mach)"	f.title
#"bach" 	!"xterm -sb -sl 5000 -n R-bach -T R-bach -e rlogin bach.lcs.mit.edu &"   
#"elvis" 	!"xterm -sb -sl 5000 -n R-elvis -T R-elvis -e rlogin elvis.lcs.mit.edu &"   
#    "Alphas"		f.title
#"clef" 	!"xterm -sb -sl 5000 -n R-clef -T R-clef -e rlogin clef.lcs.mit.edu.lcs.mit.edu &"   
#"tonic" 	!"xterm -sb -sl 5000 -n R-tonic -T R-tonic -e rlogin tonic.lcs.mit.edu &"   
#"harmony" 	!"xterm -sb -sl 5000 -n R-harmony -T R-harmony -e rlogin harmony.lcs.mit.edu &"   
#"note" 	!"xterm -sb -sl 5000 -n R-note -T R-note -e rlogin note.lcs.mit.edu &"   
#"fugue" 	!"xterm -sb -sl 5000 -n R-fugue -T R-fugue -e rlogin fugue.lcs.mit.edu &"   
#"gamba" 	!"xterm -sb -sl 5000 -n R-gamba -T R-gamba -e rlogin gamba.lcs.mit.edu &"   
#    "Vaxen"		f.title
#"meson" 	!"xterm -sb -sl 5000 -n R-meson -T R-meson -e rlogin meson.lcs.mit.edu &"   
#"kaon" 	!"xterm -sb -sl 5000 -n R-kaon -T R-kaon -e rlogin kaon.lcs.mit.edu &"   
#"ion" 	!"xterm -sb -sl 5000 -n R-ion -T R-ion -e rlogin ion.lcs.mit.edu &"   
#}

menu "Remote-Xterm" {
    "Remote-Xterm"	f.title	
"maastricht" 	!"xterm -sb -sl 5000 -n R-maastricht -T R-maastricht -e telnet maastricht.lcs.mit.edu &"
"delft" 	!"xterm -sb -sl 5000 -n R-delft -T R-delft -e telnet delft.lcs.mit.edu &"   
"miki" 	!"xterm -sb -sl 5000 -n R-miki -T R-miki -e telnet miki.lcs.mit.edu &"   
"concerto" 	!"xterm -sb -sl 5000 -n R-concerto -T R-concerto -e telnet concerto.lcs.mit.edu &"   
"gimp" 	!"xterm -sb -sl 5000 -n R-gimp -T R-gimp -e telnet gimp.mit.edu &"   
"vzla" 	!"xterm -sb -sl 5000 -n R-venezuela -T R-venezuela -e telnet venezuela.mit.edu &"   
"vzla2" 	!"xterm -sb -sl 5000 -n R-venezuela2 -T R-venezuela2 -e telnet venezuela2.mit.edu &"   
"dino" 	!"xterm -sb -sl 5000 -n R-dino -T R-dino -e telnet dino.conicit.ve &"   
"canaima" 	!"xterm -sb -sl 5000 -n R-canaima -T R-canaima -e telnet canaima.berkeley.edu &"   
}

menu "Remote-Xload" {
    "Remote Xload"	f.title
    "Mips"		f.title
"jukebox" 	!"forkremote jukebox xload -name r-xload-jukebox"   
"concerto" 	!"forkremote concerto xload -name r-xload-concerto"   
"miki" 	!"forkremote miki xload -name r-xload-miki"   
"bach" 	!"forkremote bach xload -name r-xload-bach"   
"elvis" 	!"forkremote elvis xload -name r-xload-elvis"   
"sonata" 	!"forkremote sonata xload -name r-xload-sonata"   
"thillana" 	!"forkremote thillana xload -name r-xload-thillana"   
"lyric" 	!"forkremote lyric xload -name r-xload-lyric"   
"tune" 	!"forkremote tune xload -name r-xload-tune"   
"thor" 	!"forkremote thor xload -name r-xload-thor"   
"vilnius" 	!"forkremote vilnius xload -name r-xload-vilnius"   
    "Vaxen"		f.title
"meson" 	!"forkremote meson xload -name r-xload-meson"   
"kaon" 	!"forkremote kaon xload -name r-xload-kaon"   
"ion" 	!"forkremote ion xload -name r-xload-ion"   
    "Others"		f.menu "RXload-VaxII"
}

menu "default-menu"
{
"Default Menu"		f.title
"Refresh"		f.refresh
"Refresh Window"	f.winrefresh
"AutoRaise"		f.autoraise
"Cycle Up"		f.circleup
"Cycle Down"		f.circledown
"twm Version"		f.version
"Focus on Root"		f.unfocus
"Source .twmrc"		f.twmrc
"Move Window"		f.move
"ForceMove Window"	f.forcemove
"Resize Window"		f.resize
"Raise Window"		f.raise
"Lower Window"		f.lower
"Focus on Window"	f.focus
"Raise-n-Focus"		f.function "raise-n-focus"
"Identify"		f.identify
"Destroy Window"	f.destroy
"Kill Menu"			f.menu "Kill"
}

Cursors
{
        IconMgr   "hand1"
#        Frame     "gumby"
        Title     "box_spiral"
        Icon      "center_ptr"
        Move      "fleur"
        Resize    "sizing"
        Menu      "sb_left_arrow"
        Button    "hand2"
        Wait      "watch"
        Select    "dot"
#        Destroy   "pirate"
#        Door      "trek"
#        Desktop   "draped_box"
}

Function "RightUp"      { f.panright "100" f.panup "100" }
Function "RightDown"    { f.panright "100" f.pandown "100" }
Function "LeftUp"       { f.panleft "100" f.panup "100" }
Function "LeftDown"     { f.panleft "100" f.pandown "100" }
 
#"Ins" =  s : v|d|r|w|i|t|door : f.warpto "MallMenu"
#"Insert" =  s : v|d|r|w|i|t|door : f.warpto "MallMenu"
#"Down" =  s : v|d|r|w|i|t|door : f.pandown "100"
#"End"   =  s : v|d|r|w|i|t|door : f.function "LeftDown"
"Home"  =  s : v|d|r|w|i|t|door : f.setrealscreen "+0+0"

#"Left" =  s : v|d|r|w|i|t|door : f.panleft "100"
#"Next"  =  s : v|d|r|w|i|t|door : f.function "RightDown"
#"Prior" =  s : v|d|r|w|i|t|door : f.function "RightUp"
#"Right" = s : v|d|r|w|i|t|door : f.panright "100"
#"Up" =    s : v|d|r|w|i|t|door : f.panup "100"
 
"KP_0" =  s : v|d|r|w|i|t|door : f.warpto "MallMenu"
"KP_1" =  s : v|d|r|w|i|t|door : f.function "LeftDown"
"KP_2" =  s : v|d|r|w|i|t|door : f.pandown "100"
"KP_3" =  s : v|d|r|w|i|t|door : f.function "RightDown"
"KP_4" =  s : v|d|r|w|i|t|door : f.panleft "100"
"KP_5" =  s : v|d|r|w|i|t|door : f.setrealscreen "+0+0"
"KP_6" =  s : v|d|r|w|i|t|door : f.panright "100"
"KP_7" =  s : v|d|r|w|i|t|door : f.function "LeftUp"
"KP_8" =  s : v|d|r|w|i|t|door : f.panup "100"
"KP_9" =  s : v|d|r|w|i|t|door : f.function "RightUp"
 
#"0" =  s : v|d|r|w|i|t|door : f.warpto "MallMenu"
#"1" =  s : v|d|r|w|i|t|door : f.function "LeftDown"
#"2" =  s : v|d|r|w|i|t|door : f.pandown "100"
#"3" =  s : v|d|r|w|i|t|door : f.function "RightDown"
#"4" =  s : v|d|r|w|i|t|door : f.panleft "100"
#"5" =  s : v|d|r|w|i|t|door : f.setrealscreen "+2048+1536"
#"6" =  s : v|d|r|w|i|t|door : f.panright "100"
#"7" =  s : v|d|r|w|i|t|door : f.function "LeftUp"
#"8" =  s : v|d|r|w|i|t|door : f.panup "100"
#"9" =  s : v|d|r|w|i|t|door : f.function "RightUp"
