Screen doesn't refresh when using gpg

2000-07-24 Thread Caster

I asked this before but nobody answered.
When I use gpg functions the screen doesn't refresh after calling it.
If I press the refresh screen sequence (^L by default) everything is
alright -- screen backs to normal. Is this a known bug? Does it occure
in your mailers?

-- 
Bi-la kaifa
mailto:[EMAIL PROTECTED]



Re: Screen doesn't refresh when using gpg

2000-07-24 Thread Charles Curley

On Mon, Jul 24, 2000 at 07:11:33PM +0200, Caster muttered:
> I asked this before but nobody answered.
> When I use gpg functions the screen doesn't refresh after calling it.
> If I press the refresh screen sequence (^L by default) everything is
> alright -- screen backs to normal. Is this a known bug? Does it occure
> in your mailers?

I have not seen this. Judging by the lack of response to your last
message, I suspect no-one else has either.

Possibly you have a termcap problem, or else mutt is sending the wrong
sequence of control characters to your terminal program. I use rxvt on
Linux, and have no problems.

-- 

-- C^2

No windows were crashed in the making of this email.

Looking for fine software and/or web pages?
http://w3.trib.com/~ccurley
 PGP signature


Re: Screen doesn't refresh when using gpg

2000-07-25 Thread David T-G

Caster --

...and then Caster said...
% I asked this before but nobody answered.
% When I use gpg functions the screen doesn't refresh after calling it.
% If I press the refresh screen sequence (^L by default) everything is
% alright -- screen backs to normal. Is this a known bug? Does it occure
% in your mailers?

I get the same thing with mutt-1.2.4i and gnupg 1.0.1, but have no idea
how to fix it so I didn't pipe up.  My mutt uses ncurses 4.2.

It seems to me that gpg is generating output that mutt does not expect,
which then screws up the display.


% 
% -- 
% Bi-la kaifa
% mailto:[EMAIL PROTECTED]


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Screen doesn't refresh when using gpg

2000-07-25 Thread Thomas E. Dickey

On Tue, 25 Jul 2000, David T-G wrote:

> Caster --
> 
> ...and then Caster said...
> % I asked this before but nobody answered.
> % When I use gpg functions the screen doesn't refresh after calling it.
> % If I press the refresh screen sequence (^L by default) everything is
> % alright -- screen backs to normal. Is this a known bug? Does it occure
> % in your mailers?
> 
> I get the same thing with mutt-1.2.4i and gnupg 1.0.1, but have no idea
> how to fix it so I didn't pipe up.  My mutt uses ncurses 4.2.
> 
> It seems to me that gpg is generating output that mutt does not expect,
> which then screws up the display.

or else gpg has a prompt for input that's eating an extra character.

-- 
T.E.Dickey <[EMAIL PROTECTED]>
http://dickey.his.com
ftp://dickey.his.com




Re: Screen doesn't refresh when using gpg

2000-07-25 Thread Caster

Hello Mutt Users!
On pon 24 lip 2000 15:17:24 GMT Charles Curley wrote:

> Possibly you have a termcap problem

Well, I think I don't. All other things work great.

> or else mutt is sending the wrong
> sequence of control characters to your terminal program.

It looks like mutt doesn't call the refresh screen function after
calling gpg.

> I use rxvt on Linux, and have no problems.

I'm using Linux too. Normally on the text console ($TERM=linux), but
I've also tried rxvt, Eterm and xterm. Unfortunately there is no
difference.
Maybe I'll look at the source and try to find what's wrong.

-- 
Bi-la kaifa
mailto:[EMAIL PROTECTED]



Re: Screen doesn't refresh when using gpg

2000-07-25 Thread David T-G

Nollaig, et al --

...and then Nollaig MacKenzie said...
% 
% On 2000.07.25 07:15:55, you,
%  the extraordinary David T-G, opined:

Well, hully gee :-)


% 
% > ...and then Caster said...
% > % When I use gpg functions the screen doesn't refresh after calling it.
% > % If I press the refresh screen sequence (^L by default) everything is
% > 
% > I get the same thing with mutt-1.2.4i and gnupg 1.0.1, but have no idea
% > how to fix it so I didn't pipe up.  My mutt uses ncurses 4.2.
% 
% For what it's worth, the problem doesn't show up
% on my system, with
% 
%   gpg 1.0.2  or  gpg 1.0.0
%   mutt 1.2.4i  compiled with SLANG

I just rebuilt mutt with slang, apparently 10202 (see attached), and I
think that the same refresh problem is *not* there.  My colors, however,
are atrocious and it's hard to tell what's good and what's bad.

Could someone give me the 3-second SLANG color tour, please?  I don't use
colors except for a single mono highlighting hook, and my terminal is
black (0,0,0) on a light grey (223,223,223).


% 
% Cheers, N.
% -- 
% Nollaig MacKenzie :: [EMAIL PROTECTED]
% http://www.amhuinnsuidhe.cx




:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*



Mutt 1.2.4i (2000-07-07)
Copyright (C) 1996-2000 Michael R. Elkins and others.
Mutt comes with ABSOLUTELY NO WARRANTY; for details type `mutt -vv'.
Mutt is free software, and you are welcome to redistribute it
under certain conditions; type `mutt -vv' for details.

System: Linux 2.2.16 [using slang 10202]
Compile options:
-DOMAIN
-DEBUG
-HOMESPOOL  -USE_SETGID  +USE_DOTLOCK  +USE_FCNTL  -USE_FLOCK
+USE_IMAP  -USE_GSS  -USE_SSL  +USE_POP  +HAVE_REGCOMP  -USE_GNU_REGEX  
+HAVE_COLOR  +HAVE_PGP  -BUFFY_SIZE -EXACT_ADDRESS  +ENABLE_NLS  +COMPRESSED
SENDMAIL="/usr/sbin/sendmail"
MAILPATH="/var/spool/mail"
SHAREDIR="/usr/local/share/mutt"
SYSCONFDIR="/usr/local/etc"
ISPELL="/usr/bin/ispell"
To contact the developers, please mail to <[EMAIL PROTECTED]>.
To report a bug, please use the muttbug utility.

Feature patch: patch-1.2.rr.compressed.1 (DTG)
Feature patch: patch-0.00.sec.patchlist.7 (DTG)
Feature patch: %_   0.94.12 by O'Shaughnessy Evans
Feature patch: expand_hook  0.95.4 by Stefan `Sec` Zehl
Feature patch: reverse-reply0.95.4 by Stefan `Sec` Zehl
Feature patch: patch-1.1.1.hb.save_alias.1 (DTG)
Feature patch: patch-1.2.bj.ed_mtime.1 (DTG)
Feature patch: patch-1.2.bj.hash_destroy.1 (DTG)
Feature patch: patch-1.2.bj.my_hdr_subject.1 (DTG)
Feature patch: patch-1.2.bj.noquote_hdr_term.1 (DTG)
Feature patch: patch-1.2.bj.status-time.1 (DTG)
Feature patch: patch-1.2.1.bj.current_shortcut.1 (DTG)
Feature patch: patch-1.1.12.dgc.xlabel.3 (DTG)
Feature patch: patch-1.2.mha.resend-fcc.1 (DTG)
Feature patch: patch-1.2.bbell.pattern.1 (DTG)
Feature patch: patch-1.3.2609.mg.hdrcolor.1 (DTG)
Feature patch: patch-1.3.3.ba.pgp-hook-extension.4 (DTG)

 PGP signature


Re: Screen doesn't refresh when using gpg

2000-07-26 Thread Caster

Hello Mutt Users!
On wto 25 lip 2000 07:15:55 GMT David T-G wrote:

> I get the same thing with mutt-1.2.4i and gnupg 1.0.1

I see you're using gpg 1.0.2 now and so do I. However, I'm happy now
because I found where the problem was. I filled the pgp_getkeys_command,
but I was offline when Mutt invoked gpg to verify messages. Gpg returned
not exactly expected thingies and that is why why Mutt didn't refresh
the screen. I think it's a bug.
BTW: How should pgp_getkeys_command look like? Maybe I put something not
very proper?

-- 
Bi-la kaifa
mailto:[EMAIL PROTECTED]



Re: Screen doesn't refresh when using gpg

2000-07-26 Thread David T-G

Caster --

...and then Caster said...
% Hello Mutt Users!
% On wto 25 lip 2000 07:15:55 GMT David T-G wrote:
% 
% > I get the same thing with mutt-1.2.4i and gnupg 1.0.1
% 
% I see you're using gpg 1.0.2 now and so do I. However, I'm happy now

I was actually running 1.0.2 before.  Oops :-)


% because I found where the problem was. I filled the pgp_getkeys_command,
% but I was offline when Mutt invoked gpg to verify messages. Gpg returned
% not exactly expected thingies and that is why why Mutt didn't refresh
% the screen. I think it's a bug.
% BTW: How should pgp_getkeys_command look like? Maybe I put something not
% very proper?

Well, mine looks like

  #set pgp_getkeys_command="wrap.sh -g %r"
  set pgp_getkeys_command="gpg --recv-keys --keyring pubring.catch-all-keys.gpg %r"

but I don't know whether that's great or not so great.  Note that I'm
not using wrap.sh; I don't know what it is (unless it's pgpewrap, which
IIUC exists to let you specify more than one keyid for a particular gpg
argument (like -r)) or where to get it (unless it's pgpewrap).


% 
% -- 
% Bi-la kaifa
% mailto:[EMAIL PROTECTED]


:-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.bigfoot.com/~davidtg/Shpx gur Pbzzhavpngvbaf Qrprapl Npg!
The "new millennium" starts at the beginning of 2001.  There was no year 0.
Note: If bigfoot.com gives you fits, try sector13.org in its place. *sigh*


 PGP signature


Re: Screen doesn't refresh when using gpg

2000-07-27 Thread Caster

Hello Mutt Users!
On śro 26 lip 2000 12:15:43 GMT David T-G wrote:

>   set pgp_getkeys_command="gpg --recv-keys --keyring
>   pubring.catch-all-keys.gpg %r"

Mine looks similar, so that's not problem. It's the unexpected output or
return value when an error (can't coonect to keyserver because I'm
offline) occurs, which makes Mutt screw up the display.

> but I don't know whether that's great or not so great

If it works then it's OK :)

> Note that I'm not using wrap.sh; I don't know what it is

Neither do I.

-- 
Bi-la kaifa
mailto:[EMAIL PROTECTED]