Subject: [Q] login name and password?

From: Maged Mahmoud Hamed <[email-masked]>
Date: 13 Oct 1995 17:09:19 GMT

Hi..

I just started using pine, it's version 3.91. Whenever I wanna check my
messages, it asks for HOST, LOGIN NAME, and PASSWORD.
This is pretty annoying! how can I supress this check everytime I wanna 
use pine?
thanks..

--Maged

---

From: CW2 Rob Miletich <[email-masked]>
Date: Fri, 13 Oct 1995 21:40:23 -0500 (CDT)

Is there any way to pipe messages that are "about to be composed" or 
"about to be replied to" through external programs?

I'd like to take a message that I get, and pass it through to a sed script
or through PGP for signaturing, and have it pop back into the pine
composer of my choice after it does its thing? 

I guess I'd like to take the contents of the editor, invoke an alternate 
script with ctrl-_, and have it do its magic... 

Anybody have a smart little trick for this or just a hint of how to 
redirect the editor contents to a temp file, dump the contents of editor, 
and read-in the contents of the processed file?

thanks.
+-------------------------------------------------------------------+
| Rob Miletich          CSSAMO - 101st Support Group (Corps), FTCKY |
| [email-masked]  handle=rm401   DSN 635-7293/4679 |
+-------------------------------------------------------------------+

---

From: Jeffrey Goldberg <[email-masked]>
Date: Sat, 14 Oct 1995 20:00:54 +0100

> script with ctrl-_, and have it do its magic... 

That is exactly the way to do it.  You need to write a script that
takes a file name argument (which will be provided by pine), does it's
stuff on that file, and then calls your favorite editor on the modified
file.  It just needs to write out its changes to the same file name
before it exits.

If you want a model to work from, take a look at mkpgp (a csh script which 
when called as the alternative editor handles PGP stuff).  You can
get it from

Send mail to

 [email-masked]

with the subject "send mkpgp" (I think) for info.
You can also get it from various PGP archives (one that I know has
it, but is a bit far from you is ftp.ox.ac.uk in /pub/crypto/pgp/utils

There are other similar scripts, one called BAP which I believe is
a bourne shell script, that do similar things.

Anyway, you can take one of these, and rip out the calls to PGP and 
ispell, and put in what you want.

Jeffrey Goldberg
    Email:	[email-masked]
    WWW:	<http://WWW.Cranfield.ac.uk/public/cc/cc047/>