*BSD News Article 48245


Return to BSD News archive

Path: sserve!euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!simtel!news.kei.com!news.mathworks.com!tank.news.pipex.net!pipex!in2.uu.net!tcsi.tcs.com!agate!asami
From: asami@cs.berkeley.edu (Satoshi ASAMI)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: Xaw3D widgets - Has anybody used this?
Date: 10 Aug 1995 22:25:05 GMT
Organization: CS Div. - EECS, The University of California, Berkeley, CA 94720
Lines: 36
Message-ID: <ASAMI.95Aug10152505@forgery.cs.berkeley.edu>
References: <40df0p$eks@umigw.miami.edu>
NNTP-Posting-Host: forgery.cs.berkeley.edu
In-reply-to: ivan@nauplius.rsmas.miami.edu's message of 10 Aug 1995 09:18:17 PST

In article <40df0p$eks@umigw.miami.edu>
        ivan@nauplius.rsmas.miami.edu (Ivan Lima) writes:

 *      I installed the Xaw3D library package in my system. Does
 * anyone know how to configure the window manager to use those
 * libraries ? Or are this libraries to be used only to develop new
 * applications ?

Depends on how the window manager is written.  Most of them that I
know don't use the Athena Widget set, so you won't be able to let them 
use Xaw3d, which is a replacement of Xaw (the Athena Widget library).

If you want a 3D looking window manager, try ctwm or fvwm.

And on how to use the library you just installed: Xaw3d has a shared
library which is a drop-in replacement of the Xaw shared library, so
if you just rename the files, all X applications that use Xaw will
automatically pick up the 3D stuff.  (The power of shared libraries -- 
you don't need to recompile the applications.)

What you can do is (as root, assuming you already have Xaw3d installed):

  cd /usr/X11R6/lib
  mv libXaw.so.6.0 libXaw2d.so.6.0  (move the original Xaw out of the way)
  ln -s libXaw3d.so.6.0 libXaw.so.6.0

Then restart X and admire the creation of Kaleb. :)

By the way, you probably want this:

*beNiceToColormap:  False

in your ~/.Xdefaults (or whatever you call it) to make the 3-D stuff
look neat.

Satoshi