home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.bsd
- Path: sparky!uunet!mcsun!Germany.EU.net!olymp!boss1!juengst
- From: juengst@boss1.physik.uni-bonn.de (Henry G. Juengst)
- Subject: gwm works (under 386BSD with X386) with some problems.
- Message-ID: <1992Aug23.164742.19241@olymp.informatik.uni-bonn.de>
- Followup-To: gwm@mirsa.inria.fr
- Keywords: gwm, X386
- Sender: juengst@boss1 (Henry G. Juengst)
- Organization: Universit"at Bonn, Informatikinstitut, R"omerstr 154, W-5300 Bonn 1
- Date: Sun, 23 Aug 1992 16:47:42 GMT
- Lines: 69
-
- Hello,
-
- gwm (generic window manager) works under 386BSD with X386. You can find
- it for example at export.lcs.mit.edu:~ftp/contrib/gwm [18.24.0.12]. It's
- a very nice tools. I use it to have a mwm look like window manager. Some
- features are missing, but there's a good chance to develop them if there
- are more users, isn't it ?
-
- What you should do:
- - you should get CHANGES, cascademenus-alpha.tar.Z,
- croap-profile.01-91.tar.Z, gwm-1.7l.ps.Z, gwm-1.7m.tar.Z or any newer one.
- - print gwm.ps. It's a pretty documentation.
- - unpack gwm.tar into a gwm source directory (e.g. /usr/local/src/gwm).
- - Comment out the following line in Imakefile:
- #define UseInstalledXpm Yes
- - make gwm as described in README (here you get some PROBLEMS).
- - install it.
- - install a .gwmMwmrc (I used data/mwm-typical.gwmMwmrc). Use $HOME to test
- it.
- - install a .xsession which calls gwm -qf mwm . xrdb -merge .Xresources
- should be called, too (use $HOME/.Xresources for your resources).
-
- PROBLEMS:
- - xmkmf makes a corrupted Makefile. There two lists (SRCS= and OBJS=) which
- are very long. Both lists are splitted into two lines. The first line does
- end with a \, but the next line is an empty line. Remove the empty line in
- two entries. If you do not correct the Makefile your make will report an
- error one line behind the empty line. I think this is a BSD problem.
- - lex wool.lex will work, but on 386BSD lex is flex. wool.lex does contain
- much references at (original) lex internal variables. Later, gcc produces
- many errors (undeclared variable). There are three possible solutions:
- 1.: Modify wool.lex so that it doesn't use lex internal (undocumented)
- variables. That would be the best way.
- 2.: Use an original lex to make a lex.yy.c. That's what I did. Sorry, but
- I'm not sure if I'm allowed to distribute this lex.yy.c (copyright
- statement by data general). Is there anybody who can do it ?
- 3.: Modify flex :-(
- - ftime does not exist in 386BSD. Oops ! I added a dummy one just to get
- gwm alive. Sure, that's not fine. Later I will add a real ftime (because
- some other programs want it too). May be the SYSV way (around line 980
- in wool.c) does work. I didn't check yet.
-
- #include <sys/types.h>
- #include <sys/timeb>
-
- int ftime(struct timeb *param_timeb)
- { return 0;
- }
- - I used gcc 2.2.2 to compile gwm. Add the gcc option -traditional in
- xpm/Makefile.
- - I'm not sure, but I think there are some problems with some X
- applications. xfig didn't close it's option windows (their borders
- were removed but the windows still stay on screen - select menu option
- followed by another 'close' again and they will close - don't ask me why)
- and xsat didn't show the lists (xsat does work with twm). I'm afraid, but
- I can't check this better at the moment because I've got no 386BSD machine
- here and there wasn't much time to check it yesterday (the machines are
- not my own ones and they are far away from here).
-
- Have a nice day.
-
- Henry
-
- --
- juengst@boss1.physik.uni-bonn.de [131.220.221.30]
- juengst@saph2.physik.uni-bonn.de [131.220.221.12]
- juengst@pib1.physik.uni-bonn.de [131.220.221.2] (strange particle)
-
- I'm only speaking for myself, but not for anybody else !
-