🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
9 messages
9 total messages Started by Shmuel Metz Tue, 22 Jan 2013 14:16
SLRN hamdling of control characters
#253308
Author: Shmuel Metz
Date: Tue, 22 Jan 2013 14:16
14 lines
2061 bytes
There appears to be a bug in slrn whereby it treats SO in a From
header field as syntactically significant, and ignores everything
until the next SI. Are there other control characters so treated.

FWIW, RFC 5322 allows SO, but designates it as obsolete syntax.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: SLRN hamdling of control characters
#253311
Author: Adam H. Kerman
Date: Tue, 22 Jan 2013 15:56
42 lines
3202 bytes
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:

>There appears to be a bug in slrn whereby it treats SO in a From
>header field as syntactically significant, and ignores everything
>until the next SI. Are there other control characters so treated.

>FWIW, RFC 5322 allows SO, but designates it as obsolete syntax.

Dear gawd, why would it have ever been allowed on From? Was there some
thought that this would be the way non-ASCII characters would have
been indicated decades ago, which we're not doing today?

Takes me back to ye olde Compugraphic phototypesetting terminal, when I worked
for two weekly newspapers as a reporter/photographer/editor/typesetter/guy
who once brought a bundle of papers to a retail store. SHIFT OUT would
begin a code sequence to change to another font or point size, which would
be terminated by SHIFT IN, although it was called "supershift".

RFC 5322 doesn't allow SHIFT OUT-SHIFT IN sequences. In English, Shmuel,
"discouraged" is not synonymous with "allowed". It states,

	3.5.  Overall Message Syntax

		A message consists of header fields, optionally
		followed by a message body.  Lines in a message MUST
		be a maximum of 998 characters excluding the CRLF,
		but it is RECOMMENDED that lines be limited to 78
		characters excluding the CRLF.  (See section 2.1.1
		for explanation.)  In a message body, though all of
		the characters listed in the text rule MAY be used,
		the use of US-ASCII control characters (values 1
		through 8, 11, 12, and 14 through 31) is discouraged
		since their interpretation by receivers for display
		is not guaranteed.

Is it ignoring the characters beginning and ending with SO-SI, or is it
attempting to pass it along to a bit of program code, which is exactly
what it's supposed to do?

Perhaps it's up to the user to write the program code that interprets
the sequence bounded by SHIFT OUT-SHIFT IN. What code interpreter have
you written and what you are trying to do?
Re: SLRN hamdling of control characters
#253309
Author: Shmuel Metz
Date: Tue, 22 Jan 2013 23:22
24 lines
2547 bytes
In <kdmcs5$uet$1@news.albasani.net>, on 01/22/2013
   at 03:56 PM, "Adam H. Kerman" <ahk@chinet.com> said:

>In English, Shmuel, "discouraged" is not synonymous with "allowed".

Nor is it synonymous with prohibited. However, in English, listing it
as one of the permitted characters in the ABNF does imply permitted.
RTFRFC.

>Is it ignoring the characters beginning and ending with SO-SI, or is
>it attempting to pass it along to a bit of program code, which is
>exactly what it's supposed to do?

It is producing an error message for a missing ">" that is actually
present.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: SLRN hamdling of control characters
#253312
Author: Adam H. Kerman
Date: Wed, 23 Jan 2013 00:10
55 lines
3609 bytes
Shmuel (Seymour J.) Metz  <spamtrap@library.lspace.org.invalid> wrote:
>on 01/22/2013 at 03:56 PM, "Adam H. Kerman" <ahk@chinet.com> said:

>>In English, Shmuel, "discouraged" is not synonymous with "allowed".

>Nor is it synonymous with prohibited.

Nor is it synonymous with green.

>However, in English, listing it as one of the permitted characters in
>the ABNF does imply permitted.

Nice backpedal, Shmuel.

>RTFRFC.

>>Is it ignoring the characters beginning and ending with SO-SI, or is
>>it attempting to pass it along to a bit of program code, which is
>>exactly what it's supposed to do?

>It is producing an error message for a missing ">" that is actually
>present.

Please don't give us an exact copy of the data in question so you can
get a specific answer to your question or anything.

Did you read the typesetter description I gave you? The code sequence was
bounded by SHIFT OUT-SHIFT IN. It was in line with the text to be acted
upon. It wasn't on a line by itself and it wasn't bounded by spaces in
addition to SHIFT OUT-SHIFT IN. The typesetter understood that the code
after SHIFT OUT were not to be interpreted together with the code it
interpreted as text characters before SHIFT OUT and that it was not to
resume interpreting code as text characters until after SHIFT IN.

You're wrong. ">" was missing.

What were you trying to do:

From: <nobody@example.comSHIFTOUT>SHIFTIN

The ">" isn't ">". It's a sequence that may be code to be interpreted
by some program, or code to be interpreted as text from a non-ASCII
character set. SHIFTOUT-SHIFTIN had been used to bound various types of
code, but it has to be meaningful to the program that processes it.

