bill@ssbn.UUCP (Bill Kennedy) (10/21/87)
The compress program, as distributed, can be made to work on 16 bit processors by defining M_XENIX to the compiler when making compress. If this is done in IBMFLAGS it will make compress OK but it will kill the other compiles on a USG (Simul-Task, Microport) system. To have it work across the board change line 291 of Makefile.dst from $(CC) $(CFLAGS) $(LFLAGS) -o compress compress.c to read $(CC) $(CFLAGS) $(LFLAGS) $(I286) -o compress compress.c now add a line after line 61 that reads #USG I286 = and put a line in your localize.sh for the Makefile that reads /^I286/s/$/ -DM_XENIX/ If you are content with 12 bit compression you can localize with /^IBMFLAGS/s/$/ -Dpcxt/ but be sure that your neighbors compress for you with -b12, that can be forced in the sendbatch script. If you feed news to a 16 bit site that didn't make compress for 12 or 16 bit mode (first fix) be sure that you set cflags to -b12 in the sendbatch script. I suppose I should have made this in patch form but I'm not sure how to do that and I didn't want to experiment with "live data". This is sure to bite anyone running AT&T Simul-Task or Microport System V/AT. -- Bill Kennedy {cbosgd | ihnp4!petro | sun!texsun!rrm}!ssbn!bill