Thread View: news.software.nn
7 messages
7 total messages
Started by Preston Hunt
Thu, 01 Dec 1994 19:15
Question - crossposts aren't being killed
Author: Preston Hunt
Date: Thu, 01 Dec 1994 19:15
Date: Thu, 01 Dec 1994 19:15
31 lines
1670 bytes
1670 bytes
I apologize if this has already been hashed out on the newsgroup, but I haven't seen any mention of it here or in the FAQ... so: According to the nn man pages, cross-filter-seq and cross-post can be used to automatically limit crossposts to appearing once when you read messages. I have the following lines in my ~/.nn/init file: set cross-filter-seq true set cross-post false Unfortunately, crossposted messages still appear in all the groups I read. Does anyone know what I'm doing wrong? (I'm using nn 6.5.0 with NOV support). And while I'm here, I'm also having problems with one of my killfile entries. I'm trying to kill articles with "atari" from any newsgroup in the *.answers hierarchy. I thought this would do it, but it doesn't seem to work: /.*\.answers:!s:atari Thanks in advance, Preston -- Preston Hunt (preston@ee.gatech.edu) Georgia Institute of Technology, Atlanta http://www.ee.gatech.edu/users/preston/
Using patterns in killfile entries
Author: Sven Guckes
Date: Fri, 02 Dec 1994 23:14
Date: Fri, 02 Dec 1994 23:14
23 lines
1459 bytes
1459 bytes
X-Old-Subject: Question - crossposts aren't being killed preston@ec37.residence.gatech.edu (Preston Hunt) writes: >I'm trying to kill articles with "atari" from any newsgroup in the *.answers >hierarchy. I thought this would do it, but it doesn't seem to work: >/.*\.answers:!s:atari You cannot use patterns in newsgroup names. (I think) Thus you must use the full names in killfile entries. Sven -- Example #1: alt.answers:!s:atari comp.answers:!s:atari news.answers:!s:atari rec.answers:!s:atari misc.answers:!s:atari soc.answers:!s:atari talk.answers:!s:atari Example #2: :!s:atari
Re: Using patterns in killfile entries
Author: Preston Hunt
Date: Sat, 03 Dec 1994 16:09
Date: Sat, 03 Dec 1994 16:09
29 lines
1822 bytes
1822 bytes
Sven Guckes <guckes@inf.fu-berlin.de> writes:
>preston@ec37.residence.gatech.edu (Preston Hunt) writes:
>>I'm trying to kill articles with "atari" from any newsgroup in the *.answers
>>hierarchy. I thought this would do it, but it doesn't seem to work:
>>/.*\.answers:!s:atari
>You cannot use patterns in newsgroup names. (I think)
>Thus you must use the full names in killfile entries.
That's what I thought at first, but here's an excerpt from the online
man pages (under the "format of killfile" subject, I think):
The group name field can have three forms:
news.group.name
If it is the name of a single news group (e.g. comp.unix), the entry
applies to that group only.
/regular expression
If it starts with a slash `/' followed by a regular expression (e.g.
/^news\..*), the entry applies to all groups whose name are matched by
the regular expression.
Preston
--
Preston Hunt (preston@ee.gatech.edu)
Georgia Institute of Technology, Atlanta
http://www.ee.gatech.edu/users/preston/
Re: Using patterns in killfile entries
Author: Claus L{gel Rasmussen
Date: Sat, 03 Dec 1994 17:52
Date: Sat, 03 Dec 1994 17:52
60 lines
2442 bytes
2442 bytes
Thus spake Sven Guckes <guckes@inf.fu-berlin.de>: [...] >You cannot use patterns in newsgroup names. (I think) >Thus you must use the full names in killfile entries. >Sven [...] Tadaaa - Sven, read the f...... manual! You certainly _can_ use regular expressions in kill file entries. Extract from nn (6.4.18) manual: < The group name field can have three forms: < < news.group.name < If it is the name of a single news group (e.g. < comp.unix), the entry applies to that group only. < < /regular expression < If it starts with a slash `/' followed by a regular < expression (e.g. /^news\..*), the entry applies to all < groups whose name are matched by the regular expres- < sion. < < empty < An empty group field will apply the entry to all < groups. Although this does not explain why preston's [initiator of this thread] kill entry did not work: /.*\.answers:!s:atari According to the manual it _should_ have the desired effect. Though; please check the setting of the "kill" variable (it should be set to true), the "case-fold-search" variable (also set to true) and make sure nn is not called with a -k option. But maybe the superflorious ".*" construct cause trouble; in my personal kill file I am using entries of the following form: /\.msdos:!s:dosshell That is: In all groups matching the ".msdos" pattern delete all "dosshell" references. It works. If you want to dive further into this problem the ":show kill" command and the "kill-debug" (then set to true) variable could be handy. -- Claus L. Rasmussen email: shakti@daimi.aau.dk Knudrisgade 14 B II voice: +45 86 18 42 65 8000 Aarhus C Denmark
Re: Using patterns in killfile entries
Author: Preston Hunt
Date: Mon, 05 Dec 1994 13:08
Date: Mon, 05 Dec 1994 13:08
36 lines
2093 bytes
2093 bytes
shakti@daimi.aau.dk (Claus L{gel Rasmussen) writes:
>Although this does not explain why preston's [initiator of this thread] kill
>entry did not work:
> /.*\.answers:!s:atari
>According to the manual it _should_ have the desired effect. Though; please
>check the setting of the "kill" variable (it should be set to true), the
>"case-fold-search" variable (also set to true) and make sure nn is not
>called with a -k option.
I finally got it working. I feel really stupid now, and I guess I should
take this experience as a lesson not to go poking around manually in the
kill file!
The problem was that I misread the instructions and was trying to put
too many keys in one entry (without a corresponding boolean operator):
/.*\.answers:!s:atari:amiga:acorn
The way I understand it, that line would need to be the following (or
something similar) to work:
/.*\.answers:!s|!s|!s:atari:amiga:acorn
>If you want to dive further into this problem the ":show kill" command and
>the "kill-debug" (then set to true) variable could be handy.
Thanks for this hint! This is what helped me figure everything out.
Preston
--
Preston Hunt (preston@ee.gatech.edu)
Georgia Institute of Technology, Atlanta
http://www.ee.gatech.edu/users/preston/
Re: Using patterns in killfile entries
Author: Thomas Mechtersheimer
Date: Tue, 06 Dec 1994 17:18
Date: Tue, 06 Dec 1994 17:18
20 lines
1595 bytes
1595 bytes
preston@ec37.residence.gatech.edu (Preston Hunt) writes:
>The way I understand it, that line would need to be the following (or
>something similar) to work:
>/.*\.answers:!s|!s|!s:atari:amiga:acorn
Is there any reason to use this instead of the following ?
/.*\.answers:!s:atari
/.*\.answers:!s:amiga
/.*\.answers:!s:acorn
Yes, it's only one line instead of three :-) but is it faster or anything else ?
Thomas
--
Emotions are alien to me. I'm a scientist.
-- Spock, "This Side of Paradise", stardate 3417.3
Thomas Mechtersheimer - Zum Hasenkampsplatz 1 - D-42553 Velbert - Germany
EMail: thomasm@mechti.wupper.de IRC-Nick: Mechti
Re: Question - crossposts aren't being killed
Author: Rick
Date: Wed, 07 Dec 1994 09:25
Date: Wed, 07 Dec 1994 09:25
15 lines
1464 bytes
1464 bytes
preston@ec37.residence.gatech.edu (Preston Hunt) writes: >Unfortunately, crossposted messages still appear in all the groups I >read. Does anyone know what I'm doing wrong? (I'm using nn 6.5.0 >with NOV support). Uncomment "Xref:full" in /usr/lib/news/overview.fmt. Rick. -- Rick Lyons : C/C++/X/Unix/DOS/86/DSP | "My ethicator machine must've had rick@razorback.brisnet.org.au | a built-in moral compromise Work: +61.7.837.4008 (2300-0700 GMT) | spectral release phantasmatron! Home: +61.7.349.2764 (0800-1300 GMT) | I'm a genius!"
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