🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nn
Article #4929

Re: Missing Number of Lines

#4929
From: Kristian Koehntopp
Date: Tue, 05 Oct 1993 12:04
49 lines
2800 bytes
In <CEDMu9.4Iw@aplcenmp.apl.jhu.edu> brownwm@aplcenmp.apl.jhu.edu (William G. S. Brown) writes:
>When I enter :post in a newsgroup (like this one) the resulting posted
>article does not contain the number of lines (like all the rest). 
>I must be doing something wrong -- what?

[ This problem is not related to nn, the news user agent, but to
  cnews, the news transport agent, you are using. It is a
  frequently asked question as well.
]

Your news system administrator is using the cnews package by
Henry Spencer. He (the admin) has decided not to generate line
counts or he did not know better, since this feature is not
documented very well.

Your news system administrator may enable this feature by
editing the /bin/inews shell script. He has to look for a
comment about line numbers (search for the string "uncomment" in
/bin/inews) and follow the instructions provided there.

For example, my inews code reads

------------------------------------------------------------------------------
[ del del del ]

 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
 
[ del del del ]
------------------------------------------------------------------------------

Note that I have already activated the relevant code at my
system.

There exists a patch for nn that enables to program to count
lines for all articles without a Lines:-header line. The patch
slows down nn performance, especially over NNTP.

Kristian
-- 
Kristian Koehntopp, Harmsstrasse 98, 24114 Kiel 1, +49 431 676689
"Die Akkumulation fachspezifischer Termini ist zwar das Privileg 
 wissenschaftlicher Diktion, wird aber in dieser kompakten Form ad absurdum 
 gefuehrt..."
Technical Details
Message-ID: <1993Oct5.120433.15873@black.toppoint.de>
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!xlink.net!math.fu-berlin.de!tpki.toppoint.de!black.toppoint.de!kris
References: <CEDMu9.4Iw@aplcenmp.apl.jhu.edu>

Show Full Headers
Complete Article Headers
Message-ID: <1993Oct5.120433.15873@black.toppoint.de>
Subject: Re: Missing Number of Lines
Date: Tue, 5 Oct 1993 12:04:33 GMT
From: kris@black.toppoint.de (Kristian Koehntopp)
References: <CEDMu9.4Iw@aplcenmp.apl.jhu.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!xlink.net!math.fu-berlin.de!tpki.toppoint.de!black.toppoint.de!kris
Newsgroups: news.software.nn
X-Excuse: X-Copyright wegen Emma, Suedwestpresse und /C'T/DISKUSSIONEN.
Keywords: post number of lines
Organization: Toppoint Mailbox e.V.
X-Copyright: (C) Copyright 1993 Kristian Koehntopp -- All rights reserved.
 Reproduktion, auch auszugsweise, ausserhalb elektronischer,
 nichtkommerzieller Datennetze nur mit ausdruecklichem,
 schriftlichem Einverstaendnis des Autors.
Lines: 49