[comp.windows.x] X11 on the RT fixes!

jonnyg@ROVER.UMD.EDU (Jon Greenblatt) (10/01/87)

	YEA! I now have X11 working on the RT. Follow these steps to get it
running. This applies to those running the Latest release of 4.3 on the RT
with X11R1.

	1: Run RTSETUP first!

	2: Some files do not compile at all with "hc". These are in Xtk and
	   oldXtk and one other directory. In these directories change the
	   line in the makefile that reads "CC = hc" to "CC = pcc".

	3: In the directories server/ddx/mi and server/ddx/mfb, grep for
	   all occurences of "++->", Change these lines so that the ++
	   is in a seperate statement following the ->.

	4: In the file server/ddx/mi/miregion.c, make the following changes.
	   I did this in reverse order so the changes come before the
	   original lines (sorry).

290,292c290,292
< 		do {
< 		    *pPrevBox = *pCurBox;
< 		    pPrevBox++; pCurBox++;
---
> 		do
> 		{
> 		    *pPrevBox++ = *pCurBox++;
1503,1504c1503
< 		    pbox++;
< 		    pboxTest = pbox;
---
> 		    pboxTest = ++pbox;
1525,1526c1524
< 		*pwidthNew = xEnd - xStart;
< 		pwidthNew++;
---
> 		*pwidthNew++ = xEnd - xStart;
1572,1573c1570
< 			*pwidthNew = xEnd - xStart;
< 			pwidthNew++;
---
> 			*pwidthNew++ = xEnd - xStart;


NOTE: I have not looked for all the possible pointer/incr conflicts at this
	point, there may be more.

				Good sailing,

				     Jon Greenblatt
					<pcproj@gymble.umd.edu> (128.8.128.16)
					<jonnyg@rover.umd.edu> (128.8.2.73)

PS: Thank you Robert Scheifler!

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

I've installed these fixes and they work just fine for the apa16.  However,
the aed server still cannot write white pixels over black pixels.  For example,
uwm menus turn completely black when the mouse is pulled from top to bottom.
Has anyone figured this one out yet?