Larry Mascarenhas found he had to make some changesx to get Pine 4.21 to compile on Sequent ptx v4.4.6. We didn't have time to integrate these into the distribution. He was kind enough to send us the diffs of what he had to do to make it work. diff -cr pine.dist/imap/src/osdep/unix/Makefile pine4.20/imap/src/osdep/unix/Makefile *** pine.dist/imap/src/osdep/unix/Makefile Thu Sep 30 01:54:13 1999 --- pine4.20/imap/src/osdep/unix/Makefile Fri Nov 12 15:26:40 1999 *************** *** 418,424 **** MAILSPOOL=/usr/mail \ RSHPATH=/usr/bin/resh \ BASECFLAGS="-Wc,-O3 -Wc,-seq -Dprivate=PRIVATE -DNFSKLUDGE" \ ! BASELDFLAGS="-lseq -lsec -lsocket -linet -lnsl -lgen" \ RANLIB=true pyr: # Pyramid --- 418,424 ---- MAILSPOOL=/usr/mail \ RSHPATH=/usr/bin/resh \ BASECFLAGS="-Wc,-O3 -Wc,-seq -Dprivate=PRIVATE -DNFSKLUDGE" \ ! BASELDFLAGS="-lseq -lsec -lsocket -lnsl -lgen" \ RANLIB=true pyr: # Pyramid diff -cr pine.dist/pico/makefile.ptx pine4.20/pico/makefile.ptx *** pine.dist/pico/makefile.ptx Mon Jun 29 18:23:52 1998 --- pine4.20/pico/makefile.ptx Fri Nov 12 15:37:28 1999 *************** *** 42,48 **** LIBARGS= ru RANLIB= true ! LIBS= $(EXTRALIBES) -ltermlib -linet OFILES= attach.o basic.o bind.o browse.o buffer.o \ composer.o display.o file.o fileio.o line.o pico_os.o \ --- 42,48 ---- LIBARGS= ru RANLIB= true ! LIBS= $(EXTRALIBES) -ltermlib -lsocket -l nsl OFILES= attach.o basic.o bind.o browse.o buffer.o \ composer.o display.o file.o fileio.o line.o pico_os.o \ diff -cr pine.dist/pine/cmplhelp.sh pine4.20/pine/cmplhelp.sh *** pine.dist/pine/cmplhelp.sh Fri Feb 20 19:50:38 1998 --- pine4.20/pine/cmplhelp.sh Fri Nov 12 15:16:17 1999 *************** *** 49,55 **** s/-sed-backslash-quote-/\\"/g ' | ! awk 'BEGIN {in_text = 0; count = 0; printf("#include \n#include \"headers.h\"\n\n\n"); } --- 49,55 ---- s/-sed-backslash-quote-/\\"/g ' | ! nawk 'BEGIN {in_text = 0; count = 0; printf("#include \n#include \"headers.h\"\n\n\n"); } diff -cr pine.dist/pine/cmplhlp2.sh pine4.20/pine/cmplhlp2.sh *** pine.dist/pine/cmplhlp2.sh Wed Feb 18 20:46:52 1998 --- pine4.20/pine/cmplhlp2.sh Fri Nov 12 15:16:28 1999 *************** *** 44,50 **** # ! awk ' BEGIN { printf("\n\n\t\t/*\n"); printf("\t\t * AUTOMATICALLY GENERATED FILE!\n"); printf("\t\t * DO NOT EDIT!!\n\t\t */\n\n\n"); printf("#define\tHelpType\tchar **\n"); --- 44,50 ---- # ! nawk ' BEGIN { printf("\n\n\t\t/*\n"); printf("\t\t * AUTOMATICALLY GENERATED FILE!\n"); printf("\t\t * DO NOT EDIT!!\n\t\t */\n\n\n"); printf("#define\tHelpType\tchar **\n"); diff -cr pine.dist/pine/mailtrfc.sh pine4.20/pine/mailtrfc.sh *** pine.dist/pine/mailtrfc.sh Fri Mar 15 02:14:43 1996 --- pine4.20/pine/mailtrfc.sh Fri Nov 12 15:18:35 1999 *************** *** 47,53 **** ! org=`awk '/^domain/ {print $2}' < /etc/resolv.conf` domain=`echo $org | sed -e 's/^[^.]*\.//'` host=`hostname`".$org" --- 47,53 ---- ! org=`nawk '/^domain/ {print $2}' < /etc/resolv.conf` domain=`echo $org | sed -e 's/^[^.]*\.//'` host=`hostname`".$org" *************** *** 56,62 **** echo "Hostname: $host" sed -n -e '/message-id/s/^.*' /tmp/syslogx.$$ | sort +0.60rn egrep 'TOTAL|----' /tmp/syslogx.$$ grep '^-->' /tmp/syslogx.$$ | sed -e 's/-->//' > other-traffic --- 115,121 ---- echo $host $org $domain | \ ! nawk '{printf(" %.17s %.11s %.11s Off Campus Total\n", $1, $2, $3)}' egrep -v 'TOTAL|----|^-->' /tmp/syslogx.$$ | sort +0.60rn egrep 'TOTAL|----' /tmp/syslogx.$$ grep '^-->' /tmp/syslogx.$$ | sed -e 's/-->//' > other-traffic diff -cr pine.dist/pine/send.c pine4.20/pine/send.c *** pine.dist/pine/send.c Wed Oct 6 16:18:27 1999 --- pine4.20/pine/send.c Mon Nov 15 12:46:22 1999 *************** *** 50,56 **** #include "../c-client/smtp.h" #include "../c-client/nntp.h" - #ifndef TCPSTREAM #define TCPSTREAM void #endif --- 50,55 ---- *************** *** 3933,3940 **** if((ps_global->post->pid = fork()) == 0){ /* * Put us in new process group... - */ setpgrp(0, ps_global->post->pid); /* BUG: should fix argv[0] to indicate what we're up to */ --- 3932,3940 ---- if((ps_global->post->pid = fork()) == 0){ /* * Put us in new process group... setpgrp(0, ps_global->post->pid); + */ + setpgrp(); /* BUG: should fix argv[0] to indicate what we're up to */ diff -cr pine.dist/pine/signals.c pine4.20/pine/signals.c *** pine.dist/pine/signals.c Tue Apr 20 20:25:18 1999 --- pine4.20/pine/signals.c Mon Nov 15 12:46:59 1999 *************** *** 53,58 **** --- 53,59 ---- ====*/ #include "headers.h" + #undef sigmask /* * call used by TERM and HUP handlers to quickly close streams