Subject: Re: Perl script for PGP as display-filter with complete dialo

From: [email-masked] (Jie Yuan)
Date: 26 Apr 1996 11:47:10 GMT

In article <[email-masked]>,
	[email-masked] (Jon Trulson) writes:
>
>	Hmmm... Not to nitpick here, but in the shell script I wrote to 
>act as the displayfilter, I simply used:
>
>#!/bin/ksh
>
>pgp
>
>echo "\n\nPress [RETURN] to continue" >/dev/tty
>read junk </dev/tty
>exit 0
> 
>	Of course this will only work on unix, but it's short and simple, 
>and it works just fine...The key is the redirects from /dev/tty...

This is great!  I tested this script and found it works well!  Thanks
Jon!

Well, I tried it under c-shell (just replace the ksh with csh).

Jie
-- Jie Yuan, PhD - U. Cincinnati - Pharmacology & C.B. --
== POBox 670575, Cin., OH 45267-0575  =  513-558-2352  ==
== [email-masked] = www.uc.edu/~yuanj =  using Knews  ==
== finger -l [email-masked] for my PGP pub. key=

---

From: [email-masked] (Jon Trulson)
Date: 25 Apr 1996 17:36:30 GMT

-----BEGIN PGP SIGNED MESSAGE-----

Jie Yuan ([email-masked]) wrote:
: I posted this script to this group in response to the discussion of 
: using PGP while in Pine.  A few people asked for this script and I 
: am afraid more may do so. Now I have made it available via ftp:
: 
: 	ftp://nka1.med.uc.edu/pub/decrypt.pl
: 
: Without such a script, if one uses PGP to decrypt emails on the fly,
: the PGP dialog and error messages, if any, may not be seen and that
: is a no-no for PGP users.  This script allows one to see the complete 
: display of PGP messages and dialogs without leaving Pine.

#!/bin/ksh

pgp

[...]

- --
Jon Trulson		Inet: (work) [email-masked]
Systems Programmer II       : (home) [email-masked]
Information Technology, Metropolitan State College of Denver, Colorado
Patent Pending 		FREE MARS!

- -----BEGIN PGP PUBLIC KEY BLOCK-----
Version: 2.6.2

mQENAzFqlGwAAAEH/1u4rzcOtlTHeTePo2o8O9szuLn6WG4tUqSEzPZ2SfjL+t3j
LIrtlGt4hnBEUfU/jmWNyQ75f8NBO2yi8VDcXjgnhfyRNE0duegdchnra9iS1Ukb
UCbvTWQOiPa0hslsvKXDg5XDrg6nxF3kOqam2qnDcHYPmDoV9Pr2QfNuYJefizCw
dswq/9O+LBvuQC7eKhi1BzGm4P2nys2wJPw1j+AH+6kkPLp6WFAN0pkWJkxUDkqK
G+r2xb3NIZjoxPGX+NxboOvHLTMj/k6itTiS0JwDAempOb2azXeqFL2EfmcbHI1T
jsZmow1uoPaDUOwQtcgBNVq0HDI6eraG913yRtkABRG0H0pvbiBUcnVsc29uIDx0
cnVsc29uakBtc2NkLmVkdT4=
=XjvH
- -----END PGP PUBLIC KEY BLOCK-----