🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
23 messages
23 total messages Started by Michael T Pins Fri, 26 Jun 1998 00:00
nn-6.5.2 released
#8798
Author: Michael T Pins
Date: Fri, 26 Jun 1998 00:00
45 lines
2322 bytes

nn-6.5.2 is now available.  A bit of release info is below, but please note
that at the moment ftp.isca.uiowa.edu is down, so please get nn from:
ftp.visi.com:/users/mtpins
Both the full source tree and the patch are available.
I'll let people know when ftp.isca is back on the air.


Patch level #2 fixes, among other things:

Having more than 32767 groups no longer crashes nn.
nn now properly deals with long References lines.
nn now properly deals with large headers (seen mainly in nnview).
nn will now see new groups when talking to NNTP servers that don't support
the "LIST active.times" command (but see below).

A new option in config.h has been added: NO_ACTIVE_TIMES
This should be defined at sites that don't support "LIST active.times".


KNOWN BUGS:
If NO_ACTIVE_TIMES is defined AND if some lines have been deleted from the
user's .newsrc file then nn will ignore the users sequence from .nn/init (it
will, however, still use the sequence from they global init file).  

Due to this (and the startup performance penalty) I recommend anyone who
needs to define NO_ACTIVE_TIMES to not delete newsgroups out of their
.newsrc file.  Sorry about that.  Patch level 3 will fix this.

I currently have no idea why this is happening, but it shouldn't affect
many sites, and the workaround is simple, so I'm releasing patch#2 as is.

If anyone wants to help figure out what's causing this, let me know, and
I'll give them all the gory details I know.

Any other bug reports should, of course, come to me.

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8796
Author: Michael T Pins
Date: Fri, 26 Jun 1998 00:00
40 lines
2217 bytes
phenix@interpath.com (John Moreno) writes:

>In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

>> nn-6.5.2 is now available.  A bit of release info is below, but please
>> note that at the moment ftp.isca.uiowa.edu is down, so please get nn from:
>> ftp.visi.com:/users/mtpins Both the full source tree and the patch are
>> available. I'll let people know when ftp.isca is back on the air.

>I couldn't connect to either site.

As I said, ftp.isca.uiowa.edu is down.  The root drive crashed, and as the
machine is 300 miles away from me, I need to wait for other people to fix
it.  ftp.visi.com should work fine though.  It worked from all three places
I tried it from (locally, Iowa, and California).

>> Patch level #2 fixes, among other things:
>> 
>> Having more than 32767 groups no longer crashes nn.
>> nn now properly deals with long References lines.

>What do you do with References now?

It lets them run as long as they like.  The RFC's don't spell out anything
else that I know of.  nn had been cutting them off at 511 characters.

>Have you considered addressing the other GNKSA issues?

Do you know offhand where I can get a copy of the test stuff?  I'm likely
not going to address much until 7.0 (unless it's just changing defaults),
but I'd like to see what all fails.

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8797
Author: John Moreno
Date: Fri, 26 Jun 1998 00:00
36 lines
2057 bytes
In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

> nn-6.5.2 is now available.  A bit of release info is below, but please
> note that at the moment ftp.isca.uiowa.edu is down, so please get nn from:
> ftp.visi.com:/users/mtpins Both the full source tree and the patch are
> available. I'll let people know when ftp.isca is back on the air.

I couldn't connect to either site.

> 
> Patch level #2 fixes, among other things:
> 
> Having more than 32767 groups no longer crashes nn.
> nn now properly deals with long References lines.

What do you do with References now?

Have you considered addressing the other GNKSA issues?

>    1c   Does not show the groups the article was posted to (Newsgroups)
>    1d   Fails to show where to followup to (Followup-To)
>    1e   Does not show where to reply to (Reply-To)
>    7c   Does not restrict references sensibly
>    11b  Will not refuse to post articles without subject
>    12b  Fails to refuse to post messages with syntactically incorrect From:

According to the reviewer (Richard M. Mathews <richard@alumni.caltech.edu>)
1cde could be addressed by a simple default configuration change, which if
you've already done 7c, would only leave handling a lack of a Subject and a
syntactically invalid From address.

-- 
John Moreno

Re: nn-6.5.2 released
#8801
Author: John Moreno
Date: Sat, 27 Jun 1998 00:00
43 lines
2576 bytes
In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

> References: <zvTk1.1694$P8.5518307@ptah.visi.com>
> <1db8s33.sdpkmrjtzdueN@roxboro0-044.dyn.interpath.net>
> <cLVk1.1727$P8.5606596@ptah.visi.com>
> <1db8vy1.odrxx31qs2euoN@roxboro0-044.dyn.interpath.net
> X-Newsreader: NN version 6.5.2 (NOV)
> From: mtpins@visi.com (Michael T Pins)
> Lines: 41
> Message-ID: <iO%k1.1779$P8.5812708@ptah.visi.com>
-snip-
> 
> phenix@interpath.com (John Moreno) writes:
> 
> >> >What do you do with References now?
> 
> >> It lets them run as long as they like.  The RFC's don't spell out anything
> >> else that I know of.  nn had been cutting them off at 511 characters.
> 
> >I new it was cutting them off (and not in a good way either, since it
> >was doing so in the middle of id's).
> 
> >The GNKSA limit is a practical one only partly based upon son-of-1036,
> >and it's to keep the header under 1000 bytes including CRLF (as Curt
> >Welch showed back in march it would be better done as under 999) since
> >quite a few inn servers won't accept longer lines.
> 
> Actually, what I said above isn't entirely true.  What was happening is
> that Kim (I assume) misread the NNTP spec.  Commands are not allowed to be
> longer than 512 chars long, so the code didn't allow anything in *either*
> direction to be longer than that.  I changed it so things coming back from
> the server can now be 1024 chars long.  In my testing I was unable to find
> any References lines this long, so if 1024 is a problem, it's a rather rare
> one.

For some reason, the References for your message seems to have been
messed up slightly - the final ">" was not included.

-- 
John Moreno

Re: nn-6.5.2 released
#8802
Author: Michael T Pins
Date: Sat, 27 Jun 1998 00:00
29 lines
1861 bytes
schwarz@physik.tu-berlin.de (Georg Schwarz) writes:

>Michael T Pins <mtpins@visi.com> wrote:

>> nn-6.5.2 is now available.

>does this version now correctly handle non-ASCII characters in headers
>and bodies (incl. signature, if available) when writing or reading
>articles or when sending mail?

>-- 
>Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
>Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
>Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Define "correctly".  Does it do MIME?  No.  Does it convert non-ASCII to
ASCII to pass through systems that choke on 8-bit chars?  No.
But if the charset is set to iso-8859-1 nn will deal with iso-8859-1
characters just fine (and has for quite some time).  Note that just because
nn does doesn't mean someones editor, or mailer, or (...) will.

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8803
Author: Michael T Pins
Date: Sat, 27 Jun 1998 00:00
44 lines
2492 bytes
phenix@interpath.com (John Moreno) writes:

>> >What do you do with References now?

>> It lets them run as long as they like.  The RFC's don't spell out anything
>> else that I know of.  nn had been cutting them off at 511 characters.

>I new it was cutting them off (and not in a good way either, since it
>was doing so in the middle of id's).

>The GNKSA limit is a practical one only partly based upon son-of-1036,
>and it's to keep the header under 1000 bytes including CRLF (as Curt
>Welch showed back in march it would be better done as under 999) since
>quite a few inn servers won't accept longer lines.

Actually, what I said above isn't entirely true.  What was happening is
that Kim (I assume) misread the NNTP spec.  Commands are not allowed to be
longer than 512 chars long, so the code didn't allow anything in *either*
direction to be longer than that.  I changed it so things coming back from
the server can now be 1024 chars long.  In my testing I was unable to find
any References lines this long, so if 1024 is a problem, it's a rather rare
one.

>> >Have you considered addressing the other GNKSA issues?

>> Do you know offhand where I can get a copy of the test stuff?  I'm likely
>> not going to address much until 7.0 (unless it's just changing defaults),
>> but I'd like to see what all fails.

>Sure the full evaluation is at :
><http://www.xs4all.nl/~js/gnksa/Evaluations/nn-6.5.1.txt

Thanks, I'll look into it.

[much useful info snipped, but saved]

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8804
Author: Georg Schwarz
Date: Sat, 27 Jun 1998 00:00
15 lines
1125 bytes
Michael T Pins <mtpins@visi.com> wrote:

> nn-6.5.2 is now available.

does this version now correctly handle non-ASCII characters in headers
and bodies (incl. signature, if available) when writing or reading
articles or when sending mail?

-- 
Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Re: nn-6.5.2 released
#8805
Author: John Moreno
Date: Sat, 27 Jun 1998 00:00
67 lines
3188 bytes
In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

> phenix@interpath.com (John Moreno) writes:
> 
> >> >What do you do with References now?
> 
> >> It lets them run as long as they like.  The RFC's don't spell out anything
> >> else that I know of.  nn had been cutting them off at 511 characters.
> 
> >I new it was cutting them off (and not in a good way either, since it
> >was doing so in the middle of id's).
> 
> >The GNKSA limit is a practical one only partly based upon son-of-1036,
> >and it's to keep the header under 1000 bytes including CRLF (as Curt
> >Welch showed back in march it would be better done as under 999) since
> >quite a few inn servers won't accept longer lines.
> 
> Actually, what I said above isn't entirely true.  What was happening is
> that Kim (I assume) misread the NNTP spec.  Commands are not allowed to be
> longer than 512 chars long, so the code didn't allow anything in *either*
> direction to be longer than that.  I changed it so things coming back from
> the server can now be 1024 chars long.  In my testing I was unable to find
> any References lines this long, so if 1024 is a problem, it's a rather rare
> one.

I searched 13,800 articles and checked the length of the References and
here's what I found for the over 900 crowd:

LenRef    # messages
0901    = 1
0913    = 1
0928    = 1
0932    = 1
0936    = 3
0939    = 1
0940    = 1
0943    = 4
0946    = 2
0948    = 1
0949    = 1
0951    = 1
0952    = 1
0959    = 1
0968    = 1
0995    = 1

So there were 22 articles where replies to them could potentially have
the above problem, so it's not exactly common, but neither is it
UNcommon.

Also - about half of the newsgroups I read have something to do with
comp.mac, and except for OE and NS the most common mac newsreaders all
trim references.

Whether or not the user will have a problem will depend upon their
newsreader, their server, and the make up of newsgroup (any group
dominated by AOL users will probably never have a problem because it
only uses the immediate precursor, but OE and NS don't trim so any group
dominated by them is more likely to - I've had a NS user send me mail
saying that he couldn't post a response to one of my messages, and this
was the problem).

-- 
John Moreno

Re: nn-6.5.2 released
#8807
Author: John Moreno
Date: Sat, 27 Jun 1998 00:00
155 lines
6119 bytes
In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

> phenix@interpath.com (John Moreno) writes:
> 
> >In news.software.readers Michael T Pins <mtpins@visi.com> wrote:
> 
-snip-

> >I couldn't connect to either site.
> 
> As I said, ftp.isca.uiowa.edu is down.  The root drive crashed, and as the
> machine is 300 miles away from me, I need to wait for other people to fix
> it.  ftp.visi.com should work fine though.  It worked from all three places
> I tried it from (locally, Iowa, and California).

Sorry, my mistake.

> >> Patch level #2 fixes, among other things:
> >> 
> >> Having more than 32767 groups no longer crashes nn.
> >> nn now properly deals with long References lines.
> 
> >What do you do with References now?
> 
> It lets them run as long as they like.  The RFC's don't spell out anything
> else that I know of.  nn had been cutting them off at 511 characters.

I new it was cutting them off (and not in a good way either, since it
was doing so in the middle of id's).

The GNKSA limit is a practical one only partly based upon son-of-1036,
and it's to keep the header under 1000 bytes including CRLF (as Curt
Welch showed back in march it would be better done as under 999) since
quite a few inn servers won't accept longer lines.

> >Have you considered addressing the other GNKSA issues?
> 
> Do you know offhand where I can get a copy of the test stuff?  I'm likely
> not going to address much until 7.0 (unless it's just changing defaults),
> but I'd like to see what all fails.

Sure the full evaluation is at :
<http://www.xs4all.nl/~js/gnksa/Evaluations/nn-6.5.1.txt>

But the item's that I listed were the one's that keep it from passing.

I've quoted the summary info, with comments upon each unquoted.

> Regarding the strict GNKSA requirements (MUSTs), nn 6.5.1
> FAILS on the following points:
> 
>     1c   Does not show the groups the article was posted to (Newsgroups)
>     1d   Fails to show where to followup to (Followup-To)
>     1e   Does not show where to reply to (Reply-To)

According to the reviewer you could just change a default and pass these
three.

>     7c   Does not restrict references sensibly

References would have to be truncated to keep the total line length
under 998+CRLF.

>     11b  Will not refuse to post articles without subject

This is obvious - no posting without a Subject.

>     12b  Fails to refuse to post messages with syntactically incorrect From:

You may not be able to determine if the address is the user's, but you
can certainly determine if it has a correct syntax.

The below failures do NOT keep nn from getting the GNKSA, but should be
addressed anyway.
 
> nn 6.5.1 violates `soft' GNKSA requirements (SHOULDs)
> in the following way:
> 
>     2d   Fails to use standard terminology

I'm not sure exactly, but it's usually having "Rely" used instead of
"Followup" for replying to a newsgroup (or vice-versa of course).

>     3b   Does not warn when posting to a large number of groups

What "large" is decided by the reviewer - I put it at 10.

>     3c   Fails to encourage setting a Followup-To on large crossposts

When it warn's for 3b, it should also suggest using a Followup-To to a
subset of the groups.

>     7e   Fails to omit `broken' Message-IDs.

Id's like <this@ @bad.org> aren't valid and shouldn't be included in the
references.

>     9b   Does not support posting instead after replying

User should be able to change his mind about which to do.

>     9d   Mail message not preceded by notification when posted and mailed

A mail copy of a posted and mailed message should say so.

>     10d  Does not omit (proper) signatures from quoted text

Sig preceded by a sigdash (two dashes and space all on one line)
shouldn't be quoted when making a followup or reply.

>     10e  Does not let the user indicate which part to followup to

User should be able to say in one way or another what part of the
message should be quoted and included in the reply.

>     12c  Can use a bogus e-mail address

It can use syntacically invalid addresses, and possibly doesn't do
anything to make sure that the address actually belongs to the user
(what you can do depends upon your system).

>     13b  Does not enable users to supersede their own articles

Just as you should be able to cancel, you should be able to supersede.

>     14b  Fails to warn for excessively long lines

Allows the user to create long without warning what can happen when he
does so.

>     14d  Does not support rewrapping quoted text nicely

Turning:
> blah 90 char line
into
> blah
> 90 char line

>     14e  Fails to check basic hygiene of output from external editor

Not checking for long lines when using a external editor.

>     15b  Does not warn on, or refuse, excessive signatures

Excessive is open to question - I tag it at a max of 12 lines, but
strongly recommend that the warning be at 5 and above.  I've tested for
this, but have never actually had a program that warned or refused after
12 (except for a internal limit on some of them of 4096 chars, but they
didn't warn just refuse and I didn't consider that "reasonable").

-- 
John Moreno

Re: nn-6.5.2 released
#8808
Author: Wolfgang Schelongowski
Date: Sat, 27 Jun 1998 00:00
23 lines
1586 bytes
In <1db8vy1.odrxx31qs2euoN@roxboro0-044.dyn.interpath.net>
 phenix@interpath.com (John Moreno) writes:

>> Regarding the strict GNKSA requirements (MUSTs), nn 6.5.1
>> FAILS on the following points:
>> 
>>     1c   Does not show the groups the article was posted to (Newsgroups)
>>     1d   Fails to show where to followup to (Followup-To)
>>     1e   Does not show where to reply to (Reply-To)

>According to the reviewer you could just change a default and pass these
>three.

set header-lines =W_n=F_RDOKY_S
in the init file does it even for nn 6.4.
-- 
Wolfgang Schelongowski               Don't use my `From:', use my `Reply-To:'.
"You, sir, are _no_gentleman_," said Lord Rust.
"I _knew_ there was something about me that I liked."
  -- Terry Pratchett, Jingo

Re: nn-6.5.2 released
#8806
Author: Kai Voigt
Date: Sun, 28 Jun 1998 00:00
25 lines
1444 bytes
schwarz@physik.tu-berlin.de (Georg Schwarz) writes:

>Michael T Pins <mtpins@visi.com> wrote:

>> nn-6.5.2 is now available.

>does this version now correctly handle non-ASCII characters in headers
>and bodies (incl. signature, if available) when writing or reading
>articles or when sending mail?

Kris Koehntopp (kris@koehntopp.de) has written and published some
patches (http://www.netzservice.de/Home/kk/nn-6.5.1.patch.gz) to make
nn 6.5.1 understand RFC 1522 formatted articles.  I haven't checked
the 6.5.2 sources if Michael has incorporated those patches.

Kai

-- 
kai voigt                                               hamburger chaussee 36
                                                                   24113 kiel
                                                                  0431-642677
                                                             http://k.123.org

Re: nn-6.5.2 released
#8809
Author: Georg Schwarz
Date: Sun, 28 Jun 1998 00:00
33 lines
1969 bytes
Michael T Pins <mtpins@visi.com> wrote:

> Define "correctly".  Does it do MIME?  No.  Does it convert non-ASCII to
> ASCII to pass through systems that choke on 8-bit chars?  No.

:-((

at least for headers (subject, user name, keywords, whatever) it rellay
should do.
And of course it should *decode* messages properly encoded that way.

> But if the charset is set to iso-8859-1 nn will deal with iso-8859-1

will it automatically correctly do so when only the signature contains
non-ASCII ISO-8859-1 characters whereas the rest of the body does not?
nn 6.5.1 fails to do so.
Also, when returing an artcle containing non-ASCII characters to the
user by mail because it had not been accepted by the news server, for
example, does nn finally encode that mail correctly (incl. appropriate
headers)? nn 6.5.1 fails to do so.

> characters just fine (and has for quite some time).  Note that just because
> nn does doesn't mean someones editor, or mailer, or (...) will.

sure

-- 
Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Re: nn-6.5.2 released
#8812
Author: Georg Schwarz
Date: Sun, 28 Jun 1998 00:00
42 lines
2327 bytes
Kai Voigt <k@123.org> wrote:

> schwarz@physik.tu-berlin.de (Georg Schwarz) writes:
> 
> >Michael T Pins <mtpins@visi.com> wrote:
> 
> >> nn-6.5.2 is now available.
> 
> >does this version now correctly handle non-ASCII characters in headers
> >and bodies (incl. signature, if available) when writing or reading
> >articles or when sending mail?
> 
> Kris Koehntopp (kris@koehntopp.de) has written and published some
> patches (http://www.netzservice.de/Home/kk/nn-6.5.1.patch.gz) to make


I know.

> nn 6.5.1 understand RFC 1522 formatted articles.  I haven't checked
> the 6.5.2 sources if Michael has incorporated those patches.

I would really have appriciated if he had done so. But even with those
patches there are a few problems remaining which I have mentioned in my
other article to this group.
Also, AFAIK those patches don't check the length of a Subject (or other
header) line and therefore can crash when that line is longer than the
fixed length buffer assigned for it. Kris has been informed about this
problem but AFAIK has not yet found the time to fix it.

Also, since nn allows for changing header lines such as the subject when
editing the body of the text it would be appreciable if the encodig took
place only just prior to posting/mailing instead of right after entering
the subject as Kris's patches do.


-- 
Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Re: nn-6.5.2 released
#8813
Author: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
27 lines
1720 bytes
k@123.org (Kai Voigt) writes:

>schwarz@physik.tu-berlin.de (Georg Schwarz) writes:

>>Michael T Pins <mtpins@visi.com> wrote:

>>> nn-6.5.2 is now available.

>Kris Koehntopp (kris@koehntopp.de) has written and published some
>patches (http://www.netzservice.de/Home/kk/nn-6.5.1.patch.gz) to make
>nn 6.5.1 understand RFC 1522 formatted articles.  I haven't checked
>the 6.5.2 sources if Michael has incorporated those patches.

I tried to incorporate Kris's patches, but, depending upon which
OS/compiler combination I was using it either didn't work or wouldn't even
compile.  If I have more time, I'll try again in nn-6.5.3 (it turns out
that my hack to deal with Typhoon is an even larger performance problem
than I thought, meaning I'm actually going to have to do some rewriting).

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8814
Author: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
43 lines
2939 bytes
schwarz@physik.tu-berlin.de (Georg Schwarz) writes:

>Michael T Pins <mtpins@visi.com> wrote:

>> I didn't say it encodes or decodes anything.  If your charset is set to
>> iso-8859-1 nn will use that as a character set instead of ASCII.  It makes
>> no attempts to make things 7-bit nice, it just deals with it.  For example,
>> I'm seeing your sig just fine, even though it's the only thing in your post
>> that contains non-ASCII.

>I didn't use nn to create that article, I used MacSOUP which does all
>that encoding stuff absolutely correctly.
>Also, just because you can correctly see an article (when you assume
>that it is encoded in ISO-8859-1) does not necessarily mean that that
>article is correctly encoded (incl. the appopriate header lines).

*sigh*
We're obviously not communicating here.
One more time:
nn is *not* encoding or decoding anything.
nn *is* dealing with any charset you tell it to.
You'll note that there is no header saying this article was in any way
encoded (nor was there one in yours).  You'll also note that your sig
(below) has non-ASCII characters in it.  At this stage of the game,
encoding and decode ISO-8859-1 characters seems rather silly.  If anything
today can't deal with 8-bit characters, it's broken.  Of course, if someone
wants to use a character set other than ISO-8859-1, it will need
encoding/decoding.  nn does not currently do this (which I keep pointing
out), but will in nn-7.0.  The more time I spend fighting nn-6.5.x, the
longer it will be before I get nn-7.0 finished.

>Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
>Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
>Technische Universit�t Berlin        http://home.pages.de/~schwarz/

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8815
Author: John Moreno
Date: Mon, 29 Jun 1998 00:00
62 lines
3255 bytes
In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

> phenix@interpath.com (John Moreno) writes:
> 
> >I searched 13,800 articles and checked the length of the References and
> >here's what I found for the over 900 crowd:
> 
> >LenRef    # messages
> >0901    = 1
> >0913    = 1
> >0928    = 1
> >0932    = 1
> >0936    = 3
> >0939    = 1
> >0940    = 1
> >0943    = 4
> >0946    = 2
> >0948    = 1
> >0949    = 1
> >0951    = 1
> >0952    = 1
> >0959    = 1
> >0968    = 1
> >0995    = 1
> 
> >So there were 22 articles where replies to them could potentially have
> >the above problem, so it's not exactly common, but neither is it
> >UNcommon.
> 
> Actually, what this shows is that it *is* uncommon, as nn will pass
> References: lines up to 1024 chars in length, and none of the 13,800
> articles you checked were that long.  In fact, only one of them (meaning
> less than one in 10,000) could trigger it in a reply.

*All* of these could trigger it in a reply - I've seen references of
over 160 and ones in the 70-90 (pine) range are fairly common (I
temporarily used airnews [which doesn't allow the newsreader to set the
id] and all of their id's were 79 bytes).  Also - I added in a gnus
newsgroup (~280 articles) and got two articles with refs of 1019 and
1030.  You're right - it's not a real common problem, but that's because
there are quite a few broken newsreaders which do bad things to
References (like nn 6.5.1). I've seen it cut short in the middle of a id
at 255/512, AOL only includes the immediate precursor, and some only
including the last three - all of these alleviate the problem, but don't
solve it.

> That said, here, as in many places, nn should do more intelligent things
> than it does.  However, the current code base is a mess, and I'd really
> rather spend my time doing nn-7, which is a complete rewrite, than
> continuing to spend hours trying to figure out what the current code is
> doing to fix something that almost never happens.  Once I get nn-7 done,
> bug fixes will be *much* easier to do.

Why not take a look at the gnksalib - it handles truncating the
references header and will furthermore remove broken/mangled id's.  You
might even want to use it with nn-7.

-- 
John Moreno

Re: nn-6.5.2 released
#8816
Author: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
16 lines
1361 bytes
phenix@interpath.com (John Moreno) writes:

>Why not take a look at the gnksalib - it handles truncating the
>references header and will furthermore remove broken/mangled id's.  You
>might even want to use it with nn-7.

Where would I find it?

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8949
Author: Georg Schwarz
Date: Mon, 29 Jun 1998 00:00
21 lines
1766 bytes
Michael T Pins <mtpins@visi.com> wrote:

> I didn't say it encodes or decodes anything.  If your charset is set to
> iso-8859-1 nn will use that as a character set instead of ASCII.  It makes
> no attempts to make things 7-bit nice, it just deals with it.  For example,
> I'm seeing your sig just fine, even though it's the only thing in your post
> that contains non-ASCII.

I didn't use nn to create that article, I used MacSOUP which does all
that encoding stuff absolutely correctly.
Also, just because you can correctly see an article (when you assume
that it is encoded in ISO-8859-1) does not necessarily mean that that
article is correctly encoded (incl. the appopriate header lines).

-- 
Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Re: nn-6.5.2 released
#8950
Author: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
40 lines
2369 bytes
schwarz@physik.tu-berlin.de (Georg Schwarz) writes:

>Michael T Pins <mtpins@visi.com> wrote:

>> Define "correctly".  Does it do MIME?  No.  Does it convert non-ASCII to
>> ASCII to pass through systems that choke on 8-bit chars?  No.

>:-((

>at least for headers (subject, user name, keywords, whatever) it rellay
>should do.
>And of course it should *decode* messages properly encoded that way.

Well, yeah, nn *should* do many things, but as I've said before, I'd rather
fix them in 7.0 than spend my time dealing with the current code base.

>> But if the charset is set to iso-8859-1 nn will deal with iso-8859-1

>will it automatically correctly do so when only the signature contains
>non-ASCII ISO-8859-1 characters whereas the rest of the body does not?
>nn 6.5.1 fails to do so.
>Also, when returing an artcle containing non-ASCII characters to the
>user by mail because it had not been accepted by the news server, for
>example, does nn finally encode that mail correctly (incl. appropriate
>headers)? nn 6.5.1 fails to do so.

I didn't say it encodes or decodes anything.  If your charset is set to
iso-8859-1 nn will use that as a character set instead of ASCII.  It makes
no attempts to make things 7-bit nice, it just deals with it.  For example,
I'm seeing your sig just fine, even though it's the only thing in your post
that contains non-ASCII.

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8951
Author: Michael T Pins
Date: Mon, 29 Jun 1998 00:00
45 lines
2256 bytes
phenix@interpath.com (John Moreno) writes:

>I searched 13,800 articles and checked the length of the References and
>here's what I found for the over 900 crowd:

>LenRef    # messages
>0901    = 1
>0913    = 1
>0928    = 1
>0932    = 1
>0936    = 3
>0939    = 1
>0940    = 1
>0943    = 4
>0946    = 2
>0948    = 1
>0949    = 1
>0951    = 1
>0952    = 1
>0959    = 1
>0968    = 1
>0995    = 1

>So there were 22 articles where replies to them could potentially have
>the above problem, so it's not exactly common, but neither is it
>UNcommon.

Actually, what this shows is that it *is* uncommon, as nn will pass
References: lines up to 1024 chars in length, and none of the 13,800
articles you checked were that long.  In fact, only one of them (meaning
less than one in 10,000) could trigger it in a reply.  That said, here, as
in many places, nn should do more intelligent things than it does.  However,
the current code base is a mess, and I'd really rather spend my time doing
nn-7, which is a complete rewrite, than continuing to spend hours trying to
figure out what the current code is doing to fix something that almost never
happens.  Once I get nn-7 done, bug fixes will be *much* easier to do.

--
************************************************************************
*    Michael T Pins                |          mtpins@visi.com          *
*    keeper of the nn sources      |       mtpins@isca.uiowa.edu       *
*    ftp.isca.uiowa.edu            |     #include <std.disclaimer>     *

Re: nn-6.5.2 released
#8952
Author: John Moreno
Date: Mon, 29 Jun 1998 00:00
18 lines
1533 bytes
In news.software.readers Michael T Pins <mtpins@visi.com> wrote:

> phenix@interpath.com (John Moreno) writes:
> 
> >Why not take a look at the gnksalib - it handles truncating the
> >references header and will furthermore remove broken/mangled id's.  You
> >might even want to use it with nn-7.
> 
> Where would I find it?

<http://www.xs4all.nl/~js/gnksa/> is the main gnksa page, the lib is at
<http://www.xs4all.nl/~js/gnksa/gnksalib-0.72d.tar.gz>.

-- 
John Moreno

Re: nn-6.5.2 released
#8954
Author: Georg Schwarz
Date: Tue, 30 Jun 1998 00:00
33 lines
1814 bytes
Michael T Pins <mtpins@visi.com> wrote:

> *sigh*
> We're obviously not communicating here.

looks like :-)

> One more time:
> nn is *not* encoding or decoding anything.

yes, and this is what I dare to call a detail that might be improved.
Kris's patch did it for 6.5.1, for example.

> nn *is* dealing with any charset you tell it to.
> You'll note that there is no header saying this article was in any way

sure, there is:

>MIME-Version: 1.0
>Content-Type: text/plain; charset=iso-8859-1
>Content-Transfer-Encoding: 8bit

(it might be that we're using the term "encoded" in different ways?)

> encoded (nor was there one in yours).

-- 
Georg Schwarz     schwarz@physik.tu-berlin.de, kuroi@cs.tu-berlin.de
Institut f�r Theoretische Physik       +49 30 314-24254, FAX -21130
Technische Universit�t Berlin        http://home.pages.de/~schwarz/

Re: nn-6.5.2 released
#8953
Author: Jeroen Scheerder
Date: Thu, 02 Jul 1998 00:00
34 lines
2353 bytes
John Moreno <phenix@interpath.com>:

> Why not take a look at the gnksalib - it handles truncating the
> references header and will furthermore remove broken/mangled id's.

As a footnote: GNKSAlib (now internally at 0.73d) is being finished up;
at present, it's not really "production strength".  The main area in
which it is lacking is documentation. :-)

Other -- useful -- suggestions have been made, and will be incorporated,
if time allows.  Thanks (you know who you are).

One other thing: GNKSAlib is based upon the idea to use regular
expressions that are derived (more or less) directly from the (EBNF)
Usenet Message Format syntax; several RE libraries exist, and several RE
syntaxes, with differring semantics ("effects") even.

I aim to make the One-Dot-Oh! GNKSAlib release compatible with both
POSIX as well as Perl RE's; because I'm really convinced that GNKSAlib
should be able to take advantage of as much of the underpinnings as they
already are likely to exist, and to impose no ideosyncratic choices
itself upon software using it.

Note: I really wouldn't mind if a capable person would be willing to
lend a hand.  If so, mail.


-- J$
-- 
dash dash space
this is my .sig                                         it's not so .big

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