From: muts@estec.esa.nl (Peter Mutsaers)
Newsgroups: fj.mail-lists.x-window
Subject: Re: Best WM? Vote for ctwm, plus good .ctwmrc file
Date: 7 Jan 93 21:33:16 GMT
Distribution: fj
Organization: European Space Agency

Date: 7 Jan 93 14:12:30 GMT
Message-Id: <MUTS.93Jan7141241@PMCS.estec.esa.nl>
Newsgroups: comp.windows.x

>>On Mon, 4 Jan 93 11:35:19 GMT, sinkwitz@ifi.unizh.ch (Rainer Sinkwitz) said:

  Rainer> One vote for olvwm, you get the virtual screens and much
  Rainer> more, and it's free !!!

One vote against olvwm. It is open look. (typing this on a SUN with
^&*%#$ open look completely removed; I use plain X11R5 instead). Use
ctwm, it is like twm, thus completely customizable (the standard
customization is not very nice) but offers virtual screens as well. I
shall append my .ctwmrc file, which is quite nice:

#**********************************************************************
#
#    .ctwmrc
#
#**********************************************************************

Color
{
    BorderColor "palegreen"

    BorderTileForeground "seagreen4"
    BorderTileBackground "seagreen4"

    TitleForeground "black"
    TitleBackground "CadetBlue"

    MenuForeground "white"
    MenuBackground "CadetBlue"
    MenuTitleForeground "white"
    MenuTitleBackground "deep sky blue"
    MenuShadowColor "black"

    IconForeground "white"
    IconBackground "cadetblue"
    IconBorderColor "green"
    IconManagerForeground "black"
    IconManagerBackground "cadetblue"
    IconManagerHighLight "palegreen"
}

## ctwm specials
WorkSpaceManagerGeometry "318x31-242+0" 4
WorkSpaces
{
    "One"   {"#686B9F" "white" "seagreen4" "palegreen"}
    "Two"   {"#619AAE" "white" "seagreen4" "palegreen" "escherknot"}
    "Three" {"#727786" "white" "indianred"}
    "Four"  {"#8C5b7A" "white" "MidnightBlue" "cadetblue" "tie_fighter"}
}

OccupyAll
{
   "xclock"
   "xbiff"
   "xlbiff"
}

#############################################################################
Monochrome
{
    BorderColor "black"
    BorderTileForeground "black"
    BorderTileBackground "white"

    TitleForeground "black"
    TitleBackground "white"
}

#############################################################################
#WarpCursor

#BorderWidth	3
#TitleFont	"8x13"
#MenuFont	"8x13"
#IconFont	"8x13"
#ResizeFont	"fixed"
#NoTitleFocus
#Zoom # 20
RandomPlacement
#NoBackingStore
#NoSaveUnder
#DecorateTransients
#DontMoveOff
#NoRaiseOnMove
#NoRaiseOnResize
#NoRaiseOnDeiconify

IconifyByUnMapping
DontIconifyByUnmapping
{
  "xclock"
  "dclock"
  "xbiff"
  "xlbiff"
  "xload"
  "xdaliclock"
}

MoveDelta 3
ShowIconManager
SortIconManager
IconManagerGeometry	"584x2+0+0" 4
#IconManagerFont		"variable"
IconManagerDontShow
{
  "xclock"
  "dclock"
  "xload"
  "xbiff"
  "xlbiff"
  "xdaliclock"
}

NoTitle
{
  "TWM Icon Manager"
  "WorkSpaceManager"
  "xload"
  "xbiff"
  "dclock"
  "xlbiff"
  "xclock"
  "xdaliclock"
}

#NoHighlight
#{
#  "xclock"
#  "xckmail"
#  "dclock"
#}

#AutoRaise
#{
#  "xterm"
#}

Function "move-or-raise" { f.move f.deltastop f.raise }
Function "resize-or-lower" { f.resize f.deltastop f.lower }

#Button = KEYS : CONTEXT : FUNCTION
#----------------------------------
Button1 =      : root   : f.menu "button1"
Button2 =      : root   : f.menu "button2"
Button3 =      : root   : f.menu "button3"

Button1 =      : title  : f.function "move-or-raise"
Button2 =      : title  : f.raiselower
Button3 =      : title  : f.focus

Button1 =      : icon   : f.iconify
Button2 =      : icon   : f.move
Button3 =      : icon   : f.raiselower

Button1 =      : iconmgr   : f.iconify
Button2 =      : iconmgr   : f.raiselower
Button3 =      : iconmgr   : f.focus

Button1 = m    : window|title : f.function "move-or-raise"
Button2 = m    : window|title : f.function "resize-or-lower"
Button3 = m    : window|title : f.iconify

Button1 = m c    : window|title : f.delete
Button2 = m c    : window|title : f.delete
Button3 = m c    : window|title : f.destroy

"F1"    =       : all   : f.delete


menu "button1"
{
"Manipulaties"	f.title
"Occupy..."	f.occupy
"Occupy all"	f.occupyall
"Delete"        f.delete
"Move"		    f.move
"Resize"		f.resize
"Refresh"		f.refresh
"Show icon mgr"	f.showiconmgr
"Hide icon mgr"	f.hideiconmgr
"Identify"		f.identify
"Iconify"		f.iconify
"Destroy"	    f.destroy
"Lock"          !"xlock -mode life&"
# "Lock"          !"xnlock -fg palegreen&"
"Restart twm"	f.restart
"Exit"		f.quit
}

menu "button2"
{
"Emacs"		f.title
"Emacs"			!"emacs &"
"Emacs@pmcs"	!"rsh pmcs /usr/local/bin/emacs -display `hostname`:0 &"
"Emacs@rmcs"	!"rsh rmcs /usr/local/bin/emacs -display `hostname`:0 &"
"Emacs@ferrari"	!"rsh ferrari /usr/local/bin/emacs -display `hostname`:0 &"
"Emacs@fysap"	!"rsh fysap /usr/local/bin/emacs -display `hostname`:0 &"
"Emacs@fysaq"	!"rsh fysaq /usr/local/bin/emacs -display `hostname`:0 &"
}

menu "button3"
{
"Screens"		f.title
"xterm"			!"xterm &"
"pmcs"		!"rsh pmcs xterm -T pmcs -n pmcs -display `hostname`:0 &"
"rmcs"		!"rsh rmcs xterm -T rmcs -n rmcs -display `hostname`:0 &"
"ferrari"		!"rsh ferrari xterm -T ferrari -n ferrari -display `hostname`:0 &"
"fysap"		!"rsh fysap xterm -T fysap -n fysap -display `hostname`:0 &"
"fysaq"		!"rsh fysaq xterm -T fysaq -n fysaq -display `hostname`:0 &"
}

--
_________________________________________________________________________
Peter Mutsaers.         |================================================ 
muts@pmcs.estec.esa.nl  |        Quod licet bovi, non licet Jovi