On Thursday, November  7 at 11:12 AM, quoth Peter Davis:
I'm using mutt 1.5.21 on OS X 10.9 in iTerm2, with emacs 24.2.1 set as my editor (with the -nw option, so emacs runs in the same window as mutt). I find when I edit a message or reply, either emacs or mutt is not restoring the terminal state properly, so the screen does not display correctly. I see partial lines that are not erased or repainted, reverse video areas that should not be, etc.

I basically have to quit and restart mutt to get things right again.

That sounds like you have your TERM environment variable set incorrectly for iTerm2. I'm not sure what the right TERM setting is, but if you're currently using something like "vt100", you might be able to fix it by setting your TERM to "xterm".

You should also be able to fix it by pressing ctrl-L - that forces a terminal clear and redraw.

~Kyle
--
Nip the shoots of arbitrary power in the bud, is the only maxim which can ever preserve the liberties of the people.
                                                  -- John Quincy Adams

Attachment: pgpwT6gbADXJ6.pgp
Description: PGP signature

Reply via email to