Subject: Word search

From: Ralph Slooten <[email-masked]>
Date: Mon, 18 Dec 2000 22:20:07 +0100 (CET)

Is there a way in Pine of searching through certain folders looking for
text in the messages themselves? I mean not just searching the addresses or
Subjects but actually the Message Text itself.

Many thanks,
Ralph

-- 
ICQ: 25543458             Homepage: http://www.axllent.cjb.net
PGP Public Key: http://www.geocities.com/axllent_nl/pubpgp.txt

-- 
-----------------------------------------------------------------
 For information about this mailing list, and its archives, see: 
 http://www.washington.edu/pine/pine-info/
-----------------------------------------------------------------

---

From: "Karl F. Larsen" <[email-masked]>
Date: Mon, 18 Dec 2000 15:13:25 -0700 (MST)

If you have "grep" either the dos version I *THINK* exists, or the Unix
one I use. It's easy to search for words. For instance, if all your mail
is in a file called inbox, you go to the directory with inbox and type:

	$ grep odell* inbox

and grep prints out every line containing odell* in it. If you need you
can tell it to print 10 lines Before odell* like this:

	$ grep -B 10 odell* inbox

and it will do that.

> Subjects but actually the Message Text itself.

Yours Truly,

  	 - Karl F. Larsen, [email-masked]  (505) 524-3303  -

---

From: Satya <[email-masked]>
Date: Tue, 19 Dec 2000 09:06:16 +0530 (IST)

>Subjects but actually the Message Text itself.

;ta will do it.

-- 
Satya. <URL:http://satya.virtualave.net/>
US-bound grad students! For pre-apps, see <URL:http://quickapps.cjb.net/>
Scotty, hurry!	beam me u1šæ#c(&NO CARRIER

---

From: Ralph Slooten <[email-masked]>
Date: Tue, 19 Dec 2000 07:17:24 +0100 (CET)

;ta does just want I want to, thanks :-)

Ralph

---

From: "Karl F. Larsen" <[email-masked]>
Date: Tue, 19 Dec 2000 05:39:44 -0700 (MST)

What in the world is ;ta?

Yours Truly,

---

From: Ralph Slooten <[email-masked]>
Date: Tue, 19 Dec 2000 16:42:40 +0100 (CET)

try it :-) When you are in a folder, with all you messages, type ";" then
"t" then "a".

; = Select Criteria
t = Text
a = All text

Then you can type in a word / phrase to search for, and all messages with
that text will be selected :-)

---

From: "Karl F. Larsen" <[email-masked]>
Date: Tue, 19 Dec 2000 08:53:39 -0700 (MST)

I did that and pine always says ; "unknown" t "take address" and a
unknown. So I think your havinhg fun with me...:-)

Yours Truly,

---

From: David Dyck <[email-masked]>
Date: Tue, 19 Dec 2000 07:59:26 -0800 (PST)

> unknown. So I think your havinhg fun with me...:-)

You need to enable the setup/config FEATURE:
	enable-aggregate-command-set

Setting this feature enables the commands and subcommands that relate to
performing operations on more than one message at a time. We call these
"aggregate operations". In particular, the "; Select", "A Apply", and
"Z Zoom" commands are enabled by this feature. Select is used to "tag"
one or more messages meeting the specified criteria. Apply can then
be used to apply any message command to all of the selected/tagged
messages. Further, the Zoom command allows you to toggle the MESSAGE
INDEX view between just those Selected and all messages in the folder.

This feature also enables the "^X" subcommand in the MESSAGE INDEX WhereIs
command which causes all messages matching the WhereIs argument to become
selected; and the Select, Select Current, and ZoomMode commands in the
FOLDER LIST screen.

---

From: Ralph Slooten <[email-masked]>
Date: Tue, 19 Dec 2000 17:03:11 +0100 (CET)

No no, you are trying that when you have a message open. Try it when you
see the list of all messages (that would be when you go look in a Folder,
not in a message, or if you press the "," key now and try it). I just tried
what you did and yeah you are right, but this method is used to search all
messages in a folder, not find a word in the E-mail you are reading.

Give it a shot :-)

Ralph

---

From: Eduardo Chappa <[email-masked]>
Date: Tue, 19 Dec 2000 10:29:01 -0800 (PST)

*** Ralph Slooten ([email-masked]) wrote in the pine-info list...:

:) Is there a way in Pine of searching through certain folders looking
:) for text in the messages themselves? I mean not just searching the
:) addresses or Subjects but actually the Message Text itself.
[snip]

:) ;ta does just want I want to, thanks :-)

I don't understand, I thought you wanted something that searched only in
the body of the message, this command also searches in the headers, so if
you do ";ta "from" <cr>" that will select all messages. What you need is
the ability to restrict your search, that can only be done with a patch,
which you can get from my web site (address below).

-- 
Eduardo
http://www.math.washington.edu/~chappa/pine/