🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #9252

Re: TIN 1.2 PL2 - missing line numbers

#9252
From: John Line
Date: Sun, 29 May 1994 18:45
61 lines
3581 bytes
In article <2rkhfp$862@harbinger.cc.monash.edu.au>,
Tom J Parry <parry@yoyo.cc.monash.edu.au> wrote:
>On 10 May 1994 19:18:47 GMT, John Line wrote:
>
>>I think this discussion is the first I've seen which even considered adding the
>>information at the reader side of the posting connection (which is not to say
>>people haven't been doing it for years without me hearing of it!). All previous
>>discussion that I recall has been about doing it on the server.
>
>I find this hard to believe. Except for tin (until I patched it), all posts
>from our university had Lines: headers. I can therefore only conclude that
>that was the readers doing it.

It looks like a case of "your mileage may vary, especially with different
software versions".

When I set up our original news server, using the final (?) version of C-news
before the Performance Release (which was released about the time our server
was scheduled to go live), xrn users complained about getting "[?]" for all
locally-posted articles (none of the other newsreaders made it so obvious it
wasn't there...), so I looked around. In inews I found the following, extracted
here from the raw (uncustomised) version in the original source tree):

----------
# post with new headers and .signature
(anne.jones <$inhdrs >/tmp/in$$realtmp	# bash headers
 status=$?
 mv /tmp/in$$realtmp $inhdrs
 cat $inhdrs		# | grep -v "^Lines:"	# uncomment if generating Lines:
 case $status in
 0)	;;
 *)
	trap 0			# no cleanup yet
	exit $status		# anne.jones was unhappy - bail out
	;;
 esac
# 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
..
----------

I simply uncommented the grep in the first half, and the block of lines in the
second half, and all the locally posted articles appeared with Lines:
headers... Since I never looked at any other version of C-news (we're now
running INN), I've no idea how much their versions of inews may differ, though
my original post certainly prompted "I can't see the code to do it in inews"
comments. I'm not saying there are no newsreaders that automatically insert
a Lines: header, but none of the ones used here, at the time, seemed to. This
followup is mainly just to show that in at least one C-news version, the
server *could* do it.

                                John Line
-- 
John Line - Cambridge University Computing Service, Computer Laboratory,
            New Museums Site, Pembroke Street, Cambridge CB2 3QG, ENGLAND.
Internet: jml4@cus.cam.ac.uk  JANET: jml4@uk.ac.cam.cus  Phone: +44 223 334708
Technical Details
Message-ID: <2sanrs$4u3@lyra.csx.cam.ac.uk>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!gatech!swrinde!pipex!lyra.csx.cam.ac.uk!jml4
References: <Cp0xsK.51I@ukpsshp1.serigate.philips.nl> <CpJAsM.BM7@ukpsshp1.serigate.philips.nl> <2qommn$295@lyra.csx.cam.ac.uk> <2rkhfp$862@harbinger.cc.monash.edu.au>

Show Full Headers
Complete Article Headers
Message-ID: <2sanrs$4u3@lyra.csx.cam.ac.uk>
Subject: Re: TIN 1.2 PL2 - missing line numbers
Date: Sun, 29 May 1994 18:45:16 +0000
From: jml4@cus.cam.ac.uk (John Line)
References: <Cp0xsK.51I@ukpsshp1.serigate.philips.nl> <CpJAsM.BM7@ukpsshp1.serigate.philips.nl> <2qommn$295@lyra.csx.cam.ac.uk> <2rkhfp$862@harbinger.cc.monash.edu.au>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!bga.com!news.sprintlink.net!hookup!news.kei.com!MathWorks.Com!europa.eng.gtefsd.com!gatech!swrinde!pipex!lyra.csx.cam.ac.uk!jml4
Newsgroups: news.software.readers
Organization: Computing Service, Cambridge University, England
Lines: 61
NNTP-Posting-Host: bootes.cus.cam.ac.uk