GNU bug report logs - #30544
26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)

Previous Next

Package: emacs;

Reported by: Aaron Jensen <aaronjensen <at> gmail.com>

Date: Tue, 20 Feb 2018 02:09:01 UTC

Severity: minor

Tags: confirmed, fixed

Found in versions 26.0.91, 25.1

Fixed in version 26.1

Done: Noam Postavsky <npostavs <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Eli Zaretskii <eliz <at> gnu.org>
To: Aaron Jensen <aaronjensen <at> gmail.com>
Cc: 30544 <at> debbugs.gnu.org, npostavs <at> gmail.com
Subject: bug#30544: 26.0.91; ansi-term duplicates 2 line zsh prompts any time windows change (maybe other times)
Date: Wed, 14 Mar 2018 20:30:32 +0200
> From: Aaron Jensen <aaronjensen <at> gmail.com>
> Date: Wed, 14 Mar 2018 11:08:32 -0700
> Cc: 30544 <at> debbugs.gnu.org, Noam Postavsky <npostavs <at> gmail.com>
> 
> On Wed, Mar 14, 2018 at 10:34 AM, Eli Zaretskii <eliz <at> gnu.org> wrote:
> >> From: Aaron Jensen <aaronjensen <at> gmail.com>
> >> Date: Wed, 14 Mar 2018 08:59:55 -0700
> >> Cc: Noam Postavsky <npostavs <at> gmail.com>
> >>
> >> I saw that you've been doing some term.el work recently. Do you have
> >> an idea what could be causing this?
> >
> > See Glenn's message with bisection: as expected, this is due to the
> > telling the shell to resize its window.
> 
> I don't know if this was directed at Noam or myself

It was meant to answer your question.

> but one interesting thing is that iTerm also has artifacts when
> resizing, but only if resizing to be horizontally smaller. term.el
> appears to have artifacts every time any size change is made
> (horizontal or vertical).

I think the problem in term.el is because we send the TIOCSWINSZ ioctl
when we shouldn't, see window-adjust-process-window-size-function and
set-process-window-size.  We had similar issues in the past, see
bug#24465.




This bug report was last modified 7 years and 48 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.