Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 28 May 2001 11:22:26 +0200 (CEST)
From:      Heiko Recktenwald <uzs106@ibm.rhrz.uni-bonn.de>
To:        Stuart Duckworth <ITServices@cableinet.co.uk>
Cc:        freebsd-newbies@FreeBSD.ORG
Subject:   Re: Hello
Message-ID:  <Pine.BSF.4.21.0105281116110.237-100000@moritz.alleswirdgelber>
In-Reply-To: <076114014231b51PCOW024M@blueyonder.co.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
> > You must configure your twmrc somewhere, to get additional xterms in the
> > mousemenu. And what you want. Maybe xcalc. I have vmac and gyroscope
> > there. Most funky.
> > 
> 
> Thanks for this advice.  I'll look up twmrc.  What're xcalc, vmac and 
> gyroscope?

xcalc is just a simple calculator, gyroscope is something to find out the
number of one of the 256 colors that you may need for html writing or
gifs, vmac is a Mac Plus emulator. Just gimmics ;-)

But more fun than the gimmicks in KDE etc, IMHO.

Jukka helped me with my .twmrc. Most stuff is unmodified. You'll need
the line with xterm !!

Voila:

#
# $XConsortium: system.twmrc /main/9 1996/10/16 16:14:38 kaleb $
# 
# 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.
#

RandomPlacement
NoGrabServer
RestartPreviousState
DecorateTransients
TitleFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
ResizeFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
MenuFont "-adobe-helvetica-bold-r-normal--*-120-*-*-*-*-*-*"
IconFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*-*-*-*"
IconManagerFont "-adobe-helvetica-bold-r-normal--*-100-*-*-*"
#ClientBorderWidth

Color
{
    BorderColor "slategrey"
    DefaultBackground "rgb:2/a/9"
    DefaultForeground "gray85"
    TitleBackground "rgb:2/a/9"
    TitleForeground "gray85"
    MenuBackground "rgb:2/a/9"
    MenuForeground "gray85"
    MenuTitleBackground "gray70"
    MenuTitleForeground "rgb:2/a/9"
    IconBackground "rgb:2/a/9"
    IconForeground "gray85"
    IconBorderColor "gray85"
    IconManagerBackground "rgb:2/a/9"
    IconManagerForeground "gray85"
}

#
# 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"
{
"Twm"	f.title
"Xterm"		f.exec "xterm &"
"GyrosCoPe 1.0" f.exec "gyroscope &"
"vMac"		f.exec "vMac &"
"xcalc"		f.exec "xcalc &"
"xmix"		f.exec "xmix &"
""		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
}

---------

Thats all ;-)

H.


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-newbies" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.21.0105281116110.237-100000>