Path: utzoo!attcan!uunet!decwrl!ucbvax!otc.otca.oz.au!grahamd From: grahamd@otc.otca.oz.au (Graham Dumpleton) Newsgroups: comp.soft-sys.andrew Subject: Re: Andrew with OpenWindows Message-ID: <8ahrZ5G6bk8Z5JkVgp@otc.otca.oz> Date: 2 Aug 90 00:52:21 GMT References: <1036@meaddata.mead.UUCP> Sender: usenet@ucbvax.BERKELEY.EDU Organization: The Internet Lines: 51 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)