🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.nntp
Article #74151

Re: Checkgroups control articles

#74151
From: Iulius
Date: Wed, 30 Aug 2006 07:24
21 lines
2134 bytes
En réponse à Russ Allbery :
>> By the way, is there a possibility for « controlchan » to correctly
>> handle articles in wireformat?
> 
> It's a possibility if someone patches the code to do it.  It requires a
> bit of logic in parse_article to figure out what the line ending is and
> then do the appropriate thing.  I think that dot escaping doesn't matter,
> since it's not a valid newsgroup.

     while (<$artfh>) {
         #chop;
         s/\r?\n$//;
         last if /^$/;
[...]

works great.

-- 
Iulius

« Nam et ipsa scientia potestas est. » (Francis Bacon)
Technical Details
Message-ID: <ed3eel$17t$1@guepard.ecp.fr>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail
References: <ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu> <ecrmfj$k8g$1@guepard.ecp.fr> <87lkpanldl.fsf@windlord.stanford.edu> <ecsom4$uh6$1@guepard.ecp.fr> <87odu6m2s1.fsf@windlord.stanford.edu> <ecurq4$jir$1@guepard.ecp.fr> <87odu41zz1.fsf@windlord.stanford.edu> <ed0vip$8f3$1@guepard.ecp.fr> <87u03vb1ot.fsf@windlord.stanford.edu>

Show Full Headers
Complete Article Headers
Message-ID: <ed3eel$17t$1@guepard.ecp.fr>
Subject: Re: Checkgroups control articles
Date: Wed, 30 Aug 2006 09:24:06 +0200
From: Iulius <iulius@nom-de-mon-site.com.invalid>
References: <ebsvjo$u37$1@guepard.ecp.fr> <87psentg8t.fsf@windlord.stanford.edu> <ecrmfj$k8g$1@guepard.ecp.fr> <87lkpanldl.fsf@windlord.stanford.edu> <ecsom4$uh6$1@guepard.ecp.fr> <87odu6m2s1.fsf@windlord.stanford.edu> <ecurq4$jir$1@guepard.ecp.fr> <87odu41zz1.fsf@windlord.stanford.edu> <ed0vip$8f3$1@guepard.ecp.fr> <87u03vb1ot.fsf@windlord.stanford.edu>
Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!mbox2nntp-news.software.nntp.20141118.mbox.gz!number1.nntp.dca.giganews.com!border1.nntp.dca.giganews.com!nntp.giganews.com!newsfeed00.sul.t-online.de!t-online.de!130.59.10.21.MISMATCH!kanaga.switch.ch!switch.ch!news.in2p3.fr!in2p3.fr!news.ecp.fr!not-for-mail
Newsgroups: news.software.nntp
Organization: Gens Iulia -- http://www.trigofacile.com/
Lines: 21
NNTP-Posting-Host: amontpellier-157-1-89-44.w86-197.abo.wanadoo.fr
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-15; format=flowed
Content-Transfer-Encoding: 8bit
X-Trace: guepard.ecp.fr 1156922645 1277 86.197.0.44 (30 Aug 2006 07:24:05 GMT)
X-Complaints-To: ingesys@cti.ecp.fr
NNTP-Posting-Date: Wed, 30 Aug 2006 07:24:05 +0000 (UTC)
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr;
In-Reply-To: <87u03vb1ot.fsf@windlord.stanford.edu>