From: kniveton@zeus.swindon.rtsg.mot.com (Andy Kniveton)
Subject: Re: Who's got a nice .twmrc?
Organization: Motorola LTD
Date: Mon, 28 Sep 92 11:53:08 GMT

In article <rob.717671575@psy.vu.nl>, rob@psy.vu.nl (Rob van Leeuwen) writes:
> Hi all, I'm looking for a nice .twmrc, presumably with something other
> than the standard menu.  Who's got such a file for me?
> --
> 
> --
> Rob van Leeuwen
> Department of Psychology, Vrije Universiteit, Amsterdam, the Netherlands

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

IconDirectory "/usr/include/X11/bitmaps"

#UsePPosition "on"
zoom # 20
NoVersion
NoGrabServer
NoRaiseOnMove
NoRaiseOnResize
NoTitleHighlight
NoHighlight
NoTitleFocus
NoSaveUnders
ConstrainedMoveTime 0
DecorateTransients
TitleButtonBorderWidth 2
OpaqueMove
ClientBorderWidth
BorderWidth 2
TitleFont "-*-helvetica-bold-o-normal--*-140-*-*-*-*-iso8859-1"
MenuFont "-*-helvetica-bold-r-normal--*-140-*-*-*-*-iso8859-1"
IconFont "-*-helvetica-*-r-normal--*-140-*-*-*-*-iso8859-1"
ResizeFont "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1"
IconManagerFont "-*-helvetica-bold-r-normal--*-120-*-*-*-*-iso8859-1"
SortIconManager
IconManagerGeometry "=200x100-0+0"

Color
{
 DefaultBackground "blue"
 DefaultForeground "ivory"
 BorderColor "black"
 TitleBackground "blue"
 TitleForeground "ivory"
 MenuBackground "blue"
 MenuForeground "ivory"
 MenuTitleBackground "azure"
 MenuTitleForeground "blue"
 IconBackground "blue"
 IconForeground "ivory"
 IconBorderColor "ivory"
 IconManagerBackground "blue"
 IconManagerForeground "ivory"
}


Cursors
{
 Button "left_ptr"
 Menu "left_ptr"
 Title "left_ptr"
 Frame "left_ptr"
 Icon "left_ptr"
}


Monochrome
{
 IconManagerHighlight	"white"
}

# define key bindings

MoveDelta 3

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

Function "move-or-raiselower"
{
 f.move
 f.deltastop
 f.raiselower
}

Function "move-or-iconify"
{
 f.move
 f.deltastop
 f.iconify
}

Function "next-window"
{
}

Function "previous-window"
{
}

defaultFunction f.nop

"F1"	=	: all		: f.iconify
"F2"	=	: all		: f.raiselower
"F3"	=	: all		: f.colormap"next"
"F4"	=	: all		: f.colormap"default"
"F5"	=	: all		: f.destroy
"F9"	=	: all		: f.quit
Button1	=	: title 	: f.function "move-or-raiselower"
Button2 =	: title		: f.menu "Title Menu"
Button3 =	: title		: f.resize
Button1 = m	: window|icon	: f.iconify
Button2 = m	: window|icon	: f.function "move-or-raiselower"
Button3 = m	: window|icon	: f.resize
Button3 = c m	: title		: f.destroy
Button1 =	: root		: f.menu "Hosts"
Button2 =	: root		: f.menu "Utils"
Button3 =	: root		: f.menu "System"
Button1 =	: icon		: f.function "move-or-iconify"

#ForceIcons

Icons
{
 "Xmh"		"mailempty"	# from IconDirectory
 "XTerm"	"motif.xbm"	# from IconDirectory
 "Xload"	"xload.bm"	# from IconDirectory
}

UnknownIcon	"default.icon"

NoTitle
{
 "oclock"
 "xclock"
 "xchrom"
 "xpclock"
 "xbiff"
 "xeyes"
 "xload"
 "xlogo"
}

IconManagerDontShow
{
 "oclock"
 "xclock"
 "xbiff"
 "xeyes"
 "xload"
 "xlogo"
}
menu "Hosts"
{
 "Hosts" f.title
 "Host Access" f.menu "host"
 "Apollo" f.menu "apollo"
 "Sun" f.menu "sun_prime"
}
menu "host"
{
 "Host Access" f.title 
 "Host List" !"echo >/dev/ttyp0 ; xhost >/dev/ttyp0 &"
 "Host +" !"xhost + >/dev/null"
 "Host -" !"xhost - >/dev/null"
}
menu "apollo"
{
 "Apollo" f.title 
 "apollo1" !"rsh  apollo1 exec /usr/bin/X11/xterm -T apollo1 -display $HOST:0 &"
}
menu "sun_prime"
{
 "Sun" f.title 
 "sun1"	!"xterm -T sun1 -e rlogin sun1 &"
}
menu "Utils"
{
 "Utils" f.title
 "Bitmap" !"bitmap &"
 "Calendar" !"xcalendar &"
 "Calculator" !"xcalc &"
 "Clipboard" !"xclipboard &"
 "Clock" !"xclock &"
 "Elm Mailer" !"xterm -e /usr/local/bin/elm &"
 "Font Select" !"xfontsel &"
 "Hex Calculator" !"hexcalc &"
 "Lens" !"xmag &"
 "Load" !"xload &"
 "Lock" !"xlock -mode qix &"
 "Manual" !"xman &"
 "News" !"xrn &"
 "PS Window Dump" !"xwd | xpr -dev ps -out screen.ps &"
 "Terminal" !"xterm &"
 "Terminal ( Big )" !"xterm -fn -*-courier-bold-r-*-*-20-*-*-*-*-*-*-* &"
 "Troff Viewer" !"xditview &"
 "Xperfmon" !"xperfmon &"
 "Xplaces" !"xplaces &"
 "Xv" !"xv /usr3/kniveton/pics/*.gif* &"
 "X Window Dump" !"xwd -out screen.x &"
 "Shells" f.title
 "Bourne Shell" !"xterm /bin/sh &"
 "C Shell" !"xterm -e /bin/csh &"
 "Korn Shell" !"xterm -e /bin/ksh &"
 "Editors" f.title
 "Edit" !"xedit &"
 "Emacs" !"emacs -i &"
 "Epoch" !"epoch -i &"
 "Xless" !"xless $HOME/xless.tmp &"
}