>From what you've implied, you want SHIFTOUT-SHIFTIN to be ignored as code
boundaries and the codes within treated as ASCII text, which is not what the
RFC says. Instead, the client isn't ignoring it at all but treating it
as some string of code that's not a string of text.

The client is behaving as expected.

Now, why someone would insist on putting a string of code to be
interpreted by a line of programming within an email address on From
is another matter.
Re: SLRN hamdling of control characters
#253315
Author: Shmuel Metz
Date: Wed, 23 Jan 2013 14:37
87 lines
4803 bytes
In <kdn9p0$a3b$1@news.albasani.net>, on 01/23/2013
   at 12:10 AM, "Adam H. Kerman" <ahk@chinet.com> said:

>Shmuel (Seymour J.) Metz  <spamtrap@library.lspace.org.invalid>
>wrote: >on 01/22/2013 at 03:56 PM, "Adam H. Kerman" <ahk@chinet.com>
>said:

>>>In English, Shmuel, "discouraged" is not synonymous with "allowed".

>>Nor is it synonymous with prohibited.

>Nor is it synonymous with green.

What's your point, other than your head? How was the text that you
quoted relevant?

>Nice backpedal, Shmuel.

There was no backpedal; it was ridicule. 

>Please don't give us an exact copy of the data in question so you
>can get a specific answer to your question or anything.

The specific data in question would throw no light on my question,
which was *not* why those data were handled incorrectly. My question
was whether there were *other* control characters with similar issues.

>Did you read the typesetter description I gave you?

Yes; I alaso read King Lear; they had the same degree of televance to
the issue. The treatment of SO by a typesetter has no relevance to the
syntax described by RFC 5322.

4.  Obsolete Syntax

   Earlier versions of this specification allowed for different
   (usually more liberal) syntax than is allowed in this version.
   Also, there have been syntactic elements used in messages on the
   Internet whose interpretations have never been documented.
   Though these syntactic forms MUST NOT be generated according to
   the grammar in section 3, they MUST be accepted and parsed by a
   conformant receiver.  This section documents many of these
   syntactic elements.

And, yes, this does mean that the sending client is also noncompliant.

>The typesetter

I'm not concerned with how a typesetter handles a SO, I'm concerned
with how slrn parses header lines.

>You're wrong. ">" was missing.

Liar.

>The ">" isn't ">".

ROTF,LMAO! RFC 5322 gives the syntax in terms of octets; '3E'x is
'3E'x, regardless of framing characters.

>From what you've implied, you want SHIFTOUT-SHIFTIN to be ignored as
>code boundaries and the codes within treated as ASCII text, which is
>not what the RFC says.

Liar.

  obs-NO-WS-CTL   =   %d1-8 /            ; US-ASCII control
                      %d11 /             ;  characters that do not
                      %d12 /             ;  include the carriage
                      %d14-31 /          ;  return, line feed, and
                      %d127              ;  white space characters

>Now, why someone would insist on putting a string of code to be
>interpreted by a line of programming within an email address on 
>From

They weren't; they were sending a string of octets that were no longer
valid but that the receiver was still required to parse correctly.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: SLRN hamdling of control characters
#253313
Author: Adam H. Kerman
Date: Thu, 24 Jan 2013 05:06
100 lines
5518 bytes
Shmuel (Seymour J.) Metz  <spamtrap@library.lspace.org.invalid> wrote:
>on 01/23/2013 at 12:10 AM, "Adam H. Kerman" <ahk@chinet.com> said:
>>Shmuel (Seymour J.) Metz  <spamtrap@library.lspace.org.invalid> wrote:
>>>on 01/22/2013 at 03:56 PM, "Adam H. Kerman" <ahk@chinet.com> said:

>>>>In English, Shmuel, "discouraged" is not synonymous with "allowed".

>>>Nor is it synonymous with prohibited.

>>Nor is it synonymous with green.

>What's your point, other than your head? How was the text that you
>quoted relevant?

The point must have been made too subtly. You misinterpreted the RFC,
Shmuel. You claimed use of the control characters in question was allowed,
when in truth, it's use was discouraged.

>>Nice backpedal, Shmuel.

>There was no backpedal; it was ridicule. 

Whatever you like to believe, Shmuel.

>>Please don't give us an exact copy of the data in question so you
>>can get a specific answer to your question or anything.

>The specific data in question would throw no light on my question,
>which was *not* why those data were handled incorrectly. My question
>was whether there were *other* control characters with similar issues.

It would clarify that the ">" was bounded by SHIFT OUT-SHIFT IN.

You're incorrect, Shmuel. I explained the purpose of SHIFT OUT-SHIFT IN.
It's to bound a sequence of code that is NOT to be interpreted with
text before and after the bounded sequence. The code may be meaningful
to the program, or it may be character codes from another code set.
I've explained this now three times. You still fail to understand that the
client didn't handle SHIFT OUT-SHIFT IN incorrectly by not interpreting it
together with text before or after the bounded code sequence.

