Thread View: news.software.readers
6 messages
6 total messages
Started by Milton Neusner
Wed, 28 Feb 1996 00:00
tin killfile question
Author: Milton Neusner
Date: Wed, 28 Feb 1996 00:00
Date: Wed, 28 Feb 1996 00:00
6 lines
597 bytes
597 bytes
How can I get tin to kill an article that is too big? that is it has too many lines. ..
Re: tin killfile question
Author: Felix E. Tilley
Date: Mon, 18 Mar 1996 00:00
Date: Mon, 18 Mar 1996 00:00
17 lines
1033 bytes
1033 bytes
In article <4h0bbi$9fo@spectator.cris.com>, Neutron@cris.com (Milton Neusner) wrote: > How can I get tin to kill an article that is too big? that is it has > too many lines. > > . Come to think of it, how can you tell how big an article is before you download it? I suspect that the news server S/W (INN usually ??) does not supply this information to the news reader, but I don't know that for a fact. Can any INN gurus answer this? FET
Re: tin killfile question
Author: Olly Betts
Date: Tue, 19 Mar 1996 00:00
Date: Tue, 19 Mar 1996 00:00
33 lines
1882 bytes
1882 bytes
In article <ftilley-1803962042490001@s41.tucslip.indirect.com>, Felix E. Tilley <ftilley@indirect.com> wrote: >In article <4h0bbi$9fo@spectator.cris.com>, Neutron@cris.com (Milton >Neusner) wrote: > >> How can I get tin to kill an article that is too big? that is it has >> too many lines. > >Come to think of it, how can you tell how big an article is before you >download it? I suspect that the news server S/W (INN usually ??) does not >supply this information to the news reader, but I don't know that for a >fact. There's a 'Lines:' header which gives the length of the body of the article in lines. It's optional, but seems to be present on the vast majority of articles these days. It's also quick to kill on, as 'Lines:' is one of the header lines in the overview file, so newsreaders which support XOVER can kill on it without fetching the article. As for the original quetion, I don't know what tin's killfiles look like, but for trn 3.1 or above, something like this should do the job: /[1-9][0-9][0-9][0-9]/HLines:j Or for rn and older versions of trn: /^Lines:.*[1-9][0-9][0-9][0-9]/h:j Olly -- cool wet grass cool wet grass cool wet grass cool wet grass cool wet grass
Re: tin killfile question
Author: Steve Howie
Date: Tue, 19 Mar 1996 00:00
Date: Tue, 19 Mar 1996 00:00
38 lines
1987 bytes
1987 bytes
Felix E. Tilley (ftilley@indirect.com) wrote: : In article <4h0bbi$9fo@spectator.cris.com>, Neutron@cris.com (Milton : Neusner) wrote: : : > How can I get tin to kill an article that is too big? that is it has : > too many lines. : > : > . : : : Come to think of it, how can you tell how big an article is before you : download it? I suspect that the news server S/W (INN usually ??) does not : supply this information to the news reader, but I don't know that for a : fact. Can any INN gurus answer this? : If your newsreader supports the Lines: header you can. Otherwise - no. INN allows you to specify maximum article size with the MAX_ART_SIZE variable in "config.data". Any incoming article exceeding this size will be rejected and a log entry produced. The article is not stored on the server, so TIN has no way of seeing it in any case. TIN 1.3 supports killing articles by number of Lines,but I don't think 1.2 does. Scotty ================================================================= Steve Howie Email: showie@uoguelph.ca NetNews and Listserv Admin. Phone: (519) 824-4120 x2556 Computing and Communications Svcs. Fax: (519) 763-6143 University of Guelph If it's not Scottish its CRRRRRAAAAAAAAAAAAAAPPPPP =================================================================
Re: tin killfile question
Author: Phil Edwards
Date: Thu, 21 Mar 1996 00:00
Date: Thu, 21 Mar 1996 00:00
60 lines
2830 bytes
2830 bytes
With <ftilley-1803962042490001@s41.tucslip.indirect.com>, it seems Felix E. Tilley (ftilley@indirect.com) sez: + In article <4h0bbi$9fo@spectator.cris.com>, Neutron@cris.com (Milton + Neusner) wrote: + + > How can I get tin to kill an article that is too big? that is it has + > too many lines. + > + + Come to think of it, how can you tell how big an article is before you + download it? I suspect that the news server S/W (INN usually ??) does not + supply this information to the news reader, but I don't know that for a + fact. Can any INN gurus answer this? + + FET For tin 1.22 you may be out of luck, I honestly am not certain. For 1.3 beta (the location of which is reposted every 48 hours), you can change the .tin/filter file, which fourtunately is self-commenting: # Global & local filter file for the TIN newsreader # # Global format: # scope=STRING Newsgroups (ie. comp.*) [mandatory] # type=NUM 0=kill 1=auto-select (hot) [mandatory] # case=NUM Compare=0 / ignore=1 case when filtering # subj=STRING Subject: line (ie. How to be a wizard) # from=STRING From: line (ie. *Craig Shergold*) # msgid=STRING Message-ID: line (ie. <123@ether.net>) # lines=NUM Lines: line (default 0) # time=NUM Filter period in days (default 28) # # Local format: # group=STRING Newsgroup (ie. alt.flame) [mandatory] # type=NUM 0=kill 1=auto-select (hot) [mandatory] # case=NUM Compare=0 / ignore=1 case when filtering # subj=STRING Subject: line # from=STRING From: line # msgid=STRING Message-ID: line # lines=NUM Lines: line # time=NUM Filter period in days # # type=... However, I'm not entirely sure whether/how you can do comparisons, say "lines>400" or "lines= >400" etc. Experimentation is clearly indicated. :-) Luck++; Phil -- #include<std/disclaimer.h> The gods do not protect fools. Fools finger pedwards@gamma.cs.wright.edu are protected by more capable fools. email pedwards@valhalla.cs.wright.edu -Larry Niven
Re: tin killfile question
Author: Urs Janßen
Date: Fri, 22 Mar 1996 00:00
Date: Fri, 22 Mar 1996 00:00
19 lines
1298 bytes
1298 bytes
In <4is4qs$2s0@valhalla.cs.wright.edu> Phil Edwards <pedwards@valhalla.cs.wright.edu> wrote: � However, I'm not entirely sure whether/how you can do comparisons, � say "lines>400" or "lines= >400" etc. Experimentation is clearly � indicated. :-) lines<400 lines=400 lines>400 are the 3 recognized formats... urs -- Jef Poskanzer: "When people aren't stupid Usenet is even more useful. Too bad this happens so rarely."
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