menu "Pref_menu"
{
 "Preferences" f.title
 "Bell Loud" !"xset b 75&"
 "Bell Normal" !"xset b 50&"
 "Bell Quiet" !"xset b 25&"
 "Bell Off" !"xset b off&"
 "" f.nop
 "Mouse Fast" !"xset m 5 1&"
 "Mouse Normal" !"xset m 3 1&"
 "Mouse Slow" !"xset m 1 1&"
 "" f.nop
 "Baboon" !"xloadimage -onroot -xzoom 90 -yzoom 93 /usr3/kniveton/pics/baboon.sun &"
 "Bears" !"xloadimage -onroot /usr3/kniveton/pics/bears.sun &"
 "Buns" !"xloadimage -onroot /usr3/kniveton/pics/buns.sun &"
 "F15" !"xloadimage -onroot /usr3/kniveton/pics/f16.sun &"
 "Plane" !"xloadimage -gamma 1.5 -onroot -xzoom 175 -yzoom 200 /usr3/kniveton/pics/plane.sun &"
 "Squiggle 1" !"xloadimage -onroot /usr3/kniveton/pics/squig1.sun &"
 "Squiggle 2" !"xloadimage -onroot /usr3/kniveton/pics/squig2.sun &"
 "Squiggle 3" !"xloadimage -onroot /usr3/kniveton/pics/squig3.sun &"
 "Train" !"xloadimage -onroot -xzoom 250 -yzoom 275 /usr3/kniveton/pics/train.sun &"
 "Wiley" !"xloadimage -onroot -xzoom 90 -yzoom 115 /usr3/kniveton/pics/wiley.sun &"
 "" f.nop
 "Clear Background" !"xsetroot  &"
}

menu "System"
{
 "System" f.title
 "Window ops" f.menu "Window Ops"
 "Windows" f.menu "TwmWindows"
 "Preferences" f.menu "Pref_menu"
 "" f.nop
 "Restart" f.restart
 "Logout" f.quit
}

menu "Window Ops"
{
 "Window Ops" f.title
 "Autoraise" f.autoraise
 "Beep " f.beep
 "Bottom Zoom" f.bottomzoom
 "Circle Down" f.circledown
 "Circle Up" f.circleup
 "Deiconify" f.deiconify
 "Delete" f.delete
 "Delta Stop" f.deltastop
 "Destroy" f.destroy
 "Focus" f.focus
 "Force Move" f.forcemove
 "Full Zoom " f.fullzoom
 "Hide Icon Mgr" f.hideiconmgr
 "Horizontal Zoom " f.horizoom
 "Iconify" f.iconify
 "Identify" f.identify
 "Left Zoom" f.leftzoom
 "Logout" f.quit
 "Lower" f.lower
 "Move" f.move
 "Raise" f.raise
 "Raise Lower" f.raiselower
 "Refresh" f.refresh
 "Resize" f.resize
 "Restart" f.restart
 "Right Zoom" f.rightzoom
 "Save Your Self" f.saveyourself
 "Show Icon Mrg" f.showiconmgr
 "Sort Icon Mrg" f.sorticonmgr
 "Top Zoom" f.topzoom
 "Unfocus" f.unfocus
 "Zoom" f.zoom
}

menu "Title Menu"
{
 "Lower" f.lower
 "Raise" f.raise
 "Resize" f.resize
 "Move" f.move
 "Iconify" f.iconify
 "Identify" f.identify
 "Focus" f.focus
 "Kill"	f.destroy
 "Dismiss" f.delete
}

-- 
  _ _ /|  	Andy Kniveton,	Tel No	+44 793 545349
  \'o.O'  	Motorola Ltd,	Fax No	+44 793 541228
  =(___)= 	16 Euro Way,	E-mail	kniveton@zeus.swindon.rtsg.mot.com
     U    	Blagrove, Swindon,	kniveton@mot.com
		England, SN5 8YQ.	uunet!motcid!zeus!kniveton

Has anyone heard the rumors concerning HP's new portable 700 series machine ?

I hear that it is small enough to fit in your pocket and is code named Trouser
snake !
				-- Brian Kelly
Xref: sparky comp.windows.x:17314 comp.windows.x.apps:1174 comp.graphics.avs:780 comp.graphics.animation:403