[comp.sys.pyramid] X Windows

scott@questar.QUESTAR.MN.ORG (Scott Anderson) (12/06/88)

Are any of you using X windows 11r3 on your pyramids?  If so, did you
port it yourself?  

If anyone has any information about this I would apreciate it if you
could send it to me.

-- 
Scott Anderson			UUCP: scott@Questar.MN.ORG,
Questar Data Systems			...!amdahl!bungia!questar!scott 
Minneapolis, MN			 ATT: +1 612 688 0089

jrp@mirror.UUCP (John R. Petersen) (12/06/88)

In article <1866@questar.QUESTAR.MN.ORG> scott@questar.QUESTAR.MN.ORG (Scott Anderson) writes:
>Are any of you using X windows 11r3 on your pyramids?  If so, did you
>port it yourself?  
>
>If anyone has any information about this I would apreciate it if you
>could send it to me.

Ditto on this.  We are about to begin a X11R3 port to the pyramids.  
Any hints/tips would be *greatly* appreciated!!

							--John
----
John R. Petersen --  jrp@mirror.TMC.COM		[Systems Programmer]
        UUCP   :  {mit-eddie, pyramid, wjh12, xait, datacube}!mirror!jrp
Mirror Systems	2067 Massachusetts Avenue  Cambridge, MA, 02140
Telephone:	617-661-0777 extension 122
Administrator for ZONE1.COM - Info Requests: zone1-info@mirror.TMC.COM

"One damn minute, Admiral." -- Spock : ST IV The Voyage Home
---

mark@comp.vuw.ac.nz (Mark Davies) (12/08/88)

In article <1866@questar.QUESTAR.MN.ORG> scott@questar.QUESTAR.MN.ORG (Scott Anderson) writes:
>Are any of you using X windows 11r3 on your pyramids?  If so, did you
>port it yourself?  

Yes and Yes (Not that there was much to the "port").

This is what we did (but not in this order).

1) Apply the following patch to Login.h in clients/xdm.  The Pyramid
compiler objected to the lack of a semi-colon.  Don't think this was fixed
in fix1 or fix2 from MIT.

*** Login.h~	Fri Nov 18 11:37:30 1988
--- Login.h	Sat Nov 19 19:55:05 1988
***************
*** 73,79 ****
  #define NAME_LEN	32
  
  typedef struct _LoginData { 
! 	char	name[NAME_LEN], passwd[NAME_LEN] 
  } LoginData;
  
  # define NOTIFY_OK	0
--- 73,79 ----
  #define NAME_LEN	32
  
  typedef struct _LoginData { 
! 	char	name[NAME_LEN], passwd[NAME_LEN];
  } LoginData;
  
  # define NOTIFY_OK	0


2)  Add the following to Imake.tmpl

#ifdef pyr
#define MacroIncludeFile "Pyr.macros"
#define MacroFile Pyr.macros
#undef pyr
#define PyramidArchitecture
#endif /* pyr */

3)  Use the following as your Pyr.macros file (Yes it does look like a
cross between the Sun and Mips files).

-------- start of Pyr.macros -----------
/*
 * SET VERSION NUMBERS BEFORE MAKING MAKEFILES
 *
 * If you change either of the following numbers, you will need to do a 
 * full build (make World) at the top of the sources....
 */
#define PyrOSPlatform     YES		/* set to NO if not running SunOS */
#define OSName            OSx 4.0
#define OSMajorVersion    4
#define OSMinorVersion    0


/*
 ****************************************************************************
 */

/**/# platform:  $XConsortium: Pyr.macros,v 1.52 88/10/23 11:00:55 jim Exp $
/**/# operating system:  OSName

BOOTSTRAPCFLAGS = 
             AS = as
             CC = cc
       COMPRESS = /usr/new/compress
            CPP = /lib/cpp
             LD = ld
           LINT = lint
        INSTALL = install
           TAGS = ctags
             RM = rm -f
             MV = mv
             LN = ln -s
         RANLIB = ranlib
RANLIBINSTFLAGS = 
             AR = ar clq
             LS = ls
       LINTOPTS = -axz
    LINTLIBFLAG = -C
           MAKE = make
STD_CPP_DEFINES = 
    STD_DEFINES = 

/* define this as you like for normal library compilation */
#define LibraryDefines

/* define this as you like for server font support */
/*#define FontDefines	-DFONT_SNF -DFONT_BDF -DCOMPRESSED_FONTS*/


/* -DTCPCONN allows TCP connections */
/* -DUNIXCONN allows Unix domain connections */
/* -DDNETCONN allows DECnet connections */

#define ConnectionFlags		-DTCPCONN

/*
 * override any parameters from site.def
 */
#define UnalignedReferencesAllowed NO	/* if arbitrary deref is okay */
#define BuildServer		NO

#define ExpandManNames		YES	/* expand Xlib man page filenames */
#define UNCOMPRESSPATH /usr/new/uncompress
-------- end of Pyr.macros -----------

Now follow the X11R3 installation guide.
I think thats all we did here.

cheers
mark
-- 
Domainised:  mark@comp.vuw.ac.nz	Bang form: ...!uunet!vuwcomp!mark

ejp@bohra.cpg.oz (Esmond Pitt) (01/11/90)

Does anybody have experience porting X11 and Motif1.0 to the Pyramid?

Each ports fairly easily on its own, but they don't talk together
because X11 ports easiest in 'ucb' while Motif requires 'att'. This
poses problems due (at least) to the incompatibility between the two
stdio.h's.

Any experiences, war stories &c about this welcomed.

-- 
Esmond Pitt, Computer Power Group
ejp@bohra.cpg.oz

eric@pyramid.pyramid.com (Eric Bergan) (01/12/90)

In article <329@bohra.cpg.oz> ejp@bohra.cpg.oz (Esmond Pitt) writes:
>Does anybody have experience porting X11 and Motif1.0 to the Pyramid?
>
>Each ports fairly easily on its own, but they don't talk together
>because X11 ports easiest in 'ucb' while Motif requires 'att'. This
>poses problems due (at least) to the incompatibility between the two
>stdio.h's.
>
>Any experiences, war stories &c about this welcomed.

	Personal experience was that Motif was easier to convert to ucb
than X11 was to att. All of this is rendered less important reasonably
soon - we are hard at work at both ucb and att ports of X11 and Motif.
(Also Open Look, and probably XView.) Of course, the documentation for
this may dwarf the rest of OSx...

-- 

					eric
					...!pyramid!eric