[comp.soft-sys.andrew] Andrew with OpenWindows

gordon@mead.UUCP (Gordon Edwards) (08/02/90)

Pardon me if this is an old issue.

We recently received OpenWindows from Sun (I am running on a Sun-3/80).  
OpenWindows does some really creative things with Andrew (particularly with
cursors).  I have found Andrew to be an excellent set of tools (particullarly
Ez and Console) and  I don't want to give them up.

Does anyone use Andrew with OpenWindows (V2.0)?  And, how did you get the 
fonts to work correctly?

Thanks.

--
                                Gordon Edwards
                         Mead Data Central, Dayton OH
                           mead!gordon@uccba.uc.edu
                              uccba!mead!gordon

grahamd@otc.otca.oz.au (Graham Dumpleton) (08/02/90)

Excerpts from info-andrew: 1-Aug-90 Andrew with OpenWindows Gordon
Edwards@tut.cis.o (630)


> Does anyone use Andrew with OpenWindows (V2.0)?  And, how did you get the 
> fonts to work correctly?


We don't use OpenWindows regularly but I did convert the Andrew fonts to
OpenWindows fonts.

Firstly you have to start from bdf fonts; ie. convert Andrew fonts to
bdf fonts. Then use the OpenWindows program called convertfont to
convert the bdf fonts to OpenWindows fonts, how to do this is described
in the manual page for the program. Now this gives you a set of
OpenWindows fonts, but you still need to do an equivalent of a
mkfontdir, the only problem is that they do not seem to supply a program
to do it; or I couldn't find one. Anyway after a bit of mucking around I
found that the following worked.

cat fonts.dir | awk '{printf("/%s /%s _FontDirectorySYN\n",$2, $1) }' >
Compat.list
cat fonts.alias | awk '{printf("/%s /%s _FontDirectorySYN\n",$1,$2) }' >
Synonyms.list
ed Compat.list << !
1d
w
q
!
/usr/local/openwin/bin/bldfamily

Where fonts.dir and fonts.alias came from running mkfontdir on the snf
files used by a MIT X server.

We put all the resulting fonts and the list files in
/usr/andrew/XNeWSfonts and do a

xset +fp /usr/andrew/XNeWSfonts

before running any Andrew programs.

One other thing I noticed was that we couldn't use twm as a window
manager as the menus wouldn't come up for Andrew applications, instead
we use olwm and specify the following resources for it

OpenWindows.SetInput:           followmouse
OpenWindows.FocusLenience:      true

Hope this info is of use.

Graham Dumpleton. (grahamd@otc.otca.oz.au)

nsb@THUMPER.BELLCORE.COM (Nathaniel Borenstein) (08/02/90)

I was also unable to get Andrew to look good under OpenWIndows.  I have
heard that Andrew has been used by various vendors as a "stress test"
for their X servers, because it does things that are legitimate but not
done by non-Andrew applications.  Apparently Sun didn't use Andrew as a
stress test for Open Windows -- more's the pity.  My guess, intuition,
or whatever, is that the problems are bugs in OpenWindows, and should be
reported to Sun, for whatever good that will do...