Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Posting-Version: version B 2.10.3 alpha 4/3/85; site ukma.UUCP
Path: utzoo!watmath!clyde!cbosgd!ukma!david
From: david@ukma.UUCP (David Herron, NPR Lover)
Newsgroups: net.news.b
Subject: Limiting followups to one newsgroup.
Message-ID: <2243@ukma.UUCP>
Date: Thu, 26-Sep-85 19:46:36 EDT
Article-I.D.: ukma.2243
Posted: Thu Sep 26 19:46:36 1985
Date-Received: Sat, 28-Sep-85 07:32:59 EDT
Organization: U of Kentucky, Mathematical Sciences, Lexington KY
Lines: 84

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);