This is the twm window manager for DaggeX, the Amiga PD X11
server by Kari J. Mettinen <mettinenkruuna.helsinki.fi> and
Leonard K. Norrgård <vinscinic.funet.fi>.
The executable in this archive was compiled for 68020. You need
gcc, imake, sed, yacc, flex and the Xincludes and Xlibs to
recompile twm, and groff works fine for the man pages.
I made some minor changes in order to get it running:
- had to change Imakefile to make it work with dmake and ksh
- put in default values for black and white in twm.c
- added "yyin = twmrc" to parse.c
- put in a bunch of unnecessary debug printfs in events.c
Installation is nearly as simple as compiling. Just move twm to
a place in your path, set/setenv HOME to something like s: and
move .twmrc there. Copy s/sxc to s: and check it's script bit.
My startup of DaggeX and twm currently looks like this:
assign X: ""
assign inet: sys:inet
assign libs: inet:libs add
path bin add
;run c:mungwall nametag
;run sys:system/enforcer on
set HOSTNAME 127.0.0.1
set DISPLAY 127.0.0.1:0
set XAUTHORITY /hd1/x/.Xauthority
set HOME /s
run DaggeX_local -auth $XAUTHORITY -fp /hd1/x/fonts >nil:
ask "Press RETURN to start twm..."
run twm >nil:
echo "X system up and running! Have fun!"
I'll have a look at xdm and xinit to see if the ask command can
be avoided somehow.
My current .twmrc is just a slight extension of the system
defaults "system.twmrc", which btw should be move to the new
directory "usr:lib/X11/twm". There are some more advanced
examples in sample-twmrc and the complete syntax is documented in
twm.doc. Take care to not assign any vital functions to Button #2
if you don't have a mouse with three buttons... ;-)
The script "sxc" is for starting up X clients via f.exec (see
"clients" menu in sample .twmrc). Tailor to your own config.
And, as always: Have fun!
(EMail at work: balzerheike.informatik.uni-dortmund.de,
at home: bilbobagsend.aworld.de)
/** Copyright 1988 by Evans & Sutherland Computer Corporation, **/
/** Salt Lake City, Utah **/
/** Portions Copyright 1989 by the Massachusetts Institute of Technology **/
/** Cambridge, Massachusetts **/
/** All Rights Reserved **/
/** Permission to use, copy, modify, and distribute this software and **/
/** its documentation for any purpose and without fee is hereby **/
/** granted, provided that the above copyright notice appear in all **/
/** copies and that both that copyright notice and this permis- **/
/** sion notice appear in supporting documentation, and that the **/
/** names of Evans & Sutherland and M.I.T. not be used in advertising **/
/** in publicity pertaining to distribution of the software without **/
/** specific, written prior permission. **/
/** EVANS & SUTHERLAND AND M.I.T. DISCLAIM ALL WARRANTIES WITH REGARD **/
/** TO THIS SOFTWARE, INCLUDING ALL IMPLIED WARRANTIES OF MERCHANT- **/
/** ABILITY AND FITNESS, IN NO EVENT SHALL EVANS & SUTHERLAND OR **/
/** M.I.T. BE LIABLE FOR ANY SPECIAL, INDIRECT OR CONSEQUENTIAL DAM- **/
/** AGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA **/
/** OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER **/
/** TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE **/
/** OR PERFORMANCE OF THIS SOFTWARE. **/