[comp.windows.x] X11 on the AED

bradley@dsl.cis.upenn.edu (John Bradley) (09/30/87)

Has anyone out there actually gotten X11R1 to run on an IBM RT (4.3) with an
aed display?  I've found several bugs, and it doesn't run correctly yet.

First off, in 'server/ddx/ibm/rt/rtinit.c', it was hardwired for the apa16
display in one place.  (It called apa16ScreenInit() rather than have some
sort of #ifdef dependent on which server you wanted to build.)  Minor 
annoyance.  Also, in one of the 'server/ddx/ibm/aed' files, there was
something along the lines of '#define mouse_device "/dev/aedms"'.  The aed
mouse is actually '/dev/msaed'.

Major Annoyance:  Once I finally built all the stuff, I kept being harrassed
by "xinit: unable to connect to server" messages.  I found out that the
server was crashing with a segmentation fault.  I tracked this down to the
routine "BlockHandler()" in "server/dix/dixutils.c".  At least that's
where it was crashing.  What happened is that it would call the routine
pointed to by "screenInfo.screen[0].BlockHandler".  This is all well and good,
but this pointer was never initialized.  I added the following lines

    pScreen->BlockHandler = NoopDDA;
    pScreen->WakeupHandler = NoopDDA;
    pScreen->blockData = (pointer)0;
    pScreen->wakeupData = (pointer)0;

to the function "aedInitScreen()" in "server/ddx/ibm/aed/aedscrinit.c".
Whether or not this is the correct thing to do, I don't know.  I do know
that it seems to work.

Now, I'm currently stuck at the next problem.  In many places, it seems
unable to draw white pixels on black.  For example, doing "xsetroot -bitmap
include/bitmaps/woman" turns the root window black, not the desired effect.
The clock is unable to erase previous hand positions, leaving a black trail.
In many places, (such as in uwm menus, xfd windows, etc) it is unable to draw
white text on a black background.

Can anyone point me to the likely culprit?  (Or perhaps a newer version of 
the Xaed server?)

John Bradley  -  bradley@cis.upenn.edu

grogers@uiucdcsm.cs.uiuc.edu (10/04/87)

I too am interested in getting bug fixes for the AED server.

Greg Rogers
University of Illinois at Urbana-Champaign
Department of Computer Science

	UUCP:	{pur-ee,convex,inhp4}!uiucdcs!grogers
	ARPA:	grogers@m.cs.uiuc.edu
	CSNET:	grogers%uiuc@csnet-relay