[comp.sys.sequent] X Windows

rich@oxtrap (K. Richard Magill) (06/10/88)

In article <682@clsib21.UUCP>, dave@clsib21 (David P. Hansen) writes:
>Anyone out there have an X11 implementation running under Dynix?

Yes.  I posted patches for X11.1 long ago.  11.2 wasn't bad.  I don't remember
making any changes other than makefiles.  Let me know if you want them.

aledm@cvaxa.sussex.ac.uk (Aled Morris) (06/26/88)

In article <682@clsib21.UUCP>, dave@clsib21.UUCP (David P. Hansen) writes:
> Anyone out there have an X11 implementation running under Dynix?

We have a dual processor Symmetry, Dynix 3.0.8 and I've succesfully
built the X11R2 clients (straight off the CORE distribution tape).
I HAVEN'T INSTALLED ANY OF THE OFFICIAL PATCHES YET :-( Some of the
problems I describe may already have been fixed!  I will get round
to this soon (and if they haven't been reported, I'll put in a bugreport
to MIT).

The things you need to watch out for are:

	(a) there isn't a Dynix.macros in util/imake.includes. I simply
	edited "Guess.macros" (one change---removed "-DUNIXCONN" from
	"#define ConnectionFlags")  and added the following lines to
	"Imake.tmpl":

#ifdef sequent
#define MacroIncludeFile "Dynix.macros"
#define MacroFile Dynix.macros
#undef sequent
#define SequentArchitecture
#endif

	(b) There is a bug in the Symmetry C compiler---it doesn't permit
	string literals longer than 1877 characters.  There is one such
	string in the distribution, starting line 2562 of "lib/Xaw/Text.c".
	All I did to this was strip all the leading spaces off the lines
	with vi, ":2562,2613s/^        //" (I suppose you could do it with
	sed).

	(c) Because the Sequent doesn't have a graphics display device,
	it doesn't try to build any servers.  Unfortunately, "imake"
	generates some bad "sh" script in the Makefile (of the form:

for i in ; do
	[...]
done

	The fix for this is to edit out the references to SERVERSRC,
	FONTSRC and EXTENSIONSRC from the Imakefile in the root
	directory (lines 16 to 18, and one on line 49).

	(d) The "x10tox11" client is set up to be compiled with DEBUG
	on.  Unfortunately, the DEBUG code makes use of a SVID (?)
	function "strchr".  If you just want to kludge this, change
	both occurences of "strchr" in "clients/x10tox11/X11/debug.c"
	to "index".

After those changes, just type "make World >& LOG &" and break for
lunch.

When you get back, start up your X server on your Sun (or whatever)
and rlogin to your Symmetry.  cd into clients/xterm and try
"./xterm -display mysun:0" (don't forget to give your Sequent access
to the server---use "xhost").  This is as far as I have got.  I have
not tested any of the other clients yet, but "xterm" seems to be
fine, and there were no problematic error messages in the LOG file.

Have fun,

Aled Morris
systems programmer

Janet/Arpa: aledm@uk.ac.sussex.cvaxa   |   School of Cognitive Science
      uucp: ..!mcvax!ukc!cvaxa!aledm   |   University of Sussex
      talk: +44-(0)273-606755  x2472   |   Falmer, Brighton, England
   "I'm living in the future/I feel wonderful/I'm tipping over backwards...
I'm so ambitious/I'm looking back/I'm running a race and you're the book I read"