🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #62994

Re: NNTP and YENC

#62994
From: Jeremy
Date: Thu, 09 Jan 2003 20:50
32 lines
2298 bytes
Bart Crane <svcrane@attbi.com> wrote:

> I am surprised at how many unix people here are saying that text-
> filters are not stdio.h-compatible.  They sure are in my experience.

NNTP text streams are not stdio-compatible.  You're attempting to force
an NNTP text stream to be a DOS text stream, which is silly.  You need
to do whatever is necessary on any given platform to turn an NNTP text
stream into something your OS can deal with.

> Yes, the consensus seems to be that "textual" == "binary".

No.  Textual means textual; to most around here it includes an assumption
of line-oriented data.  But what we're talking about is simply "textual"
in NNTP, as opposed to "textual" in *any* operating system.

>> What functionality would you be tossing out by using binary mode for
>> the datastream?  It seems to me that you'd simply be regaining the
>> functionality you lost by switching to DOS in the first place.
> 
> There was no loss switching to DOS.  This software has been
> running perfectly for years.

Only by coincidence.  You never encountered the bug, but it was there.

By the way, we're going to be using UTF-8 for headers in the future.  I
bet your stuff breaks again when we have umlauts and Chinese glyphs in
newsgroup names...

-- 
Jeremy  |  jeremy@exit109.com
Technical Details
Message-ID: <1042145425.659259@ok-corral.gunslinger.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!saloon!newsbastard
References: <BXLR9.432835$pN3.48082@sccrnsc03> <BiqS9.160$wz1.152433@news.uswest.net> <1042007522.340079@ok-corral.gunslinger.net> <vicT9.501088$GR5.217639@rwcrnsc51.ops.asp.att.net>

Show Full Headers
Complete Article Headers
Message-ID: <1042145425.659259@ok-corral.gunslinger.net>
Subject: Re: NNTP and YENC
Date: Thu, 09 Jan 2003 20:50:25 +0000
From: Jeremy <jeremy@exit109.com>
References: <BXLR9.432835$pN3.48082@sccrnsc03> <BiqS9.160$wz1.152433@news.uswest.net> <1042007522.340079@ok-corral.gunslinger.net> <vicT9.501088$GR5.217639@rwcrnsc51.ops.asp.att.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!news-spur1.maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!saloon!newsbastard
Newsgroups: news.software.nntp
Organization: There Is No Organization
Lines: 31
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Newsreader: trn 4.0-test76 (Apr 2, 2001)
X-Meow: Meow