-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Okay, it took me awhile, but I finally got this thing working. 
Basically, this is a REXX program that you can use to digitally sign 
Plain Text files with PGP 5.0 for OS/2.  That was the easy part.  What I
really wanted to do (and finally succeeded in doing) was to 
automatically sign posts I put out to Usenet with PlusPak:PMINews 2.0. 
I had hoped SouthSoft/Stardock would put that functionality into the 
product itself (after all, it's in PMMail), but it didn't happen, so I 
had to take matters into my own hands.

This program was written and tested with PGP 5.0 for OS/2.  I don't know
if it works with previous versions of PGP for OS/2, because I no longer 
have those on my hard drive.  I am releasing this code to the public 
domain as is.  If it doesn't work for you, feel free to modify it to 
your heart's content.  If you come up with any improvements, please let 
me know!

In order for this program to work, you must have a working installation 
of PGP 5.0 for OS/2.  The purpose of this document is NOT to explain how
that is accomplished; that's what the documentation that comes with PGP 
5.0 is for.

Edit PGPSign.CMD and review the documentation in the code.  If you don't
want the program to prompt you every time for your passphrase, set the 
variable "passphrase" at the beginning of the program.  If you want to 
be prompted for your passphrase, you must have IBM's Visual REXX 
extensions installed (available as VREXX2.ZIP from many OS/2 sites) or 
you can modify the source to prompt you using another mechanism.

Place the edited program in a directory on your path (recommended). 
Open PlusPak PMINews 2.0.  For each group that you'd like to post signed
messages open "GroupList... Settings" and flip to the "REXX Exits" tab. 
Check the "Article Send Exit" box, and fill in "PGPSign.CMD" in the 
"Script to Run" box.  You can optionally check or uncheck the "Execute 
Script in Foreground" box.  You MUST do this if you want to be prompted 
for your passphrase, and you modified the code to NOT use Visual REXX.

Enjoy!
Jaime A. Cruz, Jr.
jcruz@ibm.net

-----BEGIN PGP SIGNATURE-----
Version: PGPfreeware 5.0 OS/2 for non-commercial use
Comment: PGP 5.0 for OS/2
Charset: cp850

wj8DBQE2ORwPgvzYfxgMc34RAoAKAKDxZiiK38THPXWQf7FNjwxHmRhu0ACgr2Gq
x4/KWA2AsNgOXne9Q05Oqqs=
=J85p
-----END PGP SIGNATURE-----
