Thread View: news.software.nn
8 messages
8 total messages
Started by Steve Pearson
Tue, 08 Feb 1994 17:27
Pre-selecting all articles in a group
Author: Steve Pearson
Date: Tue, 08 Feb 1994 17:27
Date: Tue, 08 Feb 1994 17:27
18 lines
1170 bytes
1170 bytes
A quick question: I want to select all articles in a group, no matter what. I ought to be able to use the kill-select function, then give it a regular expression of *, meaning match all. This does not work. 1) Is this a bug, or a feature? :) 2) Is there another way to do this? 3) Am I totally out.to.lunch? Thanks in advance, Steve -- ***** Steve Pearson / steve@nid.csc.com / New Years Resolution: Computer Sciences Corp., Lompoc, CA / If I have to play craps, I can Can the AFC ever win the Super Bowl? / play quarter craps, and lose less.
Re: Pre-selecting all articles in a group
Author: Dave Wolfe
Date: Wed, 09 Feb 1994 18:26
Date: Wed, 09 Feb 1994 18:26
12 lines
1331 bytes
1331 bytes
In <CKx1uA.4KD@nid.csc.com> steve@nid.csc.com (Steve Pearson) writes: >A quick question: I want to select all articles in a group, no matter >what. I ought to be able to use the kill-select function, then give >it a regular expression of *, meaning match all. This does not work. `*' is NOT a regular expression; it is a file glob. Try something like `.*' or `^' to match all articles. -- Dave Wolfe | 6501 William Cannon Dr. W. | (512) 891-3246 Motorola SPS | Austin, TX 78735-8598 | dwolfe@pets.sps.mot.com
Re: Pre-selecting all articles in a group
Author: Gary Morris
Date: Fri, 11 Feb 1994 19:19
Date: Fri, 11 Feb 1994 19:19
12 lines
1043 bytes
1043 bytes
In <CKx1uA.4KD@nid.csc.com> steve@nid.csc.com (Steve Pearson) writes: >A quick question: I want to select all articles in a group, no matter >what. I ought to be able to use the kill-select function, then give >it a regular expression of *, meaning match all. This does not work. I use an expression of ^, which will match even a blank subject line. Ie, in .nn/kill: rec.humor.funny:+s/:^ --GaryM
Re: Pre-selecting all articles in a group
Author: Daniel Kohn
Date: Sun, 13 Feb 1994 06:01
Date: Sun, 13 Feb 1994 06:01
38 lines
2305 bytes
2305 bytes
In <CKx1uA.4KD@nid.csc.com> steve@nid.csc.com (Steve Pearson) writes: >>A quick question: I want to select all articles in a group, no matter >>what. I ought to be able to use the kill-select function, then give >>it a regular expression of *, meaning match all. This does not work. garym@alsys.com (Gary Morris @ignite) writes: >I use an expression of ^, which will match even a blank subject line. >Ie, in .nn/kill: >rec.humor.funny:+s/:^ That works because every subject line has a carriage return, and therefore a beginning of line. ^ is the regular expression for beginning of line. A nice derivative of that is to look for only blank lines using the regexp ^$ which means beginning and end of line with nothing in between. But to answer Steve's original question, his line didn't work because nn uses different characters for its regexp than tcsh (and other programs). The regexp for all is a period (.). The lines from my kill file are: rec.humor.funny:+n/|s/:.:. rec.humor.funny:s:Monthly Posting This way, if anything is in the name or (|) subject, then the article is selected. I then deselect without killing the Monthly Posting informational posts. Now that I think about it, Gary's suggestion of a ^ would probably work better here. -- -Dan kohn@cs.swarthmore.edu (Dan Kohn) -- -Dan kohn@cs.swarthmore.edu (Dan Kohn)
Re: Pre-selecting all articles in a group
Author: John Gates
Date: Sun, 13 Feb 1994 23:21
Date: Sun, 13 Feb 1994 23:21
27 lines
1846 bytes
1846 bytes
steve@nid.csc.com (Steve Pearson) writes: >A quick question: I want to select all articles in a group, no matter >what. I ought to be able to use the kill-select function, then give >it a regular expression of *, meaning match all. This does not work. I would like to also: the only way I know now is to do "G groupname" and select "a" for looking at all the articles. Seems there should be a way to do that without having to type the group name, possibly by using the "JJ A" to unmark all the read or seen articles and then perhaps do a ^L to repaint the screen, this time with ALL the articles listed. Obviously this doesn't work - heh! Any clues ? Could you mail to me ? jgates@hebron.connected.com Gracias ! -- John Gates | Amateur Radio: N7BTI Edmonds, WA USA | Internet: jgates@hebron.connected.com 206 774-3777 | Compuserve: 72106,367 -- John Gates | Amateur Radio: N7BTI Edmonds, WA USA | Internet: jgates@hebron.connected.com 206 774-3777 | Compuserve: 72106,367
Re: Pre-selecting all articles in a group
Author: Dave Wolfe
Date: Wed, 16 Feb 1994 18:51
Date: Wed, 16 Feb 1994 18:51
16 lines
1397 bytes
1397 bytes
In <2jkfn1$216@larch.cc.swarthmore.edu> kohn@cs.swarthmore.edu (Daniel Kohn) writes: >But to answer Steve's original question, his line didn't work because nn >uses different characters for its regexp than tcsh (and other programs). >The regexp for all is a period (.). No it's not: that's the RE for any single character. >Now that I think about it, Gary's suggestion of a ^ would probably >work better here. Primarily because it would select even null subjects. -- Dave Wolfe | 6501 William Cannon Dr. W. | (512) 891-3246 Motorola SPS | Austin, TX 78735-8598 | dwolfe@pets.sps.mot.com
Re: Pre-selecting all articles in a group
Author: Nancy McGough
Date: Fri, 18 Feb 1994 01:51
Date: Fri, 18 Feb 1994 01:51
29 lines
1763 bytes
1763 bytes
>In <CKx1uA.4KD@nid.csc.com> steve@nid.csc.com (Steve Pearson) writes: >>A quick question: I want to select all articles in a group, no matter >>what. I ought to be able to use the kill-select function, then give >>it a regular expression of *, meaning match all. This does not work. garym@alsys.com (Gary Morris @ignite) writes: >I use an expression of ^, which will match even a blank subject line. > >Ie, in .nn/kill: > >rec.humor.funny:+s/:^ I like the above solution but just fyi another possibility is to use an "on entry" command group in your init file, e.g.: on entry news.software.nn :local kill off :local auto-read-mode-limit -1 end The "kill off" says to not auto kill/select anything and "auto-read-mode-limit -1" says select everything and enter reading mode (i.e., skip menu mode). Enjoy, Nancy
Re: Pre-selecting all articles in a group
Author: Russell Schulz
Date: Fri, 25 Feb 1994 16:03
Date: Fri, 25 Feb 1994 16:03
16 lines
1620 bytes
1620 bytes
dwolfe@pffft.sps.mot.com (Dave Wolfe) writes: >>A quick question: I want to select all articles in a group, no matter >>what. I ought to be able to use the kill-select function, then give >>it a regular expression of *, meaning match all. This does not work. > > `*' is NOT a regular expression; it is a file glob. Try something like > `.*' or `^' to match all articles. or, probably even quicker than `.*', just `.' -- but that will require one character at least. `^' just requires a beginning, which most finite things have :-) (why spend the time searching for a maximal .* when . will do...) -- Russell Schulz russell@alpha3.ersys.edmonton.ab.ca ersys!rschulz Shad 86c
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