[comp.sys.ibm.pc.rt] unsplit IBM 8514 source code for X11R4 available

mlewis@dolphin.tcspa.ibm.com (Mark S. Lewis) (03/28/90)

Subject: unsplit IBM 8514 source code for X11R4 available
Index: ../mit/server/ddx/ibm/ibm8514

Description:	
Earlier this month, I provided the 8514 source code in a series
of 6 postings.  Unknowingly, my posting utility xrn splits lines
greater that 80 chars.  The net result was 145 incorrectly split
lines.

The correct X11R4 8514 source code can be obtained by ftp,
or uucp for IBM/4.3 customers.  The code can be ftped from

	expo.lcs.mit.edu	../contrib/ibm8514.tar.Z
	bikini.cis.ufl.edu	../pub/ibm-rt-fixes/V1.32*

IBM/4.3 customers can uucp these files from ibmsupt in the
/usr/spool/uucppublic/ibm43-fixes directory.

	V1.32_kit.1	59,103 Bytes
	V1.32_kit.2	61,796 Bytes
	V1.32_kit.3	60,982 Bytes
	V1.32_kit.4	62,729 Bytes
	V1.32_kit.5	54,871 Bytes
	V1.32_kit.6	29,170 Bytes

Building X11R4:		
First, make sure the flag is set in ../config/ibm.cf to include then
8514 driver in the server.

#define ibmInclude8514  YES /* YES */

In building the X11R4 server with the 8514 source, the resulting Makefile
contains some 11 -I includes.  The cpp that comes with IBM/4.3 is built
with a maximum of 10 includes.  You may apply the following patch to
cpp and rebuild it.  (Thanks to Dan Ehrlich at Penn. State for the patch.)

Or you may safely delete -I$(TOP) from the ../ibm8514/Makefile.  Note,
that you will have to repeat this deletion if and when the Makefile
gets remade, or you can change the Imakefile for a permanent solution.

=====-----     Mark S. Lewis, IBM AWD Palo Alto    -----======
inet: mlewis%ibmsupt@uunet.uu.net		(415) 855-4489
uucp: uunet!ibmsupt!mlewis              IBM Tie Line: 465-4489

RCS file: RCS/cpp.c,v
retrieving revision 1.1
diff -c -r1.1 cpp.c
*** /tmp/,RCSt1003077	Tue Feb  6 16:56:57 1990
--- cpp.c	Thu Jan 18 14:35:45 1990
***************
*** 132,138 ****
  # define DROP 0xFE	/* special character not legal ASCII or EBCDIC */
  # define WARN DROP
  # define SAME 0
! # define MAXINC 10
  # define MAXFRE 14	/* max buffers of macro pushback */
  # define MAXFRM 31	/* max number of formals/actuals to a macro */
  
--- 132,138 ----
  # define DROP 0xFE	/* special character not legal ASCII or EBCDIC */
  # define WARN DROP
  # define SAME 0
! # define MAXINC 20
  # define MAXFRE 14	/* max buffers of macro pushback */
  # define MAXFRM 31	/* max number of formals/actuals to a macro */
  
***************
*** 159,165 ****
  STATIC	int	fins[MAXINC];
  STATIC	int	lineno[MAXINC];
  
! STATIC	char	*dirs[10];	/* -I and <> directories */
  char *strdex(), *copy(), *subst(), *trmdir();
  struct symtab *stsym();
  STATIC	int	fin	= FIRSTOPEN;
--- 159,165 ----
  STATIC	int	fins[MAXINC];
  STATIC	int	lineno[MAXINC];
  
! STATIC	char	*dirs[20];	/* -I and <> directories */
  char *strdex(), *copy(), *subst(), *trmdir();
  struct symtab *stsym();
  STATIC	int	fin	= FIRSTOPEN;
***************
*** 1180,1186 ****
  					*prund++ = argv[i]+2;
  					continue;
! 					if (nd>8) pperror("excessive -I file (%s) ignored",argv[i]);
  					else dirs[nd++] = argv[i]+2;
  					continue;
  				case '\0': continue;
--- 1180,1186 ----
  					*prund++ = argv[i]+2;
  					continue;
! 					if (nd>18) pperror("excessive -I file (%s) ignored",argv[i]);
  					else dirs[nd++] = argv[i]+2;
  					continue;
  				case '\0': continue;