Article View: news.software.nn
Article #313searching in nn?
From: leo%aai
Date: Sun, 29 Apr 1990 03:33
Date: Sun, 29 Apr 1990 03:33
68 lines
4102 bytes
4102 bytes
I posted the article below on April 2 and saw NO replies or comments! Maybe
it didn't get posted externally! Anyway, what do you devoted nn users think
about nn's searching capabilities? Described below are the features I miss
when using nn instead of rn.
---------------------------------------------------------------------------
nn really shines at user selection of articles thereby allowing the user to
quickly skim through large volumes of news only pulling out the things of
interest. rn shines at selecting and manipulating articles based on user
specified criteria. Since Kim asked for suggestions for future enhancements,
here's what I'd like to see:
Note that these apply to article selection level.
/pattern [nn has the = command, but no recall]
Scan forward for article containing pattern in the
subject. See the section on Regular Expressions.
Together with the escape substitution facility
described later, it becomes easy to search for vari-
ous attributes of the current article, such as sub-
ject, article ID, author name, etc. The previous
pattern can be recalled with "<esc>/". If pattern
is omitted, the previous pattern is assumed.
/pattern/h [nn only searchs subject line, can't search on id, etc.]
Scan forward for article containing pattern in the
header.
/pattern/a [this is what I miss most in nn]
Scan forward for article containing pattern anywhere
in article.
/pattern/r [this is very handy to find things without reentering group]
Scan read articles also.
/pattern/c [having this can save multiple searchs due to capitalization]
Make search case sensitive. Ordinarily upper and
lower case are considered the same.
/pattern/modifiers:command{:command}
[with this you can do things like select all articles containing a
certain string and write them to a file whether or not they have
been previously read or seen]
Apply the commands listed to articles matching the
search command (possibly with h, a, or r modifiers).
Applicable commands include 'm' (mark as unread),
'M' (delayed mark as unread), 'j' (mark as read), "s
dest" (save to a destination), "!command" (shell
escape), "=" (print the subject) and "C" (cancel).
If the first command is 'm' or 'M', modifier r is
assumed. A K may be included in the modifiers (not
the commands) to cause the entire command (sans K)
to be saved to the local KILL file, where it will be
applied to every article that shows up in the news-
group.
For example, to save all articles in a given news-
group to the line printer and mark them read, use
"/^/|lpr:j". If you say "/^/K|lpr:j", this will
happen every time you enter the newsgroup.
?pattern
Scan backward for article containing pattern in the
subject. May be modified as the forward search is:
?pattern?modifiers[:commands]. It is likely that
you will want an r modifier when scanning backward.
--
Leo leo%aai@uunet.uu.net ...!uunet!aai!leo
Technical Details
Message-ID:
<1990Apr29.033305.24254%aai@uunet.uu.net>Path:
mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!fauern!ira.uka.de!snorkelwacker!mit-eddie!rutgers!ucsd!sdd.hp.com!samsung!uunet!aai!leoShow Full Headers
Complete Article Headers
Message-ID: <1990Apr29.033305.24254%aai@uunet.uu.net> Subject: searching in nn? Date: Sun, 29 Apr 1990 03:33:05 +0000 From: leo%aai@uunet.uu.net Path: mbox-mo1.pugleaf.net!archive.usenet.blueworldhosting.com!illumos!news.pugleaf.net!.TX!archive.pugleaf.net!archive.newsdeef.eu!archive!mbox2nntp-news.software.nn.mbox.zip!gmdzi!unido!fauern!ira.uka.de!snorkelwacker!mit-eddie!rutgers!ucsd!sdd.hp.com!samsung!uunet!aai!leo Newsgroups: news.software.nn Organization: Amerinex Artificial Intelligence Lines: 68 Posted: Sun Apr 29 04:33:05 1990