Do you understand yet that the ">" wasn't there given that it was
bounded by SHIFT OUT-SHIFT IN?

>>Did you read the typesetter description I gave you?

>Yes; I alaso read King Lear; they had the same degree of televance to
>the issue. The treatment of SO by a typesetter has no relevance to the
>syntax described by RFC 5322.

Control characters have a specific purpose, whether you wish to acknowledge
it or choose to remain ignorant.

>4.  Obsolete Syntax

It's not obsolete syntax, given that it wouldn't have been defined to have
some universal function, perhaps not even in teletypewriter days. It's
meaningful to certain programs.

>And, yes, this does mean that the sending client is also noncompliant.

You failed to quote the standard in which the use of the sequence is
nonstandard, because you still fail to comprehend the purpose.

>>You're wrong. ">" was missing.

>Liar.

>>The ">" isn't ">".

>ROTF,LMAO! RFC 5322 gives the syntax in terms of octets; '3E'x is
>'3E'x, regardless of framing characters.

>>From what you've implied, you want SHIFTOUT-SHIFTIN to be ignored as
>>code boundaries and the codes within treated as ASCII text, which is
>>not what the RFC says.

>Liar.

>  obs-NO-WS-CTL   =   %d1-8 /            ; US-ASCII control
>                      %d11 /             ;  characters that do not
>                      %d12 /             ;  include the carriage
>                      %d14-31 /          ;  return, line feed, and
>                      %d127              ;  white space characters

Apparently you see in that standard, Ignore any received obsolete control
character and treat the rest of the code sequence as if it's not present.

I see a man desperately in need of psychiatric help.

>>Now, why someone would insist on putting a string of code to be
>>interpreted by a line of programming within an email address on 
>>From

>They weren't; they were sending a string of octets that were no longer
>valid but that the receiver was still required to parse correctly.

I cannot accept your statement as factual as you continue to refuse to
post the exact code sequence so I can see what's going on myself. Until
you do, I'll assume you've made a complete hash of describing it.
Re: SLRN hamdling of control characters
#253316
Author: Shmuel Metz
Date: Thu, 24 Jan 2013 22:41
61 lines
3730 bytes
In <kdqfhf$uhj$1@news.albasani.net>, on 01/24/2013
   at 05:06 AM, "Adam H. Kerman" <ahk@chinet.com> said:

>The point must have been made too subtly.

Not subrle, but boneheaded.

>You misinterpreted the RFC,

Well, somebody did.

>You claimed use of the control characters in question was allowed,

Liar.

>when in truth, it's use was discouraged.

The question related to parsing, not to generation. The RFC makes
correct handling of obsolete syntax mandatory.

>It would clarify that the ">" was bounded by SHIFT OUT-SHIFT IN.

That has no relevance to the syntax defined by RFC 5322.

>Do you understand yet that the ">" wasn't there given that it was
>bounded by SHIFT OUT-SHIFT IN?

I understand that you're in ignorant troll with delusions of adequacy.

>Control characters have a specific purpose,

Purpose is context dependent. The context is RFC 5322.

>It's not obsolete syntax,

Take that up with P. Resnick et al; that text was a paragraph header
from RFC 5322, and the authors might know a bit more on the subject
than you do.

>Apparently you see in that standard, Ignore any received obsolete
>control character and treat the rest of the code sequence as if it's
>not present.

Liar.

>I see a man desperately in need of psychiatric help.

In the mirror.

>I cannot accept your statement as factual

I cannot cure your invincible ignorance.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
Re: SLRN hamdling of control characters
#253317
Author: Adam H. Kerman
Date: Fri, 25 Jan 2013 03:51
9 lines
1663 bytes
Shmuel (Seymour J.) Metz <spamtrap@library.lspace.org.invalid> wrote:
>on 01/24/2013 at 05:06 AM, "Adam H. Kerman" <ahk@chinet.com> said:

>>The point must have been made too subtly.

>Not subrle, but boneheaded.

I guess I should be flattered that you make up your own words when you
repeat ad hominems.
Re: SLRN hamdling of control characters
#253318
Author: Shmuel Metz
Date: Fri, 25 Jan 2013 16:48
20 lines
2668 bytes
In <kdsvf5$i64$1@news.albasani.net>, on 01/25/2013
   at 03:51 AM, "Adam H. Kerman" <ahk@chinet.com> said:

>I guess I should be flattered

Calling you a moron would be flattering; even a moron would understand
what a typo is.

>ad hominems

Hypocrite.

-- 
Shmuel (Seymour J.) Metz, SysProg and JOAT  <http://patriot.net/~shmuel>

Unsolicited bulk E-mail subject to legal action.  I reserve the
right to publicly post or ridicule any abusive E-mail.  Reply to
domain Patriot dot net user shmuel+news to contact me.  Do not
reply to spamtrap@library.lspace.org
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