Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!agate!bionet!csd4.milw.wisc.edu!lll-winken!uunet!seismo!sundc!pitstop!texsun!hemaneh!jthomp From: jthomp@hemaneh.Central.Sun.COM (Jim Thompson Sun Dallas SWAN Engineer) Newsgroups: news.software.b Subject: Re: suggested change for newsreaders Message-ID: <414@texsun.Central.Sun.COM> Date: 16 Mar 89 00:04:45 GMT References: <2814479975@Stearns.Steinmetz> <11844@mailgw.cc.umich.edu> <13349@steinmetz.ge.com> <38@crdgw1.crd.ge.com> <2814973363@Stearns.Steinmetz> Sender: news@texsun.Central.Sun.COM Reply-To: jthomp@hemaneh.UUCP (Jim Thompson Sun Dallas SWAN Engineer) Organization: Sun Microsystems Inc., Mt. View, CA. Lines: 55 In article <2814973363@Stearns.Steinmetz> welty@steinmetz.ge.com (richard welty) writes: >In article <38@crdgw1.crd.ge.com>, Bruce Barnett writes: >*In article <13349@steinmetz.ge.com>, welty@steinmetz (richard welty) writes: [discussion of inews and .signature files deleted.] > >on the other hand, the last time i used remote rn (over a year >ago), remote inews wasn't checking the length of signatures and >wasn't inserting the `-- ' either. i seem to recall some mild >flames were sent in my direction because i inadvertantly violated >a convention of which i was totally unaware. > >in any case, i have now altered the slimebolics newsreader >to insert the `-- ' automagyklly. if remote inews still >doesn't do this, would whoever maintains it these days >consider fixing it? Its fixed in the mini-inews included in the 1.5 version of nntp. A quote from the coments: /* * Itty-bitty inews for talking to remote server. * Simply accept input on stdin (or via a named file) and dump this * to the server; add a From: and Path: line if missing in the original. * Print meaningful errors from the server. * Limit .signature files to MAX_SIGNATURE lines. * No processing of command line options. * * Original by Steven Grady , with thanks from * Phil Lapsley , who is now responsible for it. */ #define MAX_SIGNATURE 4 ..... if (count > MAX_SIGNATURE) { fprintf(stderr, "Warning: .signature files should be no longer than %d lines.\n", MAX_SIGNATURE); fprintf(stderr, "(Only %d lines of your .signature were posted.)\n", MAX_SIGNATURE); break; ... (Gawd, I hope that Phil doesn't sue me for posting 'his' code... :-) Jim Thompson jthomp@central.sun.com "I woudn't recommend sex, drugs, or insanity Network Engineering for everyone, but they've always worked for me." Sun Microsystems -- Hunter S. Thompson