Article View: news.software.nn
Article #4314Re: Missing Line Counts
From: Jeff Giacobbe
Date: Mon, 14 Jun 1993 15:06
Date: Mon, 14 Jun 1993 15:06
60 lines
3104 bytes
3104 bytes
edwin@cs.ruu.nl (Edwin Kremer) writes: >In <acbhour.740046409@speelman> acbhour@phil.ruu.nl (Rudi van Houten) writes: [stuff about wanting a Lines: header in nn deleted...] >Then you must be running C-news :-) >It is not nn's fault per se, but you can argue about that -- I won't. To >fix it, fix your cnews "newsbin/inject/inews", by uncommenting the next >part of that shell script. Your mileage may vary, due to running a >different version of cnews than I do, but this should give you an >idea about what to look for... ># lines="` # sop to msb, just uncomment to use ># (sed 1d $inbody; # take out the first (blank) line [....etc] This is the fix mentioned in the March 16 C News FAQ, but it will *not* work with the Feb 93 Performance Release of C News. As pointed out to me by another netter when I posted a similar question a few months ago,the Feb93 release moved the Lines header option out of "inject/inews" and into "inject/pnews". To make the fix to Feb 93 Perf Rel., do the following: 1) edit "newsbin/inject/pnews" (not inews) 2) look for the following lines and do as they say.... (this is from my own pnews file, so the fix has already been made) -------------- # POLICY: don't generate Lines: because it is optional, munged in transit # by B News to make the count incorrect, and not pulling its weight. # If you just *have* to generate Lines: headers, uncomment line A and comment # out line B. . lines # NB: reads $inbody # line A #firstline="` sed 1q $inbody `" # line B #case "$firstline" in # line B #'') cat $inhdrs $inbody ;; # emit the article #line B #*) echo | cat $inhdrs - $inbody ;; # insert blank line #line B #esac # line B -------------- Note: all this really does is tell pnews to execute the "lines" script (newsbin/inject/lines) I haven't looked at the latest C News FAQ to see if it has been updated with regard to the above discrepancy. Hope this helps, -- -------------------------------------------------------------------- "There's such a fine line between clever and stupid" -David St. Hubbins --------------------------------------------------------------------
Technical Details
Message-ID:
<giacobbe.740070400@logos.montclair.edu>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!rutgers!argos.montclair.edu!logos.montclair.edu!giacobbeReferences:
<1993Jun11.211934.10524@esds.mdc.com> <acbhour.740046409@speelman> <1993Jun14.100338.94@cs.ruu.nl>Show Full Headers
Complete Article Headers
Message-ID: <giacobbe.740070400@logos.montclair.edu> Subject: Re: Missing Line Counts Date: Mon, 14 Jun 1993 15:06:40 +0000 From: giacobbe@logos.montclair.edu (Jeff Giacobbe) References: <1993Jun11.211934.10524@esds.mdc.com> <acbhour.740046409@speelman> <1993Jun14.100338.94@cs.ruu.nl> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmd.de!newsserver.jvnc.net!rutgers!argos.montclair.edu!logos.montclair.edu!giacobbe Newsgroups: news.software.nn Keywords: Line Count Sender: root@argos.montclair.edu (Operator) Organization: SCInet @ Montclair State Lines: 60