🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #203619

[Xnews] Lines = ? [size] ?

#203619
From: -Lost
Date: Sun, 12 Aug 2007 13:00
20 lines
2216 bytes
OK, I'm not too swift so can someone tell me how *lines* equate to the size 
of a file?  For example, if I'm getting a binary attachment that is 100 
lines long.  I know only a few things about this.

1.  It's 50 lines.
2.  Assuming the lines wraps at 72 characters or so then that makes it 
50x72.
3.  50x72 (assuming that isn't already a screwed up theory) is 3,600.
4.  3,600 characters equate to 3.51 Kilobytes.  And that's assuming ASCII.  
I've no clue if Unicode would make a large difference.
5.  I'm not saving the characters of each binary attachment into a text 
file just so I can come up with these numbers.

So... is there a reliable method of knowing how big a file is in Xnews?  
Based on line count or otherwise?

-- 
-Lost
Remove the extra words to reply by e-mail.  Don't e-mail me.  I am kidding.  
No I am not.
Technical Details
Message-ID: <Xns998A5C1616E72lostthreads@216.196.97.136>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail

Show Full Headers
Complete Article Headers
Message-ID: <Xns998A5C1616E72lostthreads@216.196.97.136>
Subject: [Xnews] Lines = ? [size] ?
Date: Sun, 12 Aug 2007 08:00:51 -0500
From: "-Lost" <maventheextrawords@techie.com>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.readers.20140922.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!local01.nntp.dca.giganews.com!nntp.comcast.com!news.comcast.com.POSTED!not-for-mail
NNTP-Posting-Date: Sun, 12 Aug 2007 08:00:51 -0500
Newsgroups: news.software.readers
User-Agent: Xnews/2006.08.24
X-Face: %`,?v|nnm?KLn'=g{_"r!V}jG<p^32(~'L?&GB~+Zn}BY2@~>K)d}*; iE/xT`eCub7a5PM
X-Kiss-My-Arse: Don't Like Me? Kiss My Arse.
Lines: 20
X-Usenet-Provider: http://www.giganews.com
NNTP-Posting-Host: 68.53.38.40
X-Trace: sv3-qKwgbMquVsUM7BT99uJQSNVCKG2cDxt5T4FZb0XbaiQTi3j0DFJsvYBP1D7KNDcTqYhi5oC/fvROCni!EglDFmL5Kj3X7r7qwaa4nMauVRsvkVPdR7mqIxyjemVse8nl386yScaQ23sX/8yRTmffM6mbh81D!OVTL3dI0Ql3bxABJOCrCE9Xg
X-Complaints-To: abuse@comcast.net
X-DMCA-Complaints-To: dmca@comcast.net
X-Abuse-and-DMCA-Info: Please be sure to forward a copy of ALL headers
X-Abuse-and-DMCA-Info: Otherwise we will be unable to process your complaint
 properly
X-Postfilter: 1.3.35