🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.readers
6 messages
6 total messages Started by Paul D Evans Sun, 28 Apr 1996 00:00
Tin: Bad overview record?
#21008
Author: Paul D Evans
Date: Sun, 28 Apr 1996 00:00
19 lines
1007 bytes
Hello,

When using tin, with entering some groups, the message "Bad overview 
record" comes up and a long dump of message numbers and ip addresses goes by.
After it is done I can continue reading news just fine so it isn't a major
problem. It is pretty annoying though.  Does anybody have any suggestions for
avoiding this dump of bad overview records?

Thanks,

-Paul 

-----
Paul D. Evans                  
Technical University of Nova Scotia
Email: evanspd@tuns.ca    URL: http://www.tuns.ca/~evanspd

Re: Tin: Bad overview record?
#21060
Author: billy
Date: Mon, 29 Apr 1996 00:00
221 lines
6195 bytes
Paul D Evans <evanspd@newton.ccs.tuns.ca> writes:

> When using tin, with entering some groups, the message "Bad overview 
> record" comes up and a long dump of message numbers and ip addresses goes by.
> After it is done I can continue reading news just fine so it isn't a major
> problem. It is pretty annoying though.  Does anybody have any suggestions for
> avoiding this dump of bad overview records?

Sure - replace read_xover_file in art.c with the following modified
version of it.

Billy Y..

int
read_xover_file (group_name, min, max)
	char *group_name;
	long min;
	long max;
{
 	char	*p, *q;
	char	buf[8192];
 	char	art_full_name[LEN];
	char	art_from_addr[LEN];
	char	err_scratch_buff[LEN];	/* PL7 */
	FILE	*fp;
	 
	top = 0;
	last_read_article = 0L;
 
	/* 
	 * setup the overview file (whether it be local or via nntp)
	 */
	if ((fp = open_xover_fp (group_name, min, max)) == (FILE *) 0) {
		return FALSE;
	}
 
	while (fgets (buf, sizeof (buf), fp) != (char *) 0) {
		if (strcmp (buf, ".") == 0) {
			break;
		}
 
		if (top >= max_art) {
			expand_art ();
		}
 
		arts[top].thread = ART_EXPIRED;
		set_article (&arts[top]);
 
		p = buf;
 
		/* 
		 * read the article number 
		 */
		last_read_article = arts[top].artnum = atol (p);
		q = strchr (p, '\t');
		if (q == (char *) 0) {
				q = strrchr (p, '\n');		/* strip LF */
				if (q != (char *) 0) {
					*q = '\0';
				}
			error_message ("Unreadable article - No NOV delimiters for:\r\n%s\r\n", p);	/* PL7 */
			continue;
		} else {
			p = q + 1;
		}
 
		/* 
		 * READ subject 
		 */
		q = strchr (p, '\t');
			if (q == (char *) 0) {
				q = strrchr (p, '\n');		/* strip LF */
				if (q != (char *) 0) {
					*q = '\0';
				}
			sprintf (err_scratch_buff, "Unsortable article #%ld - No NOV delimiter for:\r\n_Subject: %s\r\n", last_read_article, p);	/* PL7 */
			error_message (err_scratch_buff, "");	/* PL7 */
			debug_nntp ("read_xover_file", "Bad overview record (Subject)");
			continue;
		} else {
			*q = '\0';
		}
		arts[top].subject = hash_str (eat_re (eat_re (p)));
		p = q + 1;
 
		/* 
		 * READ author 
		 */
		q = strchr (p, '\t');
		if (q == (char *) 0) {
				q = strrchr (p, '\n');		/* strip LF */
				if (q != (char *) 0) {
					*q = '\0';
				}
			sprintf (err_scratch_buff, "Unsortable article #%ld - No NOV delimiter for:\r\n_From: %s\r\n", last_read_article, p);	/* PL7 */
			error_message (err_scratch_buff, "");	/* PL7 */
			debug_nntp ("read_xover_file", "Bad overview record (From)");
			continue;
		} else {
			*q = '\0';
		}
		parse_from (p, art_from_addr, art_full_name);
		arts[top].from = hash_str (art_from_addr);
		if (art_full_name[0]) {
			arts[top].name = hash_str (art_full_name);
		}
		p = q + 1;
 
		/* 
		 * READ article date 
		 */
		q = strchr (p, '\t');
		if (q == (char *) 0) {
				q = strrchr (p, '\n');		/* strip LF */
				if (q != (char *) 0) {
					*q = '\0';
				}
			sprintf (err_scratch_buff, "Unsortable article #%ld - No NOV delimiter for:\r\n_Date: %s\r\n", last_read_article, p);	/* PL7 */
			error_message (err_scratch_buff, "");	/* PL7 */
			debug_nntp ("read_xover_file", "Bad overview record (Date)");
			continue;
		} else {
			*q = '\0';
		}
		arts[top].date = parsedate (p, NULL);
		p = q + 1;
 
		/* 
		 * SKIP article messageid 
		 */
		q = strchr (p, '\t');
		if (q == (char *) 0) {
			sprintf (err_scratch_buff, "Can't parse #%ld LINES, XREF - No NOV delimiter for MESSAGE-ID\r\n", last_read_article);	/* PL7 */
			error_message (err_scratch_buff, "");
			debug_nntp ("read_xover_file", "Bad overview record (Msg-ID)");
			continue;
		}
		p = q + 1;
 
		/* 
		 * SKIP article references 
		 */
		q = strchr (p, '\t');
		if (q == (char *) 0) {
			sprintf (err_scratch_buff, "Can't parse #%ld LINES, XREF - No NOV delimiter for REFERENCES\r\n", last_read_article);	/* PL7 */
			error_message (err_scratch_buff, "");
			debug_nntp ("read_xover_file", "Bad overview record (References)");
			continue;
		}
		p = q + 1;
 
		/* 
		 * SKIP article bytes 
		 */
		q = strchr (p, '\t');
		if (q == (char *) 0) {
			sprintf (err_scratch_buff, "Can't parse #%ld LINES, XREF - No NOV delimiter for BYTES\r\n", last_read_article);	/* PL7 */
			error_message (err_scratch_buff, "");
			debug_nntp ("read_xover_file", "Bad overview record (Bytes)");
			continue;
		} else {
			*q = '\0';
		}
		p = q + 1;
 
		/* 
		 * READ article lines (special case - last standard nov header)
		 */
		q = strchr (p, '\t');
		if (q == (char *) 0) {
			if (!*p || (*p < '0' && *p > '9')) {
			sprintf (err_scratch_buff, "Can't parse #%ld LINES, XREF - No NOV delimiter for LINES\r\n", last_read_article);	/* PL7 */
				error_message (err_scratch_buff, "");	/* PL7 */
				debug_nntp ("read_xover_file", "Bad overview record (Lines)");
				continue;
			}
		} else {
			*q = '\0';
		}
		arts[top].lines = atoi (p);
		p = (q == (char *) 0 ? (char *) 0 : q + 1);
 
		/* 
		 * READ article xrefs
		 */
		if (p != (char *) 0 && xref_supported) {
			q = str_str (p, "Xref: ", 6);
			if (q != (char *) 0) {
				p = q + 6;
				q = p;
				while (*q && *q != '\t') {
					q++;
				}
				*q = '\0';
				q = strrchr (p, '\n');
				if (q != (char *) 0) {
					*q = '\0';
				}
				q = p;
				while (*q && *q == ' ') {
					q++;
				}
				arts[top].xref = str_dup (q);
			}
		}

		/* 
		 * end of overview line processing 
		 */
		debug_print_header (&arts[top]);
 
		top++;
	}
 	fclose (fp);
 	
	return TRUE;
}


Re: Tin: Bad overview record?
#21071
Author: Thomas Ulich
Date: Tue, 30 Apr 1996 00:00
25 lines
1639 bytes
billy@mix.com wrote:
:Paul D Evans <evanspd@newton.ccs.tuns.ca> writes:
:> When using tin, with entering some groups, the message "Bad overview 
:> record" comes up and a long dump of message numbers and ip addresses goes by.
:> After it is done I can continue reading news just fine so it isn't a major
:> problem. It is pretty annoying though.  Does anybody have any suggestions for
:> avoiding this dump of bad overview records?
: 
: Sure - replace read_xover_file in art.c with the following modified
: version of it.

Had the same problem, but with tin 1.22.  After updating to 1.3 beta it 
worked just fine.

BTW: Where can I get the tin 1.3 beta sources?  I just copied the compiled
binary from our computer centre machines, and I'd rather compile it myself.

All the best,
-- 
Thomas Ulich  NEW e-mail: thomas.ulich@sgo.fi  www: http://cc.oulu.fi/~thu/
 
      Inuit say:  He who looks long upon the aurora soon goes mad.

Re: Tin: Bad overview record?
#21102
Author: billy
Date: Tue, 30 Apr 1996 00:00
16 lines
1048 bytes
Thomas Ulich <thu@satellite.oulu.fi> writes:

> Had the same problem, but with tin 1.22.  After updating to 1.3 beta it 
> worked just fine.

I'm waiting for it not to be a beta version... in my case I'd rather
deal with a known set of problems.

> BTW: Where can I get the tin 1.3 beta sources?

They are at ftp.scn.de in /pub/news/tin/tin-beta.tar.gz

Billy Y..

Re: Tin: Bad overview record?
#21163
Author: Unknown
Date: Thu, 02 May 1996 00:00
29 lines
1463 bytes
Paul D Evans (evanspd@newton.ccs.tuns.ca) wrote:
: Hello,

: When using tin, with entering some groups, the message "Bad overview 
: record" comes up and a long dump of message numbers and ip addresses goes by.
: After it is done I can continue reading news just fine so it isn't a major
: problem. It is pretty annoying though.  Does anybody have any suggestions for
: avoiding this dump of bad overview records?


Paul -

I get this with TIN 1.2.   My IP provides this so I really don't have a 
choice when I log in via shell.  When I log in at home via PPP and use 
WinNV, I have no problem.  The only thing I have been doing his hitting 
'control-c' until the crap finishes.  I found that this helps scroll 
through it more quickly.  Yeah, I know its not a solution.  I came out 
here to ask the same question you did.

Can anyone out here answer this question ?

Thanks in advance !

Brett
zgeist@ee.net


Re: Tin: Bad overview record?
#21186
Author: Chris A. Mattingly
Date: Thu, 02 May 1996 00:00
38 lines
1907 bytes
Unknown (zgeist@mail.ee.net) wrote:
: Paul D Evans (evanspd@newton.ccs.tuns.ca) wrote:
: : Hello,
: 
: : When using tin, with entering some groups, the message "Bad overview 
: : record" comes up and a long dump of message numbers and ip addresses goes by.
: : After it is done I can continue reading news just fine so it isn't a major
: : problem. It is pretty annoying though.  Does anybody have any suggestions for
: : avoiding this dump of bad overview records?
: 
: 
: Paul -
: 
: I get this with TIN 1.2.   My IP provides this so I really don't have a 
: choice when I log in via shell.  When I log in at home via PPP and use 
: WinNV, I have no problem.  The only thing I have been doing his hitting 
: 'control-c' until the crap finishes.  I found that this helps scroll 
: through it more quickly.  Yeah, I know its not a solution.  I came out 
: here to ask the same question you did.
: 
: Can anyone out here answer this question ?
: 
: Thanks in advance !
: 
: Brett
: zgeist@ee.net

Solution - get the latest beta version.

-Chris
-- 
Chris Mattingly       | My views are not necessarily those of my employers
camattin@eos.ncsu.edu |
                      | "Good programmers write good code; great programmers
                      | 'borrow' good code."  -- Mike Gancarz

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