🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
4 messages
4 total messages Started by Milt Fulghum Fri, 11 Jun 1993 21:19
Missing Line Counts
#4310
Author: Milt Fulghum
Date: Fri, 11 Jun 1993 21:19
10 lines
1115 bytes
Our version of nn does not seem to be adding a line count (Lines:)
record to the postings.  The postings then show up in the list with
'?' instead of the number of lines.


 -----------------------------------------------------------------------------
 Milton L. Fulghum                          PHONE: (314) 925-8576
 FlightSafety International                 FAX:   (314) 925-8444
 2590 North Highway 94                      E-Mail: fulghum@esds.mdc.com
 Saint Charles, MO 63301-0037
Re: Missing Line Counts
#4313
Author: Rudi van Houten
Date: Mon, 14 Jun 1993 08:26
12 lines
1093 bytes
In <1993Jun11.211934.10524@esds.mdc.com> fulghum@esds.mdc.com (Milt Fulghum) writes:

>Our version of nn does not seem to be adding a line count (Lines:)
>record to the postings.  The postings then show up in the list with
>'?' instead of the number of lines.

Mine problem too.
--
Rudi van Houten	<rudi@cc.ruu.nl>
Academisch Computer Centrum Utrecht / Besturings Systemen
Budapestlaan 8  -  3584 CD  -  Utrecht  -  Netherlands
:-) Experience is the harvest of many mistakes.
Re: Missing Line Counts
#4309
Author: Edwin Kremer
Date: Mon, 14 Jun 1993 10:03
40 lines
2336 bytes
In <acbhour.740046409@speelman> acbhour@phil.ruu.nl (Rudi van Houten) writes:

   | In <1993Jun11.211934.10524@esds.mdc.com> fulghum@esds.mdc.com
   | (Milt Fulghum) writes:
   | 
   | >Our version of nn does not seem to be adding a line count (Lines:)
   | >record to the postings.  The postings then show up in the list with
   | >'?' instead of the number of lines.
   | 
   | Mine problem too.

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
# if test -r $HOME/.signature; then
#       echo '-- '
#       sed 4q $HOME/.signature
# fi) | wc -l `"
# echo Lines: $lines


		best regards,
						--[ Edwin ]--
--
Edwin H. Kremer, systems- and network manager.    [NIC-Whois handle: EHK3]
  Department of Computer Science,    Utrecht University,   The Netherlands
  Internet: Edwin.Kremer@cs.ruu.nl   NeXTmail: Edwin.Kremer@edge.cs.ruu.nl
  X.400   : G=Edwin;S=Kremer;OU=cs;O=ruu;PRMD=surf;ADMD=400net;C=nl
--
Edwin H. Kremer, systems- and network manager.    [NIC-Whois handle: EHK3]
  Department of Computer Science,    Utrecht University,   The Netherlands
  Internet: Edwin.Kremer@cs.ruu.nl   NeXTmail: Edwin.Kremer@edge.cs.ruu.nl
  X.400   : G=Edwin;S=Kremer;OU=cs;O=ruu;PRMD=surf;ADMD=400net;C=nl
Re: Missing Line Counts
#4314
Author: Jeff Giacobbe
Date: Mon, 14 Jun 1993 15:06
60 lines
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
--------------------------------------------------------------------
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads