On Wed, Feb 24, 2010 at 10:23:35AM +0100, grodzik wrote:
> It is problem with resizing term window. I had exactly the same problem and 
> I've 
> solved it by adding mentioned sleep command before mutt.
> 
> 
> On 16:37 Wed 24 Feb     , Adam Nielsen wrote:
> > > If I exit the message reading, the
> > > message list returns, but the problem remains.  If I scroll up through
> > > the message list, the text get redrawn after I pass through the blank
> > > area.  If I then scroll back down through the list, the line indicator
> > > only stops at the blank area and the message list scrolls as if it was
> > > at the bottom of the screen.
> > 
> > It sounds like mutt might be getting confused about the size of your 
> > terminal
> > window or something.  I guess as a workaround you could run "sleep 0.2; 
> > mutt"
> > to load it.
> > 
> > If resizing the window as Perry suggested makes everything work again, 
> > that's
> > almost certainly the issue.
> > 
> > Cheers,
> > Adam.
> > 
> > -- 
> > To unsubscribe, send mail to [email protected].
> > 
> 
> -- 
> To unsubscribe, send mail to [email protected].
> 

Using sleep solves the problem, but I ran into a small problem making it
work.  Ultimately, I had to create a quick bash script with the sleep
command followed by the mutt command and invoke the bash script from my
rc.lua.

Just adding the sleep command after the '-e' didn't work as the x-term
seemed to abort prior to the 'mutt' command.  I tried a number of
variations, all failed.  I also tried the equivalent commands from a run
prompt and the commands failed the same way from there.

Command:
x-terminal-emulator --title mutt -e sleep 0.2s; mutt

I assume I'm being stupid- unfortunately I'm ignorant as well...

Regards-
Gerry LaMontagne

Attachment: signature.asc
Description: Digital signature

Reply via email to