Subject: Re: Pine questions

From: Paul O Bartlett <[email-masked]>
Date: Thu, 15 Aug 1996 20:39:50 -0400

On Thu, 15 Aug 1996, Col.Brewster wrote:

> I have two questions regarding pine. Is there a way to make pine
> automatically uudecode or unzip a text file received through email?
[...]
> 
> Next, is there a way to make pine automatically go through a message I'm
> composing and "justify" the entire thing. It takes a long time going
> through a document and doing every paragraph manually.

    Unfortunately, the answer to both your questions is, No.

    If you're using Pine under Un*x, you might be able to set up
procmail to do any uudecoding or unzipping for you automatically (if
you can reliably identify the file types in incoming mail).  From your
second question, I presume you are using Pine's built-in composer.  You
have the option of specifying a much more powerful editor if you wish
(vi, emacs, whatever horror turns you on), and that alternate editor
may have such a justification capability.

Paul                             <[email-masked]>
----------------------------------------------------------
Paul O. Bartlett, P.O. Box 857, Vienna, VA 22183-0857, USA
Finger, keyserver, or WWW for PGP 2.6.2 public key 
Home Page:  URL: http://www.access.digex.net/~pobart

---

From: "Col.Brewster" <[email-masked]>
Date: Thu, 15 Aug 1996 10:47:15 -0400

I have two questions regarding pine. Is there a way to make pine
automatically uudecode or unzip a text file received through email? I'm
using pine through a unix shell account and I can decode or unzip manually
from the unix prompt but I find that time consuming.

Thanks

---

From: Don Sugarman <[email-masked]>
Date: Sun, 18 Aug 1996 12:52:05 -0400 (EDT)

> from the unix prompt but I find that time consuming.

If the message contains one uuencoded attachment, enable the pipe command
(in Setup/Config, if not already enabled), and pipe "|" to uudecode or
munpack.  

Don't know about unzip, since you would first have to munpack or uudecode,
then unzip.  Perhaps you could write a script called munzip to munpack
then unzip:
    munpack | unzip
and pipe to munzip.  (I'll leave it to you to try.  :)  Besides, there's
probably an easier way.)

> through a document and doing every paragraph manually.

I'll leave this for someone else.

Regards,

Don Sugarman
[email-masked]

---

From: [email-masked] (Tim Mooney)
Date: 19 Aug 1996 19:34:37 -0500

In article <[email-masked]>,
>     Unfortunately, the answer to both your questions is, No.

I'm pretty sure that one could use the `display-filters' option to do this.
The filter used to display the message would need to be fairly smart, but
otherwise there's no reason why it shouldn't work.

> may have such a justification capability.

Or at least the ability to

1) select a region of the input buffer.
2) run an external command on the selected region.

pico can do #1 but can't do #2, from what I can tell.

Tim
-- 
Tim Mooney                              [email-masked]
Information Technology Services         (701) 231-1076 (Voice)
Room 242-J1, IACC Bldg.                 (701) 231-8541 (FAX)
North Dakota State University, Fargo, ND 58105

---

From: "Leslie D. Waters" <[email-masked]>
Date: 16 Aug 1996 06:40:21 GMT

Paul O Bartlett ([email-masked]) wrote:
: On Thu, 15 Aug 1996, Col.Brewster wrote:

: > Next, is there a way to make pine automatically go through a message I'm
: > composing and "justify" the entire thing. It takes a long time going
: > through a document and doing every paragraph manually.

: From your
: second question, I presume you are using Pine's built-in composer.  You
: have the option of specifying a much more powerful editor if you wish
: (vi, emacs, whatever horror turns you on), and that alternate editor
: may have such a justification capability.

I use vi, and it most definitely has a formatting feature.  After typing
the paragraph, put the cursor in the first column of the first line, and
type !}fmt