folded x-header altered

Urs Janßen <[email protected]>
Newsgroups gmane.network.tin.user
Message-ID <[email protected]>
[ Original mail bounced due to non member submission ]

> Using tin 1.7.1 here. I have an X-Face: in my ~/.tin/headers file
> and it has been working fine until I changed to a new face a few
> hours ago. With the new one, tin adds a space after a colon in the
> second line (the line starts with a space so tin should recognise
> it as folded, if it proceses the x_headers at all, yes?)

in theory x_headers should be included as is, in practice this isn't
always possible (i.e. ppl. using unecoded 8bit chars in a subject set
via x_headers etc.pp.) - we might fail to defolde and refolde those
headers (if we touch them at all, I didn't check the code). as a
quick fix I'd say: don't use folded headers in x_headers if possible
(as long as there are no 8bit chars in them they must not be
mime-encoded and thus can be 998 octets long).

> and a colon on a line by itself after the last line
> of the header. The old face also had a colon on the second line, but tin
> didn't modify it in any way. For now, I've just put it all on one line (as I
> do in mutt anyway), but compface(3) says 79 chars wide and I'd like to keep
> it that way.
>
> === ~/.tin/headers
> # Add extra header lines to mail/news messages.
> # ie.  Organization: Bits & Bobs Inc.
> 
> X-Editor: Joe 2.9.8 <http://www.sourceforge.net/projects/joe-editor>
> X-Face: %G&<y%SJ96t;St32dG)[WXf#^E:4+S3WA-Q~wwhB?<W[L"^fx<x$+7f:b\--.v[<fzd~H'!
>  \#2Uk>zh,_?*SB~}sHb6h?Ey`/N3\h'Ku23xdY&RV0X&qI:V)t\ISX4C+k/D4G?{%u:hs>xJ!QMyh9
>  #)(qv0YNZ*cOi,J8eq-\xkl('(oGp>5t$;h
> X-GnuPG-Key: http://www.geocities.com/mortarn/misc/bruce.txt
> ===
> 
> === excerpt from .article
> X-Editor: Joe 2.9.8 <http://www.sourceforge.net/projects/joe-editor>
> X-Face: %G&<y%SJ96t;St32dG)[WXf#^E:4+S3WA-Q~wwhB?<W[L"^fx<x$+7f:b\--.v[<fzd~H'!
>  \#2Uk>zh,_?*SB~}sHb6h?Ey`/N3\h'Ku23xdY&RV0X&qI: V)t\ISX4C+k/D4G?{%u:hs>xJ!QMyh9
>  #)(qv0YNZ*cOi,J8eq-\xkl('(oGp>5t$;h
> : 
> X-GnuPG-Key: http://www.geocities.com/mortarn/misc/bruce.txt
> ===
> 
> The old X-Face, which tin had no trouble with, was:
> 
> X-Face: _Rtq6Y3y;|eeK9~cxkr^ao!l+?-EO~Gc#_xL]F.l-azF>0?Z=_Woy$q9FXL`jpW(qaJ/Y^?
>  "V`#?Cbe{Y0'X^93I`7KEr$1fCF8F(c)m+Qx./;3C[~D)p*?}:=0w7}G2cR4%}^ZY;:Om6Jazj{0vb
>  Lq-T2B>~fO#8n`~\ihS-De4f8mtkKRkjG@/=WM:<g_!#4"RFAk%B<}?seiCWja9QJ?@auv)jf=J7hA
>  d.2/TnZgFvwo!;C&E8{'fd'wD>yp#(Gu}8}yH/]Z)lX!U}EnPz(:z2k*'0Qahb7riA/8Tef
> 
> Maybe I'll look into this myself tonight. I don't have time right now.

urs
-- 
"Only whimps use tape backup: _real_ men just upload their important stuff
 on ftp, and let the rest of the world mirror it ;)" - Linus
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.