Article View: news.software.readers
Article #4036Re: tin1.1pl9 - doesn't ask subscribe to new newsgroups - why?
From: Colin Macleod
Date: Thu, 29 Apr 1993 17:05
Date: Thu, 29 Apr 1993 17:05
37 lines
2399 bytes
2399 bytes
Jim Morris (jegm@sgi.com) wrote: ` I have just noticed that PL9 of tin doesn't ask if I want to subscribe ` to new newsgroups, like PL8 did. I have RTFM'd and looked at the ` CHANGELOG and see nothing relating to this behaviour. I don't know if this matches your setup, but I found that tin had a problem with reading the newgroups list via nntp from INN. I've sent a patch for this to Iain Lea and it should be in the next release, but in case you're in a hurry here it is. The problem was that the list INN returns consists of lines of the form: <groupname> <first-number> <last-number> <posting-flag> but tin expects only the groupname on each line. *** active.c.orig Fri Apr 9 18:03:58 1993 --- active.c Fri Apr 9 19:38:03 1993 *************** *** 382,388 **** break; } strncpy (old_active[num].name, buf, sizeof (old_active[num].name)); ! old_active[num].len = strlen (old_active[num].name)-1; old_active[num].name[old_active[num].len] = '\0'; old_active[num].visited = FALSE; num++; --- 382,388 ---- break; } strncpy (old_active[num].name, buf, sizeof (old_active[num].name)); ! old_active[num].len = strcspn (old_active[num].name, " \t\n"); old_active[num].name[old_active[num].len] = '\0'; old_active[num].visited = FALSE; num++; ______________________________________________________________________________ Colin Macleod, Technical Officer, Phone: 0382-23181 x4839 Dundee University Maths & Computer Science Dept. 23 Perth Road, Dundee DD1 4HN, Scotland. E-Mail: cmacleod@mcs.dundee.ac.uk
Technical Details
Message-ID:
<1rp1tg$mat@dux.dundee.ac.uk>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!dundee.ac.uk!ouzo!cmacleodReferences:
<1rn6re$rp7@fido.asd.sgi.com>Show Full Headers
Complete Article Headers
Message-ID: <1rp1tg$mat@dux.dundee.ac.uk> Subject: Re: tin1.1pl9 - doesn't ask subscribe to new newsgroups - why? Date: Thu, 29 Apr 1993 17:05:52 +0000 From: cmacleod@ouzo.mcs.dundee.ac.uk (Colin Macleod) References: <1rn6re$rp7@fido.asd.sgi.com> Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.readers.mbox.zip!gmd.de!newsserver.jvnc.net!howland.reston.ans.net!agate!doc.ic.ac.uk!dundee.ac.uk!ouzo!cmacleod Newsgroups: news.software.readers Organization: Maths & C.S. Dept., Dundee University, Scotland, UK Lines: 37 NNTP-Posting-Host: ouzo.mcs.dundee.ac.uk X-Newsreader: TIN [version 1.1 PL9]