#
# $Xorg: system.twmrc,v 1.3 2000/08/17 19:54:08 cpqbld Exp $
# 
# Default twm configuration file; needs to be kept small to conserve string
# space in systems whose compilers don't handle medium-sized strings.
#
# Sites should tailor this file, providing any extra title buttons, menus, etc.
# that may be appropriate for their environment.  For example, if most of the
# users were accustomed to uwm, the defaults could be set up not to decorate
# any windows and to use meta-keys.
#
# $XFree86: xc/programs/twm/system.twmrc,v 1.4 2001/01/17 23:45:08 dawes Exp $
#

NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "fixed"
ResizeFont "fixed"
MenuFont "fixed"
IconFont "fixed"
IconManagerFont "fixed"
#ClientBorderWidth

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

#
# 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"

Button1 = m : window|icon : f.function "move-or-lower"
Button2 = m : window|icon : f.iconify
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

#
# And a menus with the usual things
#
menu "defops"
{
"babox"		f.title
"Terminal"	f.exec "exec rxvt -ls -title Terminal &"
""		f.nop
"Apps"		f.menu "Apps"
"Games"		f.menu "Games"
"Hosts"		f.menu "Hosts"
"Misc"		f.menu "Misc"
""		f.nop
"Iconify"	f.iconify
"Resize"	f.resize
"Move"		f.move
"Raise"		f.raise
"Lower"		f.lower
""		f.nop
"Focus"		f.focus
"Unfocus"	f.unfocus
"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 "Apps"
{
"Apps"			f.title
"abs"			f.exec "abs &"
#"Acrobat Reader"	f.exec "acroread &"
#"AOL Instant Messenger" f.exec "aim &"
"Dillo"			f.exec "dillo &"
"Links"			f.exec "links -g &"
"naim"			f.exec "rxvt -rv -title naim -e naim &"
"NEdit"			f.exec "nedit &"
#"Netscape Navigator"	f.exec "netscape7english &"
"Opera"			f.exec "opera &"
"Sylpheed"		f.exec "sylpheed &"
"Ted"			f.exec "Ted &"
"XPaint"		f.exec "xpaint &"
"Xpdf"			f.exec "xpdf &"
"xzgv"			f.exec "xzgv &"
"Yahoo Messenger"	f.exec "ymessenger &"
}

menu "Games"
{
#"Games"		f.title
#"ADOM"			f.exec "rxvt -rv -geometry 77x25 -title ADOM -e adom &"
#"Angband"		f.exec "rxvt -rv -title Angband -e angband &"
#"Dungeon Crawl"	f.exec "rxvt -rv -title Dungeon_Crawl -e dungeoncrawl &"
"NetHack"		f.exec "rxvt -rv -title NetHack -e nethack &"
#"Omega"		f.exec "rxvt -rv -title Omega -e omega-game &"
}

menu "Hosts"
{
"Hosts"			f.title
"alphabox"		f.exec "rxvt -title alphabox -e ssh alphabox &"
"babox"			f.exec "rxvt -title babox -e ssh babox &"
"ibook"			f.exec "rxvt -title ibook -e ssh ibook &"
"uberbox"		f.exec "rxvt -title uberbox -e ssh uberbox &"
"ultrabox"		f.exec "rxvt -title ultrabox -e ssh ultrabox &"
}

menu "Misc"
{
"Misc"			f.title
"Calculator"		f.exec "xcalc &"
"Clipboard"		f.exec "xclipboard &"
"Clock"			f.exec "xclock &"
"Font Selector"		f.exec "xfontsel &"
"Manual Browser"	f.exec "xman &"
"Process List"		f.exec "rxvt -title Process_List -e top &"
"Root Shell"		f.exec "rxvt -bg black -fg green -title Root_Shell -e su - &"
"Screen Saver"		f.exec "xscreensaver-demo &"
"Xload"			f.exec "xload &"
}

    Source: geocities.com/siliconvalley/peaks/1370/files

               ( geocities.com/siliconvalley/peaks/1370)                   ( geocities.com/siliconvalley/peaks)                   ( geocities.com/siliconvalley)