Thread View: news.software.nntp
9 messages
9 total messages
Started by Jonathan Grobe
Thu, 17 Feb 2000 00:00
RFC 1036 Revision: Newsgroups Header
Author: Jonathan Grobe
Date: Thu, 17 Feb 2000 00:00
Date: Thu, 17 Feb 2000 00:00
148 lines
8993 bytes
8993 bytes
5.5. Newsgroups ................................................ 0
5.5.1. Forbidden newsgroup names ............................. 0
5.6. Path [Posted separately]
5.5. Newsgroups
The Newsgroups header's content specifies which newsgroup(s) the
article is posted to. It is an inheritable header (4.2.2.2) which
SHOULD then become the default Newsgroups header of any followup,
unless a Followup-To header is present to prescribe otherwise.
Newsgroups-content = newsgroup-name
*( *FWS ng-delim *FWS newsgroup-name )
*FWS
newsgroup-name = component *( "." component )
component = component-start
*( component-start / component-other )
component-start = Un-lowercase / Un-digit
Un-lowercase = <Unicode Letter, Lowercase> /
<Unicode Letter, Other>
Un-digit = <Unicode Number, Decimal Digit> /
<Unicode Number, Other>
component-other = "+" / "-" / "_"
ng-delim = ","
where the <Unicode ...> items are as described in [UNICODE].
The inclusion of folding white space within a Newsgroups-content is a
newly introduced feature in this standard. It MUST be accepted by all
conforming implementations (relaying agents, serving agents and
reading agents). Posting agents should be aware that such postings
may be rejected by overly-critical old-style relaying agents. When a
sufficient number of relaying agents are in conformance, posting
agents SHOULD generate such whitespace in the form of <CRLF WS> so as
to keep the length of lines in the relevant headers (notably
Newsgroups and Followup-To) to no more than than 79 characters (or
other agreed policy limit - see 4.5). Before such critical mass
occurs, injecting agents MAY reformat such headers by removing
whitespace inserted by the posting agent, but relaying agents MUST
NOT do so.
A newsgroup-name consists of one or more components. Components MAY
contain non-ASCII letters, but these MUST be encoded in UTF-8 and not
according to [RFC 2047]. A component MUST contain at least one
letter (and MUST, according to the syntax, begin with a letter or
digit). Components SHOULD begin with a letter. Composite characters
(made by overlaying one character with another) and format
characters, as allowed in certain parts of Unicode and needed by
certain languages, must use whatever canonical conventions apply to
those parts of Unicode (such conventions are not defined in this
Standard). The use of "_" in a component is deprecated. Serving
agents MAY refuse to accept newsgroups using such a component.
NOTE: Components composed entirely of digits would cause
problems for the commonly used implementation technique of using
the component as the name of a directory, whilst also using
sequential numbers to distinguish the articles within a group.
Components containing other non-permitted characters could cause
problems when newsgroup-names appear in URLs [RFC 1738] (for
example an '@' character would prevent distinguishing between
newsgroup-names and message identifiers).
NOTE: According to the syntax, uppercase letters cannot occur in
newsgroup-names, but this standard imposes no requirement on
software to check this condition, since it would be unreasonable
to expect it to do so in parts of Unicode for which it was not
configured (in general, a table lookup is required). Rather, it
is the responsibility of those creating new newsgroups (7.1) not
to violate it. It is, moreover, to be expected that a newsgroup
created in violation of this condition will not be propagated
particularly well.
Whilst there is no longer any technical reason to limit the length of
a component (formerly, it was limited to 14 characters) nor to limit
the total length of a newsgroup-name, it should be noted that these
names are also used in the newsgroups line (7.1.2) where an overall
policy limit applies, and moreover excessively long names can be
exceedingly inconvenient in practical use. Agencies responsible for
individual hierarchies SHOULD therefore, as a matter of policy, set
reasonable limits for the length of a component and of a newsgroup-
name. In the absence of such explicit policies, the default figures
are 30 characters and 71 characters respectively.
[If the checkpolicies proposal is included in the Standard, there should
be a reference to it here.]
NOTE: The newsgroup-name as encoded in UTF-8 should be regarded
as the canonical form. Reading agents may convert it to whatever
character set they are able to display (see 4.4.1) and serving
agents may possibly need to convert it to some form more
suitable as a filename. Simple algorithms for both kinds of
conversion are readily available. Observe that the syntax does
not allow comments within the Newsgroups header; this is to
simplify processing by relaying and serving agents which have a
requirement to process this header extremely rapidly.
Posters SHOULD use only the names of existing newsgroups in the
Newsgroups header. However, it is legitimate to cross-post to
newsgroup(s) which do not exist on the posting agent's host, provided
that at least one of the newsgroups DOES exist there, and followup
agents SHOULD accept this (posting agents MAY accept it, but SHOULD
at least alert the poster to the situation and request confirmation).
Relaying agents MUST NOT rewrite Newsgroups headers in any way, even
if some or all of the newsgroups do not exist on the relaying agent's
host. Serving agents MUST NOT create new newsgroups simply because an
unrecognised newsgroup-name occurs in a Newsgroups header (see 7.1
for the correct method of newsgroup creation).
The Newsgroups header is intended for use in Netnews articles rather
than in mail messages. It MAY be used in a mail message to indicate
that it is a copy also posted to the listed newsgroups, but it SHOULD
NOT be used in a mail-only reply to a Netnews article (thus the
"inheritable" property of this header applies only to followups to a
newsgroup, and not to followups to the poster). Moreover, if a
newsgroup-name contains any non-ASCII character, it MAY be encoded
using the mechanism defined in [RFC 2047] when sent by mail but, if
it is subsequently returned to the Netnews environment, it MUST then
be re-encoded into UTF-8.
5.5.1. Forbidden newsgroup names
The following forms of newsgroup-name MUST NOT be used except for the
specific purposes indicated:
o Newsgroup-names having only one component. These are reserved for
newsgroups whose propagation is restricted to a single host or
local network, and for pseudo-newsgroups such as "poster" (which
has special meaning in the Followup-To header - see section 6.7),
"junk" (often used by serving agents), "control" (likewise),
"revise" and "repost" (which have special meanings in the Xref
header - see 6.14)
o Any newsgroup-name beginning with "control." (used as pseudo-
newsgroups by many serving agents)
o Any newsgroup-name containing the component "ctl" (likewise)
o "to" or any newsgroup-name beginning with "to." (reserved for the
ihave/sendme protocol described in section 7.6, and for test
messages sent on an essentially point-to-point basis)
o Any newsgroup-name containing the component "all" (because this
is used as a wildcard in some implementations)
A newsgroup-name SHOULD NOT appear more than once in the Newsgroups
header. The order of newsgroup names in the Newsgroups header is not
significant, except for determining which moderator to send the
article to if one of the groups is moderated (see 8.2).
Re: RFC 1036 Revision: Newsgroups Header
Author: Erland Sommarskog
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
16 lines
1546 bytes
1546 bytes
Kai Henningsen (kaih=7ZFqlbD1w-B@khms.westfalen.de) writes: >*Maybe* also say that newsgroup names should be in normalization form C >(<http://www.unicode.org/reports/tr15>), but that this is only relevant >for agents converting any odd text to newsgroup names, not just copying >newsgroup names around. I think rather it should be said that comparison of newsgroup names should always be carried out after normalization. That does of course not preclude that agents normalizes before they pass something along, but they should not assume that what they get is normalized. -- Erland Sommarskog, Stockholm, sommar@algonet.se This is an incomplete mess.
Re: RFC 1036 Revision: Newsgroups Header
Author: Andrew Gierth
Date: Sun, 20 Feb 2000 00:00
Date: Sun, 20 Feb 2000 00:00
30 lines
2114 bytes
2114 bytes
>>>>> "Erland" == Erland Sommarskog <sommar@algonet.se> writes: > Kai Henningsen (kaih=7ZFqlbD1w-B@khms.westfalen.de) writes: >> *Maybe* also say that newsgroup names should be in normalization form C >> (<http://www.unicode.org/reports/tr15>), 404 Not Found but http://www.unicode.org/unicode/reports/tr15/ seems to work >> but that this is only relevant for agents converting any odd text >> to newsgroup names, not just copying newsgroup names around. Erland> I think rather it should be said that comparison of newsgroup Erland> names should always be carried out after normalization. Comparison of newsgroup names is always by comparing the octets. Many agents will not even store the newsgroup name, only a digest of it, for efficiency reasons. The intent is for the agents to treat newsgroup-name components as opaque octet strings wherever possible, and opaque UTF-8 sequences when otherwise required (when doing wildmat comparison for example). It is specifically _not_ intended that agents have to deal with the full complexity of Unicode. -- Andrew.
Re: RFC 1036 Revision: Newsgroups Header
Author: Erland Sommarskog
Date: Mon, 21 Feb 2000 00:00
Date: Mon, 21 Feb 2000 00:00
20 lines
1664 bytes
1664 bytes
Andrew Gierth (andrew@erlenstar.demon.co.uk) writes: >The intent is for the agents to treat newsgroup-name components as >opaque octet strings wherever possible, and opaque UTF-8 sequences >when otherwise required (when doing wildmat comparison for >example). It is specifically _not_ intended that agents have to deal >with the full complexity of Unicode. That will cause an error-prone system which will bring a lot of confusion. It is my assumption that normalization is something you do in a library routine. Of course, if each agent author would need implement normalization himself, it would be a great mess. -- Erland Sommarskog, Stockholm, sommar@algonet.se This is an incomplete mess.
Re: RFC 1036 Revision: Newsgroups Header
Author: Kai Henningsen
Date: Thu, 24 Feb 2000 00:00
Date: Thu, 24 Feb 2000 00:00
34 lines
2432 bytes
2432 bytes
sommar@algonet.se (Erland Sommarskog) wrote on 20.02.00 in <8EE09D86CYazorman@194.213.69.148>: > Kai Henningsen (kaih=7ZFqlbD1w-B@khms.westfalen.de) writes: > >*Maybe* also say that newsgroup names should be in normalization form C > >(<http://www.unicode.org/reports/tr15>), but that this is only relevant > >for agents converting any odd text to newsgroup names, not just copying > >newsgroup names around. > > I think rather it should be said that comparison of newsgroup names > should always be carried out after normalization. That does of course > not preclude that agents normalizes before they pass something along, > but they should not assume that what they get is normalized. No, agents in general should not need to know how to normalize. User agents, maybe yes, relaying agents, most definitely no. Normalizing is just too expensive. *Most* usage of newsgroup names will be comparing two strings already known to be newsgroup names (which can therefore be assumed to be already normalized), or copying from one such place to another (same argument). It's only when creating a newsgroup name from normal text that normalization is an issue. For example, when creating a newgroup control message. Or maybe if you put the newsgroup in a user-editable GUI control and have to use the result. Kai -- http://www.westfalen.de/private/khms/ "... by God I *KNOW* what this network is for, and you can't have it." - Russ Allbery (rra@stanford.edu)
Re: RFC 1036 Revision: Newsgroups Header
Author: Ron Newman
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
23 lines
1515 bytes
1515 bytes
In article <873dqfbhll.fsf@erlenstar.demon.co.uk>, Andrew Gierth <andrew@erlenstar.demon.co.uk> wrote: >> I've never understood why it is necessary or desirable to say >> Newsgroups: news.admin.misc,news.software.nntp,news.software.readers > >> instead of >> Newsgroups: news.admin.misc, news.software.nntp, news.software.readers > > Newsgroups is machine-parsed and is one of the most critical headers in > news processing. Human-readability is a secondary consideration. I guess this is a historical question now, but what exactly made the second version less machine-readable than the first? Was it that much harder to split on /, */ than on /,/ ? -- Ron Newman rnewman@thecia.net http://www2.thecia.net/users/rnewman/
Re: RFC 1036 Revision: Newsgroups Header
Author: Ron Newman
Date: Sat, 26 Feb 2000 00:00
Date: Sat, 26 Feb 2000 00:00
23 lines
1354 bytes
1354 bytes
In article <slrn8an4qg.vch.grobe+news@worf.netins.net>, <> wrote: > The inclusion of folding white space within a Newsgroups-content is a > newly introduced feature in this standard. I assume that "folding white space" means "white space that includes a line-feed character"? Why not allow ordinary white space after the comma, rather than just line feeds? I've never understood why it is necessary or desirable to say Newsgroups: news.admin.misc,news.software.nntp,news.software.readers instead of Newsgroups: news.admin.misc, news.software.nntp, news.software.readers -- Ron Newman rnewman@thecia.net http://www2.thecia.net/users/rnewman/
Re: RFC 1036 Revision: Newsgroups Header
Author: Andrew Gierth
Date: Sun, 27 Feb 2000 00:00
Date: Sun, 27 Feb 2000 00:00
32 lines
2039 bytes
2039 bytes
>>>>> "Ron" == Ron Newman <rnewman@thecia.net> writes: >> The inclusion of folding white space within a Newsgroups-content is a >> newly introduced feature in this standard. Ron> I assume that "folding white space" means "white space that Ron> includes a line-feed character"? No, it means "white space that _MAY_ include folding" (folding is defined as CRLF+whitespace). Ron> Why not allow ordinary white space after the comma, rather than Ron> just line feeds? That's kind of the point, because INN for example will currently reject anything with whitespace of any sort anywhere in the Newsgroups header. Ron> I've never understood why it is necessary or desirable to say Ron> Newsgroups: news.admin.misc,news.software.nntp,news.software.readers Ron> instead of Ron> Newsgroups: news.admin.misc, news.software.nntp, news.software.readers Newsgroups is machine-parsed and is one of the most critical headers in news processing. Human-readability is a secondary consideration. -- Andrew.
Re: RFC 1036 Revision: Newsgroups Header
Author: Andrew Gierth
Date: Sun, 27 Feb 2000 00:00
Date: Sun, 27 Feb 2000 00:00
19 lines
1780 bytes
1780 bytes
>>>>> "Ron" == Ron Newman <rnewman@thecia.net> writes: >> Newsgroups is machine-parsed and is one of the most critical headers in >> news processing. Human-readability is a secondary consideration. Ron> I guess this is a historical question now, but what exactly made Ron> the second version less machine-readable than the first? Was it Ron> that much harder to split on /, */ than on /,/ ? It has been quite common practice in news software to parse the newsgroups line in-place by replacing the commas with nulls to treat individual group names as C strings, then putting the commas back afterward. Using less-predictable delimiters does complicate that, yes. -- Andrew.
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