Path: utzoo!mnetor!uunet!mcvax!ukc!stc!datlog!torch!paul From: paul@torch.UUCP (Paul Andrews) Newsgroups: comp.windows.x Subject: X-11.2 on a Sun Message-ID: <68@torch.UUCP> Date: 14 Mar 88 12:28:52 GMT Reply-To: paul@torch.UUCP (Paul Andrews) Organization: TORCH Computers Ltd., Cambridge, United Kingdom Lines: 23 We are having some trouble running X11.2 on our Sun (a Sun3/160) We modified the font Makefile to use the -p4 flag and compiled and installed everything. When run from Suntools using 'xinit&', it initialised the screen drew the cursor and crashed. The problem turned out to be in mfbChangeWindowAttributes(). It was calling mfbPadPixmap with an argument of 3. Investigation of hp/mfb indicated that there were quite a few missing case statements in mfbChangeWindowAttributes(). As a first bash at fixing the problem I copied the hp source for mfbwindow.c across to the ddx/mfb directory, compiled and installed the Sun server. Of course it was too easy. It still didn't work, though it got farther. Xterm came up in a window with a black background and a white 'xterm' prompt. If the cursor was moved over it, it stayed like an 'X'. It was impossible to type into the xterm window and it wasn't possible to ctrl-C out of it. I tried a few other programs - ico and puzzle - these opened white windows with nothing visible in them. The ico program was drawing, however, but presumably in white. I hope this makes sense to somebody. Getting any further on my own would be difficult as the server now no longer core dumps so I have no idea where to start looking. Any help would be gratefully received. Thanks - Paul