🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: news.software.nn
2 messages
2 total messages Started by Andy Burgess Wed, 21 Apr 1993 22:27
Changing nn to search articles while in menu
#4088
Author: Andy Burgess
Date: Wed, 21 Apr 1993 22:27
16 lines
1211 bytes
I am going to modify nn to allow searching the entire article
for a pattern while in the menu.

I will probably add an extended command, say ':search <pattern>'
that would select the articles that contained the pattern.

Please email me or post if you have any related features
or ideas that I may want to add while I'm at it.

Thanks
Andy

-- 
==============================================================================
Andrew A. Burgess            aab@cichlid.com              voice (408) 335 4779
==============================================================================
Re: Changing nn to search articles while in menu
#4086
Author: Nancy McGough
Date: Thu, 22 Apr 1993 15:11
67 lines
3495 bytes
In <1993Apr21.222759.17392@cichlid.com> aab@cichlid.com (Andy Burgess) writes:
>I am going to modify nn to allow searching the entire article
>for a pattern while in the menu.
>
>I will probably add an extended command, say ':search <pattern>'
>that would select the articles that contained the pattern.
>
>Please email me or post if you have any related features
>or ideas that I may want to add while I'm at it.

This would be a great addition.	 Here are some ideas.

Rather than creating an extended command, how about using 
nn's existing search commands (G and =).  This way things 
like regular expressions, case sensitivity, and which 
articles to search can be specified in the usual way.  For 
G you could change the prompt from (+./~ %=sneN) to:

 (+./~ %=snbaN)

Where s means subject, n means name, b means body, and a means
all.  I'd also throw in h for header so you'd have:

 (+./~ %=snhbaN)

One advantage of having h as on option is it would make it easy 
to search for message ID.  Now I use rn to do this.

I'd have all (a) mean header and body.  I'd remove the e option for 
searching both subject and name because it doesn't seem very
useful.  (Does anyone use this?  What's a scenario where it's
needed?)

Another request that was discussed a while ago that I'd really
like to see is to have name (n) searches search the 
whole From header.  That way you can do things like select
everything posted by people at microsoft.com.  If you do this
you might want to change n to f, but n is probably fine.

For the find command (=) I guess you could expand the role of
the select-on-sender variable but it probably only makes
sense to have cached information searchable with =.

Since full text searching can take a long time it would
be nice to be able to do the following:
 * show hits as they are found
 * allow user to stop search at any time and view
   partial results
 * allow user to specify whether to search articles
   from newest to oldest or oldest to newest. That
   way if the user is searching for a *recent* article
   that contained a word they can find it faster by 
   specifying newest to oldest.  If they know it's
   an older article they could specify oldest to
   newest.
 * allow user to specify whether to search read or
   unread or both.  This is probably only really 
   useful if retain-seen-status is set.
*  allow searches to go on in the background so
   user can continue reading while the search is
   happening.

Thanks for asking for input!
Nancy

-- 
nancym@u.washington.edu
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