Article View: news.software.nntp
Article #56553Re: [yEnc] some newbie questions
From: Thore Harald Hoye
Date: Sat, 16 Feb 2002 11:29
Date: Sat, 16 Feb 2002 11:29
37 lines
2828 bytes
2828 bytes
In article <32508.g22200@archiver.winews.net>, The Archiver wrote: >>If you're using 255 byte lenght lines, then wouldn't it simply be >>"binary size / 255" + a few preface text lines and management lines? > > This sentence is complete nonsense in the yEnc-Draft. > I did assume that some news-servers would use the Lines: header > from the message. Then the overview on the newsreader would have > shown the same amount of lines as for UUencode. This would have > shown the neticens that a 5000 lines yEncoded post contains the same > amount of data as a yEncoded post. > > I did not realise that most news-servers are calculating the LINES header > based on the data they receive. I'm making my own poster, and in my first posting attempts to alt.binaries.test.yenc through Claranews, using part sizes of about 10KB, I generated my own lines-header by counting how many times I had to do $fh->getline in Perl. In the post, there appeared two Lines: - lines, I suppose the server added its own anyway, which are equal, either 79 or 80. 10000/80 = 125. When I download those parts using nget, it says for instance "80/80L 10624/10627B" after a part is downloaded. After I increased it to 250 bytes, it says "43/43L 10618/10621B". > The discussion about line lengths is not yet finished. > We had proposals of 64 bytes/line (similar to UUencode), > my own 128 bytes/line (to stay below 132), > 250-254 for Pascal, > 999 for smallest overhead - but still surely acceptable for all news-servers. I'm using a slightly modified version of your reference implementation. I have set line length to 250 bytes, and the version of ydec which comes with bnews-utils decodes them without problem. Is that a mistake? Does anybody not use the line= in the beginning of the yenc-part in their decoder? Hm, I noticed you have just commented my postings, thanks.
Technical Details
Message-ID:
<slrna6sgle.414.thhoye@whitestar.d2g.com>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!213-145-178-84.dd.nextgentel.COM!not-for-mailReferences:
<3c6e6798.9093644@news> <32508.g22200@archiver.winews.net>Show Full Headers
Complete Article Headers
Message-ID: <slrna6sgle.414.thhoye@whitestar.d2g.com> Subject: Re: [yEnc] some newbie questions Date: Sat, 16 Feb 2002 11:29:40 +0000 From: Thore Harald Hoye <thhoye-remove-@online.no> References: <3c6e6798.9093644@news> <32508.g22200@archiver.winews.net> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.mbox.zip!archiver1.google.com!news1.google.com!newsfeed.stanford.edu!newsfeeds.belnet.be!news.belnet.be!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!fu-berlin.de!uni-berlin.de!213-145-178-84.dd.nextgentel.COM!not-for-mail Newsgroups: news.software.nntp Lines: 36 NNTP-Posting-Host: 213-145-178-84.dd.nextgentel.com (213.145.178.84) X-Trace: fu-berlin.de 1013858980 1169242 213.145.178.84 (16 [44555]) User-Agent: slrn/0.9.7.3 (Linux)