1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
|
Larry Mascarenhas <lmascare@cscinfo.com> 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 <stdio.h>\n#include \"headers.h\"\n\n\n");
}
--- 49,55 ----
s/-sed-backslash-quote-/\\"/g
' |
! nawk 'BEGIN {in_text = 0;
count = 0;
printf("#include <stdio.h>\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/^.*</</p' |
! awk 'BEGIN {mailers[0] = "Other";
mailers[1] = "Pine";
mailers[2] = "MailManager";
mailers[3] = "sendmail";
--- 56,62 ----
echo "Hostname: $host"
sed -n -e '/message-id/s/^.*</</p' |
! nawk 'BEGIN {mailers[0] = "Other";
mailers[1] = "Pine";
mailers[2] = "MailManager";
mailers[3] = "sendmail";
***************
*** 115,121 ****
echo $host $org $domain | \
! awk '{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
--- 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
|