david@ukma.UUCP (David Herron, NPR Lover) (09/27/85)
A brilliant (:-) flash of inspiration brought this forth.
What I'm suggesting is that followups be limited to one newsgroup
of a cross posting. (The first one). The method for doing this
is fixing postnews to include a Followup-To: line.
Here are the diffs for doing this with postnews.c as distributed
with 2.10.3 alpha test version 4/3/85.
*** postnews.c.orig Fri May 3 14:21:00 1985
--- postnews.c Thu Sep 26 19:44:53 1985
***************
*** 33,38
char msgid[BUFLEN];
char keywords[BUFLEN];
char summary[BUFLEN];
char ngsep[] = { NGDELIM, '\0' }; /* == "," */
--- 33,39 -----
char msgid[BUFLEN];
char keywords[BUFLEN];
char summary[BUFLEN];
+ char followgroups[BUFLEN];
char ngsep[] = { NGDELIM, '\0' }; /* == "," */
***************
*** 117,122
followup(original);
} else {
do {
getpr("Subject: ", subject);
} while (*subject == '\0');
--- 118,124 -----
followup(original);
} else {
+ char *cp1, *cp2;
do {
getpr("Subject: ", subject);
} while (*subject == '\0');
***************
*** 124,129
while (!get_newsgroup())
;
check_mod();
get_distribution((char *)0);
}
--- 126,134 -----
while (!get_newsgroup())
;
+ for (cp1=newsgroups,cp2=followgroups; *cp1!='\0' && *cp1!=',';cp1++)
+ *cp2++ = *cp1;
+ *cp2++ = '\0';
check_mod();
get_distribution((char *)0);
}
***************
*** 447,452
printf("OK, but please edit it to supress unnecessary verbiage, signatures, etc.\n");
}
}
fprintf(tf, "\n");
(void) fflush(tf);
--- 452,460 -----
printf("OK, but please edit it to supress unnecessary verbiage, signatures, etc.\n");
}
}
+
+ if (followgroups[0] != '\0')
+ fprintf(tf, "Followup-To: %s\n", followgroups);
fprintf(tf, "\n");
(void) fflush(tf);