Re: Mutt output garbled after fullscreen mailcap entry

2014-04-06 Thread Patrick Shanahan
* Chris Down ch...@chrisdown.name [04-06-14 23:19]:
 I use the following entry in my mailcap to view images fullscreen:
 
 image/*; sxiv -bf %s
 
 This displays images full screen in sxiv. However, this causes me to
 need to restart mutt afterwards (C-l does not fix it), as the display
 gets garbled.
 
 After I close the fullscreen window, the attachment menu still looks
 fine. The problems start after I go back into the pager view, which has
 become shifted up so that around 20 lines of the mail are missing. Going
 back into the index view results in a totally blank screen, except for
 the pager status bar, which is somehow sitting around half way up the
 screen, even though the index status bar is now correctly showing at the
 bottom of the screen.
 
 Pressing j/k to move the cursor between messages results in them being
 drawn one by one. next-page/previous-page draws most of the index, but
 has some missing spaces that are just totally black where mails should
 be.

!reset
should reset the terminal
-- 
(paka)Patrick Shanahan   Plainfield, Indiana, USA  @ptilopteri
http://en.opensuse.orgopenSUSE Community Memberfacebook/ptilopteri
http://wahoo.no-ip.orgPhoto Album: http://wahoo.no-ip.org/gallery2
Registered Linux User #207535@ http://linuxcounter.net


Re: Mutt output garbled after fullscreen mailcap entry

2014-04-06 Thread Chris Down
Patrick Shanahan writes:
 !reset
 should reset the terminal

Huh. I didn't think this was a terminal issue, but you're right, that
does fix it.

Is there a better way to fix this than writing a macro to do that? Where
is the underlying cause for this?


pgpOTOKuh1a5h.pgp
Description: PGP signature


Re: Mutt output garbled after fullscreen mailcap entry

2014-04-06 Thread Chris Down
Chris Down writes:
 Is there a better way to fix this than writing a macro to do that? Where
 is the underlying cause for this?

I changed my mailcap entry to:

image/*; sxiv -bf %s \; reset

I'm still interested in fixing the underlying cause.


pgpGXzDeFpQu0.pgp
Description: PGP signature