Article View: news.software.readers
Article #253311Re: SLRN hamdling of control characters
From: Adam H. Kerman
Date: Tue, 22 Jan 2013 15:56
Date: Tue, 22 Jan 2013 15:56
42 lines
3202 bytes
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?
Technical Details
Message-ID:
<kdmcs5$uet$1@news.albasani.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mailReferences:
<50fe9f2a$34$fuzhry+tra$mr2ice@news.patriot.net>Show Full Headers
Complete Article Headers
Message-ID: <kdmcs5$uet$1@news.albasani.net> Subject: Re: SLRN hamdling of control characters Date: Tue, 22 Jan 2013 15:56:53 +0000 From: "Adam H. Kerman" <ahk@chinet.com> References: <50fe9f2a$34$fuzhry+tra$mr2ice@news.patriot.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!border1.nntp.ams.giganews.com!nntp.giganews.com!newsfeed.straub-nv.de!news.albasani.net!.POSTED!not-for-mail Newsgroups: news.software.readers Organization: albasani.net Lines: 42 X-Trace: news.albasani.net 5KclLRdZcIAvIXpgpKu01k5oVo56pWhFQiI9GbHeqGfyg4X+RH7yl0aSxB6G5+qgIALgsmE846AO4FwB3FVTPo2goWj6nVHidtfFm511yp8fJ2xJQH3EAAN7Od1T2DeI NNTP-Posting-Date: Tue, 22 Jan 2013 15:56:53 +0000 (UTC) Injection-Info: news.albasani.net; logging-data="+Ftrzdr5QOnlSz2Ib4JgmUFXl7n20b/5I5ec8WQdyoPZ5CzJHVinQN5QTrjwG6n6JMlaNAWa+NSJ2MHjiyD7AuxG4tQch37uDblTTHiCfaQJZlvn6veQ7tDOrqyA+67C"; mail-complaints-to="abuse@albasani.net" X-Newsreader: trn 4.0-test76 (Apr 2, 2001) Cancel-Lock: sha1:GAAwrq4Rsn8NSJlVs4tQHsoVicI=