Thread View: news.software.readers
5 messages
5 total messages
Started by Luu Tran
Tue, 19 Oct 1999 00:00
Re: [XNews] folded header lines
Author: Luu Tran
Date: Tue, 19 Oct 1999 00:00
Date: Tue, 19 Oct 1999 00:00
49 lines
1786 bytes
1786 bytes
cbiedl@gmx.de (Christoph Biedl) wrote in
<h90FOMmLCl9GeUrGiu1cIPdYXHu2@577.user.cis.dfn.de>:
>When displaying the header, XNews 2.09.03 merges all the lines back into
>one - and forgets to insert a space. Therefore the example above will be
>shown as
>|X-Test: foobar
>Has this already been corrected?
>
Hmm, I misread the RFC, though it is a bit confusing. Quoting 822:
<<
Unfolding is accomplished by
regarding CRLF immediately followed by a LWSP-char as
equivalent to the LWSP-char.
>>
So yes, it seems I do need to put a space (or hTAB?) there.
Now a question: should all leading spaces be unfolded into a single
space? The examples seem to say so, but it's hard to tell:
<<
To: "Joe & J. Harvey" <ddd @Org>, JJV @ BBN
can be represented as:
To: "Joe & J. Harvey" <ddd @ Org>,
JJV@BBN
and
To: "Joe & J. Harvey"
<ddd@ Org>, JJV
@BBN
and
To: "Joe &
J. Harvey" <ddd @ Org>, JJV @ BBN
>>
--
luu
author of Xnews - http://xnews.3Dnews.net
Re: [XNews] folded header lines
Author: J. Moreno
Date: Tue, 19 Oct 1999 00:00
Date: Tue, 19 Oct 1999 00:00
38 lines
2117 bytes
2117 bytes
Luu Tran <luutran@geocities_.com.invalid> wrote: > cbiedl@gmx.de (Christoph Biedl) wrote in > <h90FOMmLCl9GeUrGiu1cIPdYXHu2@577.user.cis.dfn.de>: > > >When displaying the header, XNews 2.09.03 merges all the lines back into > >one - and forgets to insert a space. Therefore the example above will be > >shown as > >|X-Test: foobar > >Has this already been corrected? > > > > > Hmm, I misread the RFC, though it is a bit confusing. Quoting 822: > > << > Unfolding is accomplished by > regarding CRLF immediately followed by a LWSP-char as > equivalent to the LWSP-char. > >> > > So yes, it seems I do need to put a space (or hTAB?) there. > > Now a question: should all leading spaces be unfolded into a single > space? The examples seem to say so, but it's hard to tell: The current rules for folding is that you ADD a CRLF BEFORE the LWSP and that to "unfold" you REMOVE the CRLF -- no more and no less. But it has in the past been somewhat common to "fold" in an aesthetically good way. But I'd suggest just doing what the current rules say, not what has been done in the past -- the old way has a problem of how to maintain multiple spaces. -- John Moreno
Re: [XNews] folded header lines
Author: Adam Bailey
Date: Wed, 20 Oct 1999 00:00
Date: Wed, 20 Oct 1999 00:00
35 lines
1731 bytes
1731 bytes
In message <8E64E7B02luutrangeocities@209.86.203.110>, Luu Tran <luutran@geocities_.com.invalid> wrote: > planb@newsreaders.com (J. Moreno) wrote in > <1dzxb4e.k83ya3hfgxgoN%planb@newsreaders.com>: > >> The current rules for folding is that you ADD a CRLF BEFORE the LWSP and >> that to "unfold" you REMOVE the CRLF -- no more and no less. >> > > This is what I'm doing now, I think > > X-Test: foo > bar > > becomes X-Test: foobar > > X-Test: foo > bar > > becomes X-Test: foo bar > > Is this correct? Unless I'm missing something, yes. I haven't had a chance to check out the "affected" articles in Xnews, tho, so I don't know what the original poster was complaining about. -- Adam Bailey | Chicago, Illinois adamb@lull.org | Finger/Web for PGP adamkb@aol.com | http://www.lull.org/adam/
Re: [XNews] folded header lines
Author: J. Moreno
Date: Wed, 20 Oct 1999 00:00
Date: Wed, 20 Oct 1999 00:00
31 lines
1553 bytes
1553 bytes
Luu Tran <luutran@geocities_.com.invalid> wrote: > planb@newsreaders.com (J. Moreno) wrote in > > >The current rules for folding is that you ADD a CRLF BEFORE the LWSP and > >that to "unfold" you REMOVE the CRLF -- no more and no less. > > > > This is what I'm doing now, I think > > X-Test: foo > bar > > becomes X-Test: foobar > > X-Test: foo > bar > > becomes X-Test: foo bar > > Is this correct? Nope, the first one should be X-Test: foo bar and the second X-Test: foo bar You never remove or add a space, just the CRLF. -- John Moreno
Re: [XNews] folded header lines
Author: Luu Tran
Date: Wed, 20 Oct 1999 00:00
Date: Wed, 20 Oct 1999 00:00
27 lines
1141 bytes
1141 bytes
planb@newsreaders.com (J. Moreno) wrote in <1dzxb4e.k83ya3hfgxgoN%planb@newsreaders.com>: >The current rules for folding is that you ADD a CRLF BEFORE the LWSP and >that to "unfold" you REMOVE the CRLF -- no more and no less. > This is what I'm doing now, I think X-Test: foo bar becomes X-Test: foobar X-Test: foo bar becomes X-Test: foo bar Is this correct? -- luu author of Xnews - http://xnews.3Dnews.net
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads