[comp.windows.x] Help! xterm REFUSES to create viewable window

mickey@altos86.Altos.COM (Michael Thompson) (02/23/90)

I already asked this question, but I received no responses so I thought I'd
try again with more information. I am porting the R4 (patchlevel 2)
software to an Altos machine.  Most basic X clients run without problem.
However, the window that xterm creates is not viewable. Twm does not
recognize it, and an xwininfo says that the Window Map State is IsUnMapped.
I even tried an

	XMapWindow( screen->display, TextWindow( screen ) );

before the loop calling VTRun(); in main(). This made no difference.
As far as I can tell, the only problem is that the window state is
incorrect. The shell has been spawned and xterm is in VTRun() where
it should be.

Some interesting values, which seem to indicate that xterm thinks everything
is hunky-dory:

	term->core.managed		= 1
	term->core.mapped_when_managed  = 1
	term->core.visible		= 1

Yet the Window Map State is IsUnMapped.  How can this be?  What is necessary
to get the Window Map State to be IsViewable?

What could I be doing wrong?  What more can I try to attempt to find this
problem?

Any ideas would be appreciated.

					-Michael Thompson
					mickey@altos.Altos.COM