Title:  How do I use the search and replace feature in Pine 4?

Question:
I can't seem to get the search-and-replace feature to work in Pine -- is
there an easy way to use it?

Answer:
This feature can be used in two ways: (a) search and replace one occurrence
of a string, or (b) search and replace multiple occurrences of a string.
In both cases we assume that you are in "Compose", "Forward", or "Reply"
mode so you can modify the text, and your cursor is positioned in the 
body of the text as opposed to the Pine header.

Search and Replace One Occurrence
=================================
    
    Action                                        Comments
    ------                                        ---------------------
(1) Type   ^W                                     start search
(2) Type   the-string-to-search-for
(3) Type   ^R                                     start replacement
(4) Type   {Enter}  or {Return}
(5) Type   the-string-to-replace-it-with
(6) Type    or 

During this time, Pine prompts you with messages such as "Search" or
"Search (to replace)".  For example, to replace the first occurrence of
the string "Washington" with "North Oregon", you follow this sequence:

    ^W Washington ^R {Enter} North Oregon {Enter}


Search and Replace Multiple Occurrences
=======================================
This sequence is similar to the above one but contains some more steps:

    Action                                        Comments
    ------                                        ---------------------
(1) Type   ^W                                     start search
(2) Type   the-string-to-search-for
(3) Type   ^R                                     start replacement
(4) Type   {Enter} or {Return}
(5) Type   the-string-to-replace-it-with
(6) Type   ^X                                     replace all
(7) Type   {Enter} or {Return}
(8) Type   "Y" for every occurrence you wish
           to change, "N" for every one you
           wish to leave unchanged, and ^C to
           stop

So, to replace, say, the 1st, 4th, and 5th occurrences of
"Washington" with "North Oregon", you would enter this sequence:

    ^W Washington ^R {Enter} North Oregon ^X {Enter} Y N N Y Y ^C