Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!csd4.milw.wisc.edu!bionet!apple!epimass!jbuck From: jbuck@epimass.EPI.COM (Joe Buck) Newsgroups: news.misc Subject: Re: Proliferation of "Re^n:" in subject lines Message-ID: <3375@epimass.EPI.COM> Date: 10 Jul 89 22:20:14 GMT References: <272@ncis.tis.llnl.gov> <89Jul2.110144edt.10370@neat.ai.toronto.edu> <3583@looking.on.ca> <1989Jul10.130530.10909@telotech.uucp> Reply-To: jbuck@epimass.EPI.COM (Joe Buck) Organization: Entropic Processing, Inc., Cupertino, CA Lines: 68 In article <1989Jul10.130530.10909@telotech.uucp> bsa@telotech.uucp (Brandon S. Allbery) writes: >And, presumably, when rn stops giving me "% interp buffer overflow!" and >dropping core when the references: line exceeds a certain size? Enter :-) mode: This is not a bug, but a feature. It stops flame wars cold after a certain number of followups have progressed! End :-) mode. Seriously, a simple modification to respond.c makes this much less of a problem (I did this a few months back): Index: respond.c Prereq: 4.3.1.5 *** OLDrespond.c Wed Sep 18 01:11:37 1985 --- respond.c Tue May 2 13:50:39 1989 *************** *** 1,6 **** ! /* $Header: respond.c,v 4.3.1.5 85/09/10 11:05:00 lwall Exp $ * * $Log: respond.c,v $ * Revision 4.3.1.5 85/09/10 11:05:00 lwall * Improved %m in in_char(). * --- 1,10 ---- ! /* $Header: respond.c,v 4.3.1.5+JTB 89/04/02 13:44:00 jbuck Exp $ * * $Log: respond.c,v $ + * + * Revision 4.3.1.5+JTB 89/05/02 13:44:00 jbuck + * Made a separate, quadruple-size buffer for header in followup. + * * Revision 4.3.1.5 85/09/10 11:05:00 lwall * Improved %m in in_char(). * *************** *** 354,359 **** --- 358,364 ---- followup() { bool incl_body = (*buf == 'F'); + char hbuf[4*LBUFLEN]; /* four times the old size */ artopen(art); tmpfp = fopen(headname,"w"); *************** *** 361,368 **** printf(cantcreate,headname) FLUSH; return; } ! interp(buf, (sizeof buf), getval("NEWSHEADER",NEWSHEADER)); ! fprintf(tmpfp,"%s",buf); if (incl_body && artfp != Nullfp) { #ifdef VERBOSE if (verbose) --- 366,373 ---- printf(cantcreate,headname) FLUSH; return; } ! interp(hbuf, (sizeof hbuf), getval("NEWSHEADER",NEWSHEADER)); ! fprintf(tmpfp,"%s",hbuf); if (incl_body && artfp != Nullfp) { #ifdef VERBOSE if (verbose) -- -- Joe Buck jbuck@epimass.epi.com, uunet!epimass.epi.com!jbuck