Re: gpg return mangling display

2002-05-22 Thread David T-G

Aaron --

...and then Aaron Goldblatt said...
% 
% I've got gnupg set up to download keys and verify signatures automatically 
% when it runs across an invalid key, and the system works okay.

That's good.  In fact, gpg automatically got your new key for me :-)


% 
% However, when it does so, the display gets mangled and is difficult to 
% read until some times has passed where most parts of the screen have been 
% redrawn.

That's not good.


% 
% There is a two-message thread describing this problem at the Marc archives 
% of mutt-users, but no solution was ever posted, and I can't find another 
% thread.
% 
% http://marc.theaimsgroup.com/?t=9728377911r=1w=2
% 
% How can I fix this?  Pointers to docs, keywords, mailing list search 
% keywords, and faqs are welcome, because I've got to be missing something 
% here.

For one thing, that's not supposed to happen; not everyone has that
problem.

This has come up more than once before, I believe.  You might try a search
for refresh, ^L (not sure how you're gonna feed that to a search engine),
gpg, and pager and see what you get.  I think you'll want to track down
why gpg is spitting out to stderr instead of stdout, since I believe that
is the root cause of your problem.


% 
% Thank you.
% 
% ag


HTH  HAND

:-D
-- 
David T-G  * It's easier to fight for one's principles
(play) [EMAIL PROTECTED] * than to live up to them. -- fortune cookie
(work) [EMAIL PROTECTED]
http://www.justpickone.org/davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!




msg28275/pgp0.pgp
Description: PGP signature


Re: gpg return mangling display

2002-05-22 Thread Rocco Rutte

Hi,

* David T-G [05/22/02 15:17:47 CEST] wrote:
 ...and then Aaron Goldblatt said...

 % There is a two-message thread describing this problem at the Marc archives 
 % of mutt-users, but no solution was ever posted, and I can't find another 
 % thread.
 % 
 % http://marc.theaimsgroup.com/?t=9728377911r=1w=2
 % 
 % How can I fix this?  Pointers to docs, keywords, mailing list search 
 % keywords, and faqs are welcome, because I've got to be missing something 
 % here.

 For one thing, that's not supposed to happen; not everyone has that
 problem.

 This has come up more than once before, I believe.  You might try a search
 for refresh, ^L (not sure how you're gonna feed that to a search engine),
 gpg, and pager and see what you get.  I think you'll want to track down
 why gpg is spitting out to stderr instead of stdout, since I believe that
 is the root cause of your problem.

And until he found out the reason for this, maybe adjusting
the pgp settings in .muttrc helps (to redirect stderr to
stdout).

Btw, I have the same situation here allthough I already do so.
An application I use requires pgp why I pointed it to pgpgpg.
It seems to create another child process writing to stderr
which I can't seem to catch with I/O redirection.

Cheers, Rocco.



Re: gpg return mangling display

2002-05-22 Thread Thorsten Haude

Hi,

* Aaron Goldblatt [EMAIL PROTECTED] [02-05-20 22:20]:
I've got gnupg set up to download keys and verify signatures automatically 
when it runs across an invalid key, and the system works okay.
Well, my doesn't.

However, when it does so, the display gets mangled and is difficult to 
read until some times has passed where most parts of the screen have been 
redrawn.
I had the exact same problem, and it went away when I changed my
pgp_getkeys_command to . Search for the threads named 'Display
Error' and 'Display Error Redux' from March for the complete story.

However, I just now realize that my GPG setup started to show serious
errors at about this time (it reports a lot of wrong signatures). We
talked about this here in the list for a while, but no solution came
up, and some other things came up so I couldn't spend much time on it.

Here is a diff; gpg.rc is the older file with working gpg and display
errors.
- - - Schnipp - - -
yooden@eumel diff gpg.*
1c1
 # ~/.mail/gpg.rc
---
 # ~/.mail/gpg.mutt
42c42
 set pgp_verify_command=gpg --no-verbose --quiet --batch -o - --verify %s %f
---
 set pgp_verify_command=gpg --no-secmem-warning --no-verbose --batch -o - --verify 
%s %f
57c57
 set pgp_encrypt_only_command=pgpewrap gpg --no-secmem-warning -v --batch -o - 
--encrypt --textmode --armor --always-trust -r %r -- %f
---
 set pgp_encrypt_only_command=pgpewrap gpg --no-secmem-warning -v --batch -o - 
--encrypt --textmode --armor -r %r -- %f
61c61
 set pgp_encrypt_sign_command=pgpewrap gpg --no-secmem-warning --passphrase-fd 0 -v 
--batch -o - --encrypt --sign %?a?-u %a? --armor --always-trust -r %r -- %f
---
 set pgp_encrypt_sign_command=pgpewrap gpg --no-secmem-warning --passphrase-fd 0 -v 
--batch -o - --encrypt --sign %?a?-u %a? --armor -r %r -- %f
79,80c79,80
 set pgp_getkeys_command=
 #set pgp_getkeys_command=gpg --no-secmem-warning --no-verbose --batch --with-colons 
--keyserver wwwkeys.pgp.net --recv-keys %r
---
 #set pgp_getkeys_command=
 set pgp_getkeys_command=gpg --no-secmem-warning --no-verbose --batch --with-colons 
--keyserver wwwkeys.pgp.net --recv-keys %r
- - - Schnapp - - -

Does anybody sees something wrong?

Thorsten
-- 
Guns don't protect freedom, people protect freedom.



Re: gpg return mangling display

2002-05-21 Thread Aaron Goldblatt

 Hold down the Control key, then press the L key.
 You might want to rebind all of the keys which might invoke gpg to also
 press CTRL-L for you, for convenience (use macros).

Mr. Park suggested privately stuffing a refresh into keyboard macros, and 
rebinding any key that might call a pgp command to those macros.

Is that the only way to stuff a refresh into the necessary location?  It 
seems like overkill.  Is there not a way to do, say, this:

set pgp_getkeys_command=gpg --recv %r some command separator refresh

As always, search keywords or pointers to FAQs I've missed are welcome.

ag



msg28265/pgp0.pgp
Description: PGP signature


gpg return mangling display

2002-05-20 Thread Aaron Goldblatt

I've got gnupg set up to download keys and verify signatures automatically 
when it runs across an invalid key, and the system works okay.

However, when it does so, the display gets mangled and is difficult to 
read until some times has passed where most parts of the screen have been 
redrawn.

There is a two-message thread describing this problem at the Marc archives 
of mutt-users, but no solution was ever posted, and I can't find another 
thread.

http://marc.theaimsgroup.com/?t=9728377911r=1w=2

How can I fix this?  Pointers to docs, keywords, mailing list search 
keywords, and faqs are welcome, because I've got to be missing something 
here.

Thank you.

ag



msg28233/pgp0.pgp
Description: PGP signature


Re: gpg return mangling display

2002-05-20 Thread Rob 'Feztaa' Park


--1yeeQ81UyVL57Vl7
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Alas! Aaron Goldblatt spake thus:
 However, when it does so, the display gets mangled and is difficult to=20
 read until some times has passed where most parts of the screen have been=
=20
 redrawn.
=20
 There is a two-message thread describing this problem at the Marc archive=
s=20
 of mutt-users, but no solution was ever posted, and I can't find another=
=20
 thread.

Hold down the Control key, then press the L key.

You might want to rebind all of the keys which might invoke gpg to also
press CTRL-L for you, for convenience (use macros).

--=20
Rob 'Feztaa' Park
http://members.shaw.ca/feztaa/
--
God is love, but get it in writing.
-- Gypsy Rose Lee

--1yeeQ81UyVL57Vl7
Content-Type: application/pgp-signature
Content-Disposition: inline

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.7 (GNU/Linux)

iD8DBQE86YttPTh2iSBKeccRAmByAKCBNsTaU1L7Z1KAwEu29DzE3GnPtgCeJCpP
Eubnn62/zEEgcFnbbcTIk6o=
=On5r
-END PGP SIGNATURE-

--1yeeQ81UyVL57Vl7--