🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205801

Re: [slrn] Now Finicky About X-Face Headers?

#205801
From: Blinky the Shark
Date: Thu, 13 Sep 2007 18:13
86 lines
4930 bytes
Peter J Ross wrote:
> In news.software.readers on 12 Sep 2007 00:42:42 GMT, Blinky the Shark
><no.spam@box.invalid> wrote:
>
>> Here's a screen cap it this "header fold" warning.  There's something
>> odd about it.
>>
>> http://blinkynet.net/stuff/comp/fold_warning.jpg
>
> Aha!
>
><http://slrn.cvs.sourceforge.net/slrn/slrn/src/mime.c?view=markup>
>
> See lines 1054 to 1069 for the source of your problem.
>
> A very dirty fix, assuming you're compiling from source, might be to

I really thought that once successfully compiled, I'd be done with
compiling.

> edit line 1056
> 	if (pos > 77)
> to include a number long enough to accommodate your X-Face.

I think what I'm going to do is revert to 0.9.8.1.  I trust that will
compile with slang2.

> Your X-Face contains a long string with no white space, and therefore

That's what they're like, yeah.  If there's white space, they break.

> can't be folded.  This could cause problems in transmission if your
> articles pass through old servers that can't handle header lines
> longer than 78 octets. slrn is merely following the standards'
> recommendations by complaining, while still allowing you to force the
> post because the 78-octet limit is unlikely to cause problems nowadays.
>
>> Note that it says it's about line 0 ?
>
> That seems to be a bug in generating the error message. Somebody with
> a better knowledge of C than mine (i.e. *some* knowledge of C) may be
> able to track it to its source.
>
>> That X-Face header is the 11th one as I veiw the headers at the top of
>> this post.
>>
>> (Also, with this post, that header *in my editor* is not wrapping;
>> earlier today when composing a reply I looked up there and it *was*
>> wrapping.  Huh?  Either way, I got the warning.  (And either way, I'm
>> not convinced that "wrap" and "fold" are the same in the context of what
>> slrn is trying to do.  "Wrap" and "fold" certainly mean different things
>> in vim, for instance.)
>
> Folding of headers refers to this sort of thing:
>
> 	Subject: this is an unfolded header
>
> 	Subject: this
> 	 is
> 	 a
> 	 folded
> 	 header
>
> You'll also see a lot of folded headers in email, e.g. the Received:
> header.

Gotcha.  Not that I see that being any different than wrapping on every
bit of white space.

> Headers can be folded manually to achieve formatting effects (though
> slrn doesn't currently seem to support this, and unfolds headers for
> display when sent by other newsreaders), and are usually folded
> automatically if they're long enough to cause problems in
> transmission. See RFCs 822 and 2822 for details, but the magic numbers
> are 78 and 998: folding at 78 octets is recommended, folding at 998
> octets is probably essential if the post is to propagate at all.

So that would be the number for that hack you mentioned -- not that an
X-Face is ever going to be that long.


-- 
Blinky                                                   RLU 297263 
Killing all posts from Google Groups
The Usenet Improvement Project:
http://improve-usenet.org  <----------- New Site Aug 28
Technical Details
Message-ID: <slrnfeivet.b0s.no.spam@thurston.blinkynet.net>
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!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <slrnfebapu.1dc.no.spam@thurston.blinkynet.net> <slrnfebghj.itq.pjr@pjr.gotdns.org> <slrnfebh3h.329.no.spam@thurston.blinkynet.net> <slrnfebhhp.3gb.no.spam@thurston.blinkynet.net> <slrnfebhlk.3i4.no.spam@thurston.blinkynet.net> <slrnfebih6.3oq.no.spam@thurston.blinkynet.net> <mdkjr4xecp.ln2@news.gates-of-hell.com> <slrnfeeak0.u37.no.spam@thurston.blinkynet.net> <slrnfeeb6u.u37.no.spam@thurston.blinkynet.net> <slrnfeedhd.u37.no.spam@thurston.blinkynet.net> <slrnfeiped.f8j.pjr@pjr.gotdns.org>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfeivet.b0s.no.spam@thurston.blinkynet.net>
Subject: Re: [slrn] Now Finicky About X-Face Headers?
Date: Thu, 13 Sep 2007 18:13:09 +0000
From: Blinky the Shark <no.spam@box.invalid>
References: <slrnfebapu.1dc.no.spam@thurston.blinkynet.net> <slrnfebghj.itq.pjr@pjr.gotdns.org> <slrnfebh3h.329.no.spam@thurston.blinkynet.net> <slrnfebhhp.3gb.no.spam@thurston.blinkynet.net> <slrnfebhlk.3i4.no.spam@thurston.blinkynet.net> <slrnfebih6.3oq.no.spam@thurston.blinkynet.net> <mdkjr4xecp.ln2@news.gates-of-hell.com> <slrnfeeak0.u37.no.spam@thurston.blinkynet.net> <slrnfeeb6u.u37.no.spam@thurston.blinkynet.net> <slrnfeedhd.u37.no.spam@thurston.blinkynet.net> <slrnfeiped.f8j.pjr@pjr.gotdns.org>
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!newsfeed00.sul.t-online.de!t-online.de!news-lei1.dfn.de!news1.uni-leipzig.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
Newsgroups: news.software.readers
Organization: http://blinkynet.net
Lines: 86
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
X-Trace: individual.net EMvdVkw5bS52znZu6dlrTQx7l8sbv5aVbLAbhtuLkqL+sz5kj2
Cancel-Lock: sha1:SEccbnJ62bZemL3jEF+9km7QLuM=
X-The-Usenet-Improvement-Project: http://improve-usenet.org
X-Face: Jb-wQ7r&vrN}~8MC5B09S4&.ieh!Q:Di/XN.xrd#CU%;
 )bPa`Hm^(,3o$n(s75[P+$F+Q^4~Owj`WzkBtZU/#gL2BvEBm/e=/1,R0}d@q@)E
X-OS: Mandriva 2006 Linux; kernel 2.6.12
X-WebTV-Stationery: Standard; BGColor=black; TextColor=black
User-Agent: slrn/0.9.8.1pl2.1 (Linux)