Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.csd.uwm.edu!uakari.primate.wisc.edu!ames!uhccux!munnari.oz.au!comp.vuw.ac.nz!root From: mark@comp.vuw.ac.nz (Mark Davies) Newsgroups: comp.sys.pyramid Subject: Re: X-windows on pyramid (X11R3) Message-ID: <1989Sep8.010946.13272@comp.vuw.ac.nz> Date: 8 Sep 89 01:09:46 GMT References: <1080@rex.cs.tulane.edu> Organization: Dept. of Comp. Sci., Victoria Uni. of Wellington, New Zealand. Lines: 58 In article Bob Sutterfield writes: >In article <1080@rex.cs.tulane.edu> barad@rex.cs.tulane.edu (Herb Barad) writes: > Has anyone got X-windows running on a Pyramid? >Here's the article that got the job done for me: >From: mark@comp.vuw.ac.nz (Mark Davies) >Subject: Re: X windows >Date: 8 Dec 88 02:47:07 GMT >In article <1866@questar.QUESTAR.MN.ORG> scott@questar.QUESTAR.MN.ORG (Scott Anderson) writes: >>Are any of you using X windows 11r3 on your pyramids? If so, did you >>port it yourself? >Yes and Yes (Not that there was much to the "port"). >This is what we did (but not in this order). > [...] >Now follow the X11R3 installation guide. >I think thats all we did here. When I originally posted this I forgot one other change that was necessary. The OSx 4.0 C compiler does not like Display used as the name of a element of a particular structure (don't know about newer pyramid compilers). The fix for this that we are currently using here follows: *** lib/Xaw/TextSrcP.h~ Wed Oct 19 05:13:18 1988 --- lib/Xaw/TextSrcP.h Mon Jun 26 11:50:56 1989 *************** *** 52,61 **** --- 52,69 ---- caddr_t data; }; + #ifdef pyr + typedef int (*INTFUNCPTR)(); + #endif + typedef struct _XtTextSink { XFontStruct *font; int foreground; + #ifndef pyr int (*Display)(); + #else + INTFUNCPTR Display; + #endif int (*InsertCursor)(); int (*ClearToBackground)(); int (*FindPosition)(); cheers mark -- Domainised: mark@comp.vuw.ac.nz Bang form: ...!uunet!vuwcomp!mark