Subject: Searching body of messages

From: [email-masked] (Daniel Barton)
Date: 1 Nov 1995 18:12:41 GMT

Is there any way in pine to search the body of the messages for a text
string?  "W" only searches the info that's in the index.  The only way
I know to do it is to leave pine and grep through the mail directory or
mail folder.

If not, can I add this as yet-another requirement?  I'd like to be able 
to specify to search subjects only, search all mail (including the body of the
message) in a folder, and search all mail (including body) of a folder
collection.

---------------------------------------------------------------
|  Daniel M. Barton              Internet:  [email-masked]  |
|  MCI Internet Services         World Wide Web:              |
|  Cary, North Carolina, USA        http://infopage.mci.net   |
---------------------------------------------------------------

---

From: Mike Brudenell <[email-masked]>
Date: Thu, 2 Nov 1995 11:33:50 +0000 (GMT)

You want to use the "Select" (";") command.

First you must enable this by going to the Setup Configuration screen (S 
then C from the Main Menu).  Turn on the "enable-aggregate-command-set" 
feature, then Exit (E) back to the Main Menu.

In the Folder Index (the list summarising your messages) type:

	;		...Select messages
	T		...based on a text item
	A		...all message text
	string		...the search string
	Return

The selected messages get an "X" shown at the start of their entries.

You can now do either or both of:

	Z		...Zoom the list down to just show the selected
			   messages  (another Z will unzoom it)
or
	A		...to apply a command to all the selected messages

You can cancel the list of selected messages by typing "; A" to unselect 
them all.  (If none are selected this same sequence selects them all.)

Mike Brudenell                                         <[email-masked]>
------------------------------------------------------------------------
The Computing Service, University of York, Heslington, York, YO1 5DD, UK
Tel: +44-1904-433811  FAX: +44-1904-433740  http://www.york.ac.uk/~pmb1/

---

From: "Daniel M. Barton" <[email-masked]>
Date: Thu, 2 Nov 1995 09:36:47 -0500 (EST)

Thanks a bunch to both of you!  This solution works great!

Do you know of a way to search all the mail in all the folders of a 
folder collection?  I don't think pine does this yet, right?

Regards, Daniel

---

From: Mike Brudenell <[email-masked]>
Date: Thu, 2 Nov 1995 15:41:10 +0000 (GMT)

Hi -

You are correct... as far as I know Pine cannot (yet?) search all folders 
of a folder collection.

---

From: Will Linden <[email-masked]>
Date: Thu, 2 Nov 1995 16:20:37 -0500 (EST)

> I know to do it is to leave pine and grep through the mail directory or
  Use ";" for Select, "T" for Text, and "A" for entire message text, then 
enter the search string. Messages containing the string will be "selected".

---

From: Phil Tompkins <[email-masked]>
Date: Thu, 2 Nov 1995 22:47:19 -0500

On 1 Nov 1995, Daniel Barton wrote:

> string? 

" ; t a " then enter string.

Phil

---

From: Will Linden <[email-masked]>
Date: Mon, 13 Nov 1995 23:23:46 -0500 (EST)

> I know to do it is to leave pine and grep through the mail directory or
 I thought this had been recently answered. The method is:
  ";" -- for "Select"
  "T" -- for "Text"
  "A" -- for All of message text.

  You can then "Zoom" to the selected messages, or use "A" and "S" to 
save them to a folder, and so forth.