🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: news.software.readers
Article #205796

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

#205796
From: Peter J Ross
Date: Thu, 13 Sep 2007 16:31
66 lines
3915 bytes
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
edit line 1056
	if (pos > 77)
to include a number long enough to accommodate your X-Face.

Your X-Face contains a long string with no white space, and therefore
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.

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.


-- 
PJR :-)
Technical Details
Message-ID: <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!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!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>

Show Full Headers
Complete Article Headers
Message-ID: <slrnfeiped.f8j.pjr@pjr.gotdns.org>
Subject: Re: [slrn] Now Finicky About X-Face Headers?
Date: Thu, 13 Sep 2007 16:31:10 +0000
From: Peter J Ross <pjr@example.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>
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!border2.nntp.dca.giganews.com!nntp.giganews.com!green.octanews.net!news-out.octanews.net!indigo.octanews.net!authen.yellow.readfreenews.net.POSTED!not-for-mail
Newsgroups: news.software.readers
Organization: none
Reply-To: pjr.spam@gmail.com
User-Agent: slrn/0.9.8.1pl2.1 (Linux)
Mime-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Lines: 66
NNTP-Posting-Date: 13 Sep 2007 11:31:10 CDT
X-Trace: DXC=V7MTIi`eB; ^Jc90G7]UbFU]AGWjF5PjPY465Ue@WB_5_cWbe^kfF;
 WT26Z<EbT:a\UlV3mi\haFgX[\J[m5T^07U?J<D70:FJJS
X-Original-Bytes: 3668