Thread View: news.software.readers
12 messages
12 total messages
Started by DC
Thu, 31 Jul 2003 06:41
[slrn] x-faces - escaping special chars
Author: DC
Date: Thu, 31 Jul 2003 06:41
Date: Thu, 31 Jul 2003 06:41
31 lines
2529 bytes
2529 bytes
A bit of slrn x-face weirdness... Here is an exerpt from my .slrnrc
file:
<snippet>
% Custom headers to add to *new* posts
set custom_headers "X-Operating-System: Mandrake Linux 9.1 (Kernel 2.4.21)\nX-Face: 6k$Xf_V^i#2X;X~[=Ra6mGRtOw!^s\%HmaNj1y5a>YCL\"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x\"fqU\\H_Fy5tk8h[Iq/XW~okpDvCa\\E~!fb]{H4j@CxE<vL?4q9cxiK5;ZdpI@,Bk)(\\e67mAw;L}WCZ/NYSX|R6Jj{omL6KT/$"
% Custom headers for followup/reply/supersedes. These can use format
% specifiers as in the 'followup_string' variable.
set followup_custom_headers "X-Operating-System: Mandrake Linux 9.1 (Kernel 2.4.21)\nX-Face: 6k$Xf_V^i#2X;X~[=Ra6mGRtOw!^s%%HmaNj1y5a>YCL\"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x\"fqU\\H_Fy5tk8h[Iq/XW~okpDvCa\\E~!fb]{H4j@CxE<vL?4q9cxiK5;ZdpI@,Bk)(\\e67mAw;L}WCZ/NYSX|R6Jj{omL6KT/$"
</snippet>
Both x-faces are identical.
Note that the lone percent sign (%) in the *new* section is escaped with
a backslash (\) and in the *followup* section, it is escaped with a
percent symbol (%).
I have done this for a reason: because that is the *only* way that I can
get them to work. If I change either of the escape chars (the \ or the
%) to the other, I go from x-faces to x-feces.
Why???
--
DC
Microsoft is not the answer, it is the question. The answer is NO.
Re: [slrn] x-faces - escaping special chars
Author: Blinky the Shark
Date: Thu, 31 Jul 2003 07:09
Date: Thu, 31 Jul 2003 07:09
33 lines
2522 bytes
2522 bytes
DC wrote:
> A bit of slrn x-face weirdness... Here is an exerpt from my .slrnrc
> file:
><snippet>
> % Custom headers to add to *new* posts
> set custom_headers "X-Operating-System: Mandrake Linux 9.1 (Kernel 2.4.21)\nX-Face: 6k$Xf_V^i#2X;X~[=Ra6mGRtOw!^s\%HmaNj1y5a>YCL\"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x\"fqU\\H_Fy5tk8h[Iq/XW~okpDvCa\\E~!fb]{H4j@CxE<vL?4q9cxiK5;ZdpI@,Bk)(\\e67mAw;L}WCZ/NYSX|R6Jj{omL6KT/$"
> % Custom headers for followup/reply/supersedes. These can use format
> % specifiers as in the 'followup_string' variable.
> set followup_custom_headers "X-Operating-System: Mandrake Linux 9.1 (Kernel 2.4.21)\nX-Face: 6k$Xf_V^i#2X;X~[=Ra6mGRtOw!^s%%HmaNj1y5a>YCL\"vEl.Jjbkww,E~kI&f[*w{j:$V6a2:LKbWg@+qt)3x\"fqU\\H_Fy5tk8h[Iq/XW~okpDvCa\\E~!fb]{H4j@CxE<vL?4q9cxiK5;ZdpI@,Bk)(\\e67mAw;L}WCZ/NYSX|R6Jj{omL6KT/$"
></snippet>
> Both x-faces are identical.
> Note that the lone percent sign (%) in the *new* section is escaped with
> a backslash (\) and in the *followup* section, it is escaped with a
> percent symbol (%).
It's been so long since I've done one for slrn, I thought the new posts
header only required the escaping of doublequote symbols. :-/
> I have done this for a reason: because that is the *only* way that I can
> get them to work. If I change either of the escape chars (the \ or the
> %) to the other, I go from x-faces to x-feces.
--
Blinky Linux RU 297263
Spam: The Boulder Pledge http://snurl.com/bpledge
Digest: Best of Internet Oracularities http://snurl.com/dig_oracle
Re: [slrn] x-faces - escaping special chars
Author: Francois Wisard
Date: Thu, 31 Jul 2003 11:24
Date: Thu, 31 Jul 2003 11:24
23 lines
1975 bytes
1975 bytes
On 31 Jul 2003 06:41:31 GMT, DC wrote: > Note that the lone percent sign (%) in the *new* section is escaped > with a backslash (\) and in the *followup* section, it is escaped with > a percent symbol (%). I've experimented with this too (took me quite a big number of tests) and found that you don't need to escape the % in the "new" section, only double quotes and backslahes... > Why??? I'd be interested too to know why. This is really weird. Francois -- "`Eddies,' said Ford, `in the space-time continuum.' `Ah,' nodded Arthur, `is he? Is he?'" - Arthur failing in his first lesson of galactic physics in four years.
Re: [slrn] x-faces - escaping special chars
Author: SINNER
Date: Thu, 31 Jul 2003 12:09
Date: Thu, 31 Jul 2003 12:09
21 lines
2025 bytes
2025 bytes
Blinky the Shark Wrote in news.software.readers, on 31 Jul 2003 07:09:45 GMT: >></snippet> >> Both x-faces are identical. >> Note that the lone percent sign (%) in the *new* section is escaped with >> a backslash (\) and in the *followup* section, it is escaped with a >> percent symbol (%). > It's been so long since I've done one for slrn, I thought the new posts > header only required the escaping of doublequote symbols. :-/ Here is a reminder :) http://tinyurl.com/im0p -- David Men of peace usually are [brave]. -- Spock, "The Savage Curtain", stardate 5906.5
Re: [slrn] x-faces - escaping special chars
Author: Blinky the Shark
Date: Thu, 31 Jul 2003 18:18
Date: Thu, 31 Jul 2003 18:18
25 lines
1910 bytes
1910 bytes
SINNER wrote: > Blinky the Shark Wrote in news.software.readers, on 31 Jul 2003 07:09:45 GMT: >>></snippet> >>> Both x-faces are identical. >>> Note that the lone percent sign (%) in the *new* section is escaped with >>> a backslash (\) and in the *followup* section, it is escaped with a >>> percent symbol (%). >> It's been so long since I've done one for slrn, I thought the new posts >> header only required the escaping of doublequote symbols. :-/ > Here is a reminder :) > http://tinyurl.com/im0p I'm good. But I'm forgetful. ;) -- Blinky Linux RU 297263 Spam: The Boulder Pledge http://snurl.com/bpledge Digest: Best of Internet Oracularities http://snurl.com/dig_oracle
Re: [slrn] x-faces - escaping special chars
Author: Thomas Schultz
Date: Thu, 31 Jul 2003 18:45
Date: Thu, 31 Jul 2003 18:45
23 lines
2158 bytes
2158 bytes
* Francois Wisard [2003-07-31 11:24] : [custom_headers vs. *_custom_headers] > I've experimented with this too (took me quite a big number of tests) > and found that you don't need to escape the % in the "new" section, only > double quotes and backslahes... [...] > I'd be interested too to know why. This is really weird. The reason is that *_custom_headers support % escapes that allow you to include data from the article you are referring to, while custom_headers doesn't have such escapes (because there is no article they could refer to). However, people frequently run into this problem, so I decided to change custom_headers so that percent signs also have to be doubled there - after all, I might want to introduce some % escapes for that variable in a future version of slrn anyway, so this shouldn't hurt. -- Thomas Schultz <tststs@gmx.de> News on slrn: http://slrn.sf.net/news.html .-----------------------------. [2003-07-31] first beta with offline reading | Home of the slrn newsreader | [2002-03-13] slrn 0.9.7.4 is out | http://slrn.sourceforge.net | [2002-02-03] Screenshot page online
Re: [slrn] x-faces - escaping special chars
Author: Francois Wisard
Date: Thu, 31 Jul 2003 22:53
Date: Thu, 31 Jul 2003 22:53
21 lines
2018 bytes
2018 bytes
On Thu, 31 Jul 2003 12:09:04 GMT, SINNER wrote: >> It's been so long since I've done one for slrn, I thought the new >> posts header only required the escaping of doublequote symbols. :-/ > > Here is a reminder :) > > http://tinyurl.com/im0p It lacks something: you also have to escape backslashes in all the headers (custom & followup) if they appear in the X-Face "code" (\ becomes \\) Francois -- Your mouse has moved. Windows NT must be restarted for the change to take effect. Reboot now? [ OK ] -- From a Slashdot.org post
Re: [slrn] x-faces - escaping special chars
Author: DC
Date: Thu, 31 Jul 2003 23:08
Date: Thu, 31 Jul 2003 23:08
29 lines
2383 bytes
2383 bytes
Thomas Schultz wrote: > * Francois Wisard [2003-07-31 11:24] : > [custom_headers vs. *_custom_headers] >> I've experimented with this too (took me quite a big number of tests) >> and found that you don't need to escape the % in the "new" section, only >> double quotes and backslahes... > [...] >> I'd be interested too to know why. This is really weird. > > The reason is that *_custom_headers support % escapes that allow you > to include data from the article you are referring to, while > custom_headers doesn't have such escapes (because there is no article > they could refer to). > > However, people frequently run into this problem, so I decided to > change custom_headers so that percent signs also have to be doubled > there - after all, I might want to introduce some % escapes for that > variable in a future version of slrn anyway, so this shouldn't hurt. Thanks, Thomas, for the explanation. -- DC DC's Custom Xnews Icons http://dcicons.tripod.com Xnews Help Pages http://www.geocities.com/d4vidb Xnews Menu-Reference http://www.seegras.de/xnews
Re: [slrn] x-faces - escaping special chars
Author: DC
Date: Thu, 31 Jul 2003 23:08
Date: Thu, 31 Jul 2003 23:08
29 lines
1944 bytes
1944 bytes
SINNER wrote: > Blinky the Shark Wrote in news.software.readers, on 31 Jul 2003 07:09:45 > GMT: >>></snippet> > >>> Both x-faces are identical. > >>> Note that the lone percent sign (%) in the *new* section is escaped >>> with a backslash (\) and in the *followup* section, it is escaped with >>> a percent symbol (%). > >> It's been so long since I've done one for slrn, I thought the new posts >> header only required the escaping of doublequote symbols. :-/ > > Here is a reminder :) > > http://tinyurl.com/im0p > Well, would ya looky there! Thanks, SINNER (and Blinky). -- DC DC's Custom Xnews Icons http://dcicons.tripod.com Xnews Help Pages http://www.geocities.com/d4vidb Xnews Menu-Reference http://www.seegras.de/xnews
Re: [slrn] x-faces - escaping special chars
Author: DC
Date: Thu, 31 Jul 2003 23:09
Date: Thu, 31 Jul 2003 23:09
33 lines
2126 bytes
2126 bytes
Blinky the Shark wrote: > SINNER wrote: > >> Blinky the Shark Wrote in news.software.readers, on 31 Jul 2003 >> 07:09:45 GMT: >>>></snippet> > >>>> Both x-faces are identical. > >>>> Note that the lone percent sign (%) in the *new* section is escaped >>>> with a backslash (\) and in the *followup* section, it is escaped >>>> with a percent symbol (%). > >>> It's been so long since I've done one for slrn, I thought the new >>> posts header only required the escaping of doublequote symbols. :-/ > >> Here is a reminder :) > >> http://tinyurl.com/im0p > > I'm good. But I'm forgetful. ;) > So, Blinky, where's that fifty bucks you owe me? };O) -- DC DC's Custom Xnews Icons http://dcicons.tripod.com Xnews Help Pages http://www.geocities.com/d4vidb Xnews Menu-Reference http://www.seegras.de/xnews
Re: [slrn] x-faces - escaping special chars
Author: Blinky the Shark
Date: Thu, 31 Jul 2003 23:37
Date: Thu, 31 Jul 2003 23:37
34 lines
2069 bytes
2069 bytes
DC wrote: > Blinky the Shark wrote: >> SINNER wrote: >>> Blinky the Shark Wrote in news.software.readers, on 31 Jul 2003 >>> 07:09:45 GMT: >>>>></snippet> >>>>> Both x-faces are identical. >>>>> Note that the lone percent sign (%) in the *new* section is escaped >>>>> with a backslash (\) and in the *followup* section, it is escaped >>>>> with a percent symbol (%). >>>> It's been so long since I've done one for slrn, I thought the new >>>> posts header only required the escaping of doublequote symbols. :-/ >>> Here is a reminder :) >>> http://tinyurl.com/im0p >> I'm good. But I'm forgetful. ;) > So, Blinky, where's that fifty bucks you owe me? };O) POLICE! DROP THE CRACK PIPE! PUT YOUR HANDS BEHIND YOUR ANTLERS! :) -- Blinky Linux RU 297263 Spam: The Boulder Pledge http://snurl.com/bpledge Digest: Best of Internet Oracularities http://snurl.com/dig_oracle
Re: [slrn] x-faces - escaping special chars
Author: DC
Date: Fri, 01 Aug 2003 04:10
Date: Fri, 01 Aug 2003 04:10
46 lines
2403 bytes
2403 bytes
Blinky the Shark wrote: > DC wrote: > >> Blinky the Shark wrote: > >>> SINNER wrote: > >>>> Blinky the Shark Wrote in news.software.readers, on 31 Jul 2003 >>>> 07:09:45 GMT: >>>>>></snippet> > >>>>>> Both x-faces are identical. > >>>>>> Note that the lone percent sign (%) in the *new* section is escaped >>>>>> with a backslash (\) and in the *followup* section, it is escaped >>>>>> with a percent symbol (%). > >>>>> It's been so long since I've done one for slrn, I thought the new >>>>> posts header only required the escaping of doublequote symbols. :-/ > >>>> Here is a reminder :) > >>>> http://tinyurl.com/im0p > >>> I'm good. But I'm forgetful. ;) > >> So, Blinky, where's that fifty bucks you owe me? };O) > > POLICE! DROP THE CRACK PIPE! PUT YOUR HANDS BEHIND YOUR ANTLERS! :) > Great. Just fscking GREAT! Now they're *stuck*! /grumbles /falls over Ow. -- DC DC's Custom Xnews Icons http://dcicons.tripod.com Xnews Help Pages http://www.geocities.com/d4vidb Xnews Menu-Reference http://www.seegras.de/xnews
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