Thread View: news.software.readers
20 messages
20 total messages
Started by notbob
Thu, 28 Mar 2013 10:50
[slrn] multiple slrn sessions
Author: notbob
Date: Thu, 28 Mar 2013 10:50
Date: Thu, 28 Mar 2013 10:50
5 lines
1082 bytes
1082 bytes
I occasionally have need to open more than one session of slrn per user, but slrn creates a lock file to prevent this. Is there a way around this to open more than one session of usenet? nb
Re: [slrn] multiple slrn sessions
Author: Ivan Shmakov
Date: Thu, 28 Mar 2013 15:16
Date: Thu, 28 Mar 2013 15:16
27 lines
1930 bytes
1930 bytes
>>>>> notbob <notbob@nothome.com> writes: > I occasionally have need to open more than one session of slrn per > user, Which makes me wonder, what for? > but slrn creates a lock file to prevent this. Is there a way around > this to open more than one session of usenet? I guess there is. E. g. (assuming POSIX-enough environment): $ mkdir -- ~/1-more-slrn $ slrn ; # start "ordinary" SLRN session $ HOME=~/1-more-slrn slrn ; # start "additional" SLRN session This will make the sessions largely independent (each one will have its own subscriptions, newsserver settings, lists of messages read, etc.), which may or may not be desired. It may be necessary to copy whatever SLRN configuration there's below ~/ into ~/1-more-slrn/, too. -- FSF associate member #7257
Re: [slrn] multiple slrn sessions
Author: John F. Morse
Date: Thu, 28 Mar 2013 16:16
Date: Thu, 28 Mar 2013 16:16
22 lines
1972 bytes
1972 bytes
On 03/28/2013 10:16 AM, Ivan Shmakov wrote: > > I occasionally have need to open more than one session of slrn per > > user, > > Which makes me wonder, what for? Don't know what his reason might be, but I'll give you one that fits my needs: Maintenance of several Usenet servers. I often need to trace the Path using accounts I have on several NSPs to see why some article failed to propagate. -- John When a person has -- whether they knew it or not -- already rejected the Truth, by what means do they discern a lie?
Re: [slrn] multiple slrn sessions
Author: Whiskers
Date: Fri, 29 Mar 2013 01:00
Date: Fri, 29 Mar 2013 01:00
45 lines
2795 bytes
2795 bytes
On 2013-03-28, John F. Morse <john@example.invalid> wrote: > On 03/28/2013 10:16 AM, Ivan Shmakov wrote: > >> > I occasionally have need to open more than one session of slrn per >> > user, >> >> Which makes me wonder, what for? > > > Don't know what his reason might be, but I'll give you one that fits my needs: > > Maintenance of several Usenet servers. > > I often need to trace the Path using accounts I have on several NSPs to see > why some article failed to propagate. You can have a different newsrc file for each of as many slrn instances as you want. They don't have to be with different news-servers - you could even script automatic creation of a duplicate of the 'main' newsrc each time you want a duplicate session. See man slrn and the slrn manual. If you have a local news spool, and merely want to read a particular article, you can use text tools to do so - or telnet into (eg) Leafnode. (Telnet also works with upstream news-servers of course). Lynx is quite good at reading individual articles, but not so good for following threads or posting. Eg: ]$ telnet localhost nntp Trying ::1... Connected to localhost. Escape character is '^]'. 200 Leafnode NNTP daemon, version 2.0.0.alpha20110806a at tavy.mobile.private ARTICLE <slrnkl884t.2no.notbob@nbleet.hcc.net> 220 0 <slrnkl884t.2no.notbob@nbleet.hcc.net> article retrieved - text follows [...] -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: [slrn] multiple slrn sessions
Author: greymausg
Date: Fri, 29 Mar 2013 19:38
Date: Fri, 29 Mar 2013 19:38
54 lines
2837 bytes
2837 bytes
On 2013-03-29, Whiskers <catwheezel@operamail.com> wrote: > On 2013-03-28, John F. Morse <john@example.invalid> wrote: >> On 03/28/2013 10:16 AM, Ivan Shmakov wrote: >> >>> > I occasionally have need to open more than one session of slrn per >>> > user, >>> >>> Which makes me wonder, what for? >> >> >> Don't know what his reason might be, but I'll give you one that fits my needs: >> >> Maintenance of several Usenet servers. >> >> I often need to trace the Path using accounts I have on several NSPs to see >> why some article failed to propagate. > > You can have a different newsrc file for each of as many slrn instances as > you want. They don't have to be with different news-servers - you could > even script automatic creation of a duplicate of the 'main' newsrc each > time you want a duplicate session. See man slrn and the slrn manual. > > If you have a local news spool, and merely want to read a particular > article, you can use text tools to do so - or telnet into (eg) Leafnode. > (Telnet also works with upstream news-servers of course). Lynx is quite > good at reading individual articles, but not so good for following threads > or posting. > > Eg: > > ]$ telnet localhost nntp > Trying ::1... > Connected to localhost. > Escape character is '^]'. > 200 Leafnode NNTP daemon, version 2.0.0.alpha20110806a at > tavy.mobile.private > ARTICLE <slrnkl884t.2no.notbob@nbleet.hcc.net> > 220 0 <slrnkl884t.2no.notbob@nbleet.hcc.net> article retrieved - text > follows > > [...] > Patient: "Doctor, when I do this (involved gymnastc manouver), I get a stabbing pain" Doctor: "Well, stop doing that!" -- maus . . ...
telnet(1)-ing non-Telnet servers?
Author: Ivan Shmakov
Date: Wed, 03 Apr 2013 11:18
Date: Wed, 03 Apr 2013 11:18
35 lines
2465 bytes
2465 bytes
>>>>> Whiskers <catwheezel@operamail.com> writes: [Cross-posting to news:comp.protocols.tcp-ip.] [...] > If you have a local news spool, and merely want to read a particular > article, you can use text tools to do so - or telnet into (eg) > Leafnode. (Telnet also works with upstream news-servers of course). > Lynx is quite good at reading individual articles, but not so good > for following threads or posting. Alas, even with --source, Lynx (as of 2.8.8dev.5 debian 1) appears to garble the articles somewhat. > Eg: > ]$ telnet localhost nntp Won't telnet(1) go nuts should the article being fetched happen to contain an \xFF octet? FWIW, I'd advocate for using nc(1) (AKA Netcat) here instead. (Why, some of my hosts have no telnet(1) client installed at all.) > Trying ::1... > Connected to localhost. > Escape character is '^]'. > 200 Leafnode NNTP daemon, version 2.0.0.alpha20110806a at tavy.mobile.private > ARTICLE <slrnkl884t.2no.notbob@nbleet.hcc.net> > 220 0 <slrnkl884t.2no.notbob@nbleet.hcc.net> article retrieved - text follows [...] -- FSF associate member #7257 np. Face in the Sand -- Iron Maiden
Re: [slrn] multiple slrn sessions
Author: Ivan Shmakov
Date: Wed, 03 Apr 2013 11:23
Date: Wed, 03 Apr 2013 11:23
25 lines
2014 bytes
2014 bytes
>>>>> John F Morse <john@example.invalid> writes: >>>>> On 03/28/2013 10:16 AM, Ivan Shmakov wrote: >>> I occasionally have need to open more than one session of slrn per >>> user, >> Which makes me wonder, what for? > Don't know what his reason might be, but I'll give you one that fits > my needs: > Maintenance of several Usenet servers. > I often need to trace the Path using accounts I have on several NSPs > to see why some article failed to propagate. Without an intent to start a flame war, I'd like to note that Gnus allows one to work with multiple NNTP (and not only NNTP) servers within a single session. (The feature I occasionally use to post via Eternal September, instead of Aioe the majority of my postings are injected via.) -- FSF associate member #7257 np. Age of Innocence -- Iron Maiden
Re: telnet(1)-ing non-Telnet servers?
Author: Barry Margolin
Date: Wed, 03 Apr 2013 14:16
Date: Wed, 03 Apr 2013 14:16
37 lines
2721 bytes
2721 bytes
In article <8738v7zwu4.fsf_-_@violet.siamics.net>, Ivan Shmakov <oneingray@gmail.com> wrote: > >>>>> Whiskers <catwheezel@operamail.com> writes: > > [Cross-posting to news:comp.protocols.tcp-ip.] > > [...] > > > If you have a local news spool, and merely want to read a particular > > article, you can use text tools to do so - or telnet into (eg) > > Leafnode. (Telnet also works with upstream news-servers of course). > > Lynx is quite good at reading individual articles, but not so good > > for following threads or posting. > > Alas, even with --source, Lynx (as of 2.8.8dev.5 debian 1) > appears to garble the articles somewhat. > > > Eg: > > > ]$ telnet localhost nntp > > Won't telnet(1) go nuts should the article being fetched happen > to contain an \xFF octet? FWIW, I'd advocate for using nc(1) > (AKA Netcat) here instead. (Why, some of my hosts have no > telnet(1) client installed at all.) NNTP is a text protocol, binaries are sent encoded in ASCII (either bas64 or uuencoded, I think). There shouldn't be any \xFF octets. Also, when telnet connects to a non-default port, it doesn't try to negotiate TELNET options. Does it still react to them if it receives them? -- Barry Margolin Arlington, MA
Re: telnet(1)-ing non-Telnet servers?
Author: Ivan Shmakov
Date: Wed, 03 Apr 2013 14:56
Date: Wed, 03 Apr 2013 14:56
59 lines
3656 bytes
3656 bytes
>>>>> Barry Margolin <barmar@alum.mit.edu> writes: >>>>> Ivan Shmakov <oneingray@gmail.com> wrote: >>>>> Whiskers <catwheezel@operamail.com> writes: [...] >>> ]$ telnet localhost nntp >> Won't telnet(1) go nuts should the article being fetched happen to >> contain an \xFF octet? FWIW, I'd advocate for using nc(1) (AKA >> Netcat) here instead. (Why, some of my hosts have no telnet(1) >> client installed at all.) > NNTP is a text protocol, binaries are sent encoded in ASCII (either > base64 There also is the case of non-ASCII (as in: UTF-8) plain text. Which may be either encoded in 7-bit (either quoted-printable or Base64), or left "unencoded" 8-bit. My understanding is that the major NNTP implementations of today allow for 8-bit-clean transfer (with the obvious exception for \x00, \x0A, \x0D), and RFC 5537 seem to prohibit an NNTP transport from munging the content, whether the most significant bit is set or not. (Although an implementation is still allowed to reject an article it isn't capable of passing through.) Consider, e. g.: --cut: urn:ietf:rfc:5537 -- Transports for Netnews articles MUST treat news articles as uninterpreted sequences of octets, excluding the values %d00 (which may not occur in Netnews articles), %d13, and %d10 (which MUST only appear in Netnews articles as a pair in that order and which, together, denote a line separator). [...] --cut: urn:ietf:rfc:5537 -- > or uuencoded, I think). Somehow, I doubt MIME allows for uuencoded data. And while such an encoding doesn't require MIME, I know of no good reason to use it instead of "properly MIMEd" Base64. > There shouldn't be any \xFF octets. Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1 assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 for CYRILLIC SMALL LETTER YA, and so on. > Also, when telnet connects to a non-default port, it doesn't try to > negotiate TELNET options. Does it still react to them if it receives > them? Frankly, I don't know for sure. My guess is that it may vary between implementations. I'd prefer to be on the "safe side," however, which is: nc(1). -- FSF associate member #7257 http://hfday.org/
Re: telnet(1)-ing non-Telnet servers?
Author: Barry Margolin
Date: Wed, 03 Apr 2013 16:35
Date: Wed, 03 Apr 2013 16:35
21 lines
2386 bytes
2386 bytes
In article <87r4iry86a.fsf@violet.siamics.net>, Ivan Shmakov <oneingray@gmail.com> wrote: > Consider, e. g.: > > --cut: urn:ietf:rfc:5537 -- > Transports for Netnews articles MUST treat news articles as > uninterpreted sequences of octets, excluding the values %d00 (which > may not occur in Netnews articles), %d13, and %d10 (which MUST only > appear in Netnews articles as a pair in that order and which, > together, denote a line separator). [...] > --cut: urn:ietf:rfc:5537 -- Those restrictions make it practically impossible to transmit raw binary files without encoding. While a submission agent could scan the file to see if it contains any of these bytes, and send it unencoded if not, I'd find such an implementation very surprising. -- Barry Margolin Arlington, MA
Re: telnet(1)-ing non-Telnet servers?
Author: glen herrmannsfeldt
Date: Wed, 03 Apr 2013 17:16
Date: Wed, 03 Apr 2013 17:16
18 lines
1898 bytes
1898 bytes
In comp.protocols.tcp-ip Barry Margolin <barmar@alum.mit.edu> wrote: (snip on using telnet to read news) > Also, when telnet connects to a non-default port, it doesn't try to > negotiate TELNET options. Does it still react to them if it receives > them? I believe at least once I had a telnet server on a different port, and that it worked fine. Or maybe with NAT port translation, so I could reach different hosts with only one external address. But reasonably likely it tried, still worked fine, and I didn't notice strange characters on the screen. -- glen
Re: telnet(1)-ing non-Telnet servers?
Author: Ivan Shmakov
Date: Wed, 03 Apr 2013 17:28
Date: Wed, 03 Apr 2013 17:28
39 lines
2934 bytes
2934 bytes
>>>>> Barry Margolin <barmar@alum.mit.edu> writes: >>>>> Ivan Shmakov <oneingray@gmail.com> wrote: [...] >> --cut: urn:ietf:rfc:5537 -- >> Transports for Netnews articles MUST treat news articles as >> uninterpreted sequences of octets, excluding the values %d00 (which >> may not occur in Netnews articles), %d13, and %d10 (which MUST only >> appear in Netnews articles as a pair in that order and which, >> together, denote a line separator). [...] >> --cut: urn:ietf:rfc:5537 -- > Those restrictions make it practically impossible to transmit raw > binary files without encoding. While a submission agent could scan > the file to see if it contains any of these bytes, and send it > unencoded if not, I'd find such an implementation very surprising. So would I. My point was, however, that it doesn't make \xFF impossible, or even unlikely to happen, within an article's body. Especially should one consider a non-English newsgroup. >>> There shouldn't be any \xFF octets. >> Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1 >> assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 for >> CYRILLIC SMALL LETTER YA, and so on. Consider, e. g.: news:MSGID_2=3A5030=2F830.57=40fidonet_514db775@fidonet.org news:58bet9-oeb.ln1@news.russian-z1.org -- FSF associate member #7257 http://hfday.org/
Re: telnet(1)-ing non-Telnet servers?
Author: Whiskers
Date: Wed, 03 Apr 2013 22:19
Date: Wed, 03 Apr 2013 22:19
73 lines
4722 bytes
4722 bytes
On 2013-04-03, Ivan Shmakov <oneingray@gmail.com> wrote: >>>>>> Barry Margolin <barmar@alum.mit.edu> writes: Ivan Shmakov >>>>>> <oneingray@gmail.com> wrote: > > [...] > > >> --cut: urn:ietf:rfc:5537 -- > > >> Transports for Netnews articles MUST treat news articles as > >> uninterpreted sequences of octets, excluding the values %d00 (which > >> may not occur in Netnews articles), %d13, and %d10 (which MUST only > >> appear in Netnews articles as a pair in that order and which, > >> together, denote a line separator). [...] > > >> --cut: urn:ietf:rfc:5537 -- > > > Those restrictions make it practically impossible to transmit raw > > binary files without encoding. While a submission agent could scan > > the file to see if it contains any of these bytes, and send it > > unencoded if not, I'd find such an implementation very surprising. > > So would I. > > My point was, however, that it doesn't make \xFF impossible, or > even unlikely to happen, within an article's body. Especially > should one consider a non-English newsgroup. > > >>> There shouldn't be any \xFF octets. > > >> Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1 > >> assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 for > >> CYRILLIC SMALL LETTER YA, and so on. UTF-8 supersedes the old IBM ISO and Windows encodings. > Consider, e. g.: > > news:MSGID_2=3A5030=2F830.57=40fidonet_514db775@fidonet.org That isn't a usenet article, it's a fidonet post that has been "gatewayed" into usenet; it has no headers specifying a character encoding or MIME type (so a normal usenet client should assume US-ASCII, which is the default character encoding for usenet thanks to its US origins). Viewed via news.individual.net using telnet, the Cyrillic characters are garbled on my computer - which has no Cyrillic-only locale settings (as I can't read any languages that use the Cyrillic alphabet anyway). > news:58bet9-oeb.ln1@news.russian-z1.org That is a usenet article, and has the headers Content-Type: text/plain; charset=windows-1251; format=flowed Content-Transfer-Encoding: 8bit but my computer hasn't got a "windows-1251" locale (or anything else related to Windows for that matter!), so the Cyrillic characters are still garbled. I can see them if I go to <http://al.howardknight.net/> with my web browser set to interpret that character encoding though. If this extract makes sense to you, then my browser has successfully turned Windows-1251 into the UTF-8 locale on my computer, and your system can handle UTF-8: On 1/25/2013 6:13 PM, Sergey Babkin wrote: > On 01/25/2013 04:16 PM, G wrote: >> On 1/25/2013 3:15 PM, Sergey Babkin wrote: >>> On 01/25/2013 02:55 PM, CF wrote: >>>> Я не поверил своим глазам... В Массачусеттсе до сих пор действует этот >>>> закон! -- -- ^^^^^^^^^^ -- Whiskers -- ~~~~~~~~~~
Re: telnet(1)-ing non-Telnet servers?
Author: Shmuel Metz
Date: Thu, 04 Apr 2013 02:07
Date: Thu, 04 Apr 2013 02:07
21 lines
2695 bytes
2695 bytes
In <87r4iry86a.fsf@violet.siamics.net>, on 04/03/2013 at 02:56 PM, Ivan Shmakov <oneingray@gmail.com> said: > > There shouldn't be any \xFF octets. > Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1 > assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 > for CYRILLIC SMALL LETTER YA, and so on. While RFC 3977 provides an 8 bit transport mechanism, RFC 5536 does not permit un-encoded non-ASCII data. That doesn't, of course, guaranty that you won't see 'FF'x in non-compliant articles. -- 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: telnet(1)-ing non-Telnet servers?
Author: Ivan Shmakov
Date: Thu, 04 Apr 2013 10:07
Date: Thu, 04 Apr 2013 10:07
20 lines
2197 bytes
2197 bytes
>>>>> Shmuel (Seymour J.) Metz writes: >>>>> Ivan Shmakov <oneingray@gmail.com> said: >>> There shouldn't be any \xFF octets. >> Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1 >> assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 for >> CYRILLIC SMALL LETTER YA, and so on. > While RFC 3977 provides an 8 bit transport mechanism, RFC 5536 does > not permit un-encoded non-ASCII data. Somehow, I fail to find such a prohibition there. Could you please quote the relevant part thereof? > That doesn't, of course, guaranty that you won't see 'FF'x in > non-compliant articles. -- FSF associate member #7257 http://hfday.org/
Re: telnet(1)-ing non-Telnet servers?
Author: Ivan Shmakov
Date: Thu, 04 Apr 2013 10:54
Date: Thu, 04 Apr 2013 10:54
130 lines
6377 bytes
6377 bytes
>>>>> Whiskers <catwheezel@operamail.com> writes: >>>>> On 2013-04-03, Ivan Shmakov <oneingray@gmail.com> wrote: >>>>> Barry Margolin <barmar@alum.mit.edu> writes: Ivan Shmakov >>>>> <oneingray@gmail.com> wrote: [...] >>>> Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1 >>>> assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 >>>> for CYRILLIC SMALL LETTER YA, and so on. > UTF-8 supersedes the old IBM ISO and Windows encodings. However, they're still used, both in space-limited environments (such as in embedded applications; along with encodings entirely non-standard), and because of certain applications' failure to deal with UTF-8 properly. (E. g.: GNU's fmt(1), wc(1), etc.) >> Consider, e. g.: >> news:MSGID_2=3A5030=2F830.57=40fidonet_514db775@fidonet.org > That isn't a usenet article, it's a fidonet post that has been > "gatewayed" into usenet; That's a matter of point of view. For me, it was a Usenet article as soon as it has passed the gateway. > it has no headers specifying a character encoding or MIME type Yes; and this is known to break Google Groups at times. (I've informed the gatekeeper, but no action has been taken so far.) Alas, even the "native" Usenet articles may have the MIME headers missing, or the encoding screwed altogether (check, e. g., news:khr5bm$h9f$1@dont-email.me, for a recent example.) JFTR: the encoding for the messages gatewayed to the fido7.* hierarchy is set to koi8-r. > (so a normal usenet client should assume US-ASCII, which is the > default character encoding for usenet thanks to its US origins). I don't seem to recall any NUA that would assume ASCII for an article containing octets in the \200 to \377 range. Typically, an agent would assume either the encoding of the current locale, or ISO-8859-1, or will try to guess the encoding based on either the contents, or the newsgroup name, or something alike. But yes, such guesswork is /not/ what I'd normally count upon. > Viewed via news.individual.net using telnet, the Cyrillic characters > are garbled on my computer - which has no Cyrillic-only locale > settings The chances are that your system has support for both koi8-r (as used in the article above) and windows-1251 (for the one below.) Just record your nc(1) (or telnet(1)) session with script(1) (or screen(1)), and then (assuming an UTF-8 locale): $ iconv -f KOI8-R < typescript (Or -f CP1251 for the article below.) Not to mention that Web browsers and even certain newsreaders may have the transcoding routines of their own. > (as I can't read any languages that use the Cyrillic alphabet > anyway). Well, it's never too late to learn, they say. >> news:58bet9-oeb.ln1@news.russian-z1.org > That is a usenet article, and has the headers > Content-Type: text/plain; charset=windows-1251; format=flowed > Content-Transfer-Encoding: 8bit > but my computer hasn't got a "windows-1251" locale It's enough that your system (most probably) has the windows-1251 encoding support. Locale doesn't matter; just think of what difficulty would I have reading newsgroups in English, Esperanto and Russian, should I have to switch between the three respective locales! (And then, I'm somewhat interested in learning Japanese, too.) > (or anything else related to Windows for that matter!), Alas, it seems that that's the only sane (FSVO) unibyte encoding that has both the Cyrillic characters, /and/ a reasonable set of punctuation. (Although there seem to be little reason to prefer it over UTF-8 these days.) > so the Cyrillic characters are still garbled. ... Why, I've just checked, my Gnus shows the following article perfectly. (Even though I can't make a bit of sense of it.) news:A18LFSP5$forsale@bbs.cs.nthu.edu.tw (Well, except for the unencoded headers, that is.) Assuming an UTF-8 locale, I see /no/ reason for a newsreader running under GNU/Linux /not/ to transcode the articles with valid MIME headers, whatever is the encoding. > I can see them if I go to <http://al.howardknight.net/> with my web > browser set to interpret that character encoding though. FWIW, the "proper" behavior for the Web interface would be to report the encoding the contents is in via the Content-Type: HTTP header. (With the contents either sent as-is, or itself transcoded into a single encoding; preferably one based on Unicode.) I'd say that this Web interface as it's currently implemented (or set up) is itself "not MIME-compliant." > If this extract makes sense to you, then my browser has successfully > turned Windows-1251 into the UTF-8 locale on my computer, and your > system can handle UTF-8: [...] Yes. -- FSF associate member #7257 http://hfday.org/
Re: telnet(1)-ing non-Telnet servers?
Author: Urs Janßen
Date: Thu, 04 Apr 2013 13:16
Date: Thu, 04 Apr 2013 13:16
8 lines
2133 bytes
2133 bytes
In <87vc82woq9.fsf@violet.siamics.net>, Ivan Shmakov wrote: > I don't seem to recall any NUA that would assume ASCII for an > article containing octets in the \200 to \377 range. Typically, tin does this (non mime headers = article must be in U-ASCII, any chars outside the US-ASCII range are invalid and replaced by ?) if not explicitely told to do something else (show raw article, guess charset, ...).
Re: telnet(1)-ing non-Telnet servers?
Author: Rod Dorman
Date: Thu, 04 Apr 2013 19:03
Date: Thu, 04 Apr 2013 19:03
28 lines
2338 bytes
2338 bytes
In article <87zjxewqvb.fsf@violet.siamics.net>,
Ivan Shmakov <oneingray@gmail.com> wrote:
>>>>>> Shmuel (Seymour J.) Metz writes:
>>>>>> Ivan Shmakov <oneingray@gmail.com> said:
>>>> There shouldn't be any \xFF octets.
>
>>> Specifically, while UTF-8 doesn't seem to use \xFF, ISO-8859-1
>>> assigns it for LATIN SMALL LETTER Y WITH DIAERESIS, windows-1251 for
>>> CYRILLIC SMALL LETTER YA, and so on.
>
>> While RFC 3977 provides an 8 bit transport mechanism, RFC 5536 does
>> not permit un-encoded non-ASCII data.
>
> Somehow, I fail to find such a prohibition there. Could you
> please quote the relevant part thereof?
RFC 5536 section 1.4. Syntax Notation
body = <see RFC 5322 Section 3.5>
RFC 5322 Section 3.5 Overall Message Syntax
text = %d1-9 / ; Characters excluding CR
%d11 / ; and LF
%d12 /
%d14-127
--
-- Rod --
rodd(at)polylogics(dot)com
Re: telnet(1)-ing non-Telnet servers?
Author: Shmuel Metz
Date: Fri, 05 Apr 2013 01:23
Date: Fri, 05 Apr 2013 01:23
65 lines
4466 bytes
4466 bytes
In <87zjxewqvb.fsf@violet.siamics.net>, on 04/04/2013
at 10:07 AM, Ivan Shmakov <oneingray@gmail.com> said:
> > While RFC 3977 provides an 8 bit transport mechanism, RFC 5536
>does
> > not permit un-encoded non-ASCII data.
> Somehow, I fail to find such a prohibition there. Could you
> please quote the relevant part thereof?
RFC 5536:
2.1. Base
An article is said to be conformant to this specification if it
conforms to the format specified in Section 3 of [RFC5322] and
to the additional requirements of this specification.
RFC 5322
2.1. General Description
At the most basic level, a message is a series of characters. A
message that is conformant with this specification is composed
of characters with values in the range of 1 through 127 and
interpreted as US-ASCII [ANSI.X3-4.1986] characters. For
brevity, this document sometimes refers to this range of
characters as simply "US-ASCII characters".
Note: This document specifies that messages are made up of
characters in the US-ASCII range of 1 through 127. There are
other documents, specifically the MIME document series
([RFC2045], [RFC2046], [RFC2047], [RFC2049], [RFC4288],
[RFC4289]), that extend this specification to allow for
values outside of that range. Discussion of those mechanisms
is not within the scope of this specification.
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.
text = %d1-9 / ; Characters excluding CR
%d11 / ; and LF
%d12 /
%d14-127
--
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: telnet(1)-ing non-Telnet servers?
Author: Ivan Shmakov
Date: Tue, 09 Apr 2013 20:53
Date: Tue, 09 Apr 2013 20:53
40 lines
2958 bytes
2958 bytes
>>>>> Shmuel (Seymour J ) Metz <spamtrap@library.lspace.org.invalid> writes: >>>>> Ivan Shmakov <oneingray@gmail.com> said: >>> While RFC 3977 provides an 8 bit transport mechanism, RFC 5536 does >>> not permit un-encoded non-ASCII data. >> Somehow, I fail to find such a prohibition there. Could you please >> quote the relevant part thereof? > RFC 5536: > 2.1. Base > An article is said to be conformant to this specification if it > conforms to the format specified in Section 3 of [RFC5322] and to the > additional requirements of this specification. > RFC 5322 [...] > Note: This document specifies that messages are made up of characters > in the US-ASCII range of 1 through 127. There are other documents, > specifically the MIME document series ([RFC2045], [RFC2046], > [RFC2047], [RFC2049], [RFC4288], [RFC4289]), that extend this > specification to allow for values outside of that range. Discussion > of those mechanisms is not within the scope of this specification. ACK, thanks! ... Thus, the real question is if by referencing this section RFC 5536 also effectively "inherits" the note above. (The other option is, obviously, that RFC 5536 fails to document the existing practice.) [...] -- FSF associate member #7257 http://hfday.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