[Konsole-devel] bash 4.3: "Clear Scrollback and Reset" (Ctrl-Shift-X) in konsole stopped to work as expected when upgrading from upstream bash 4.2 to upstream bash 4.3

Ángel González angel at 16bits.net
Sun Nov 30 22:32:03 UTC 2014


Askar Safin wrote:
> > Please stop mischaracterizing the issue.  It's not a bug: it's a case of
> > konsole's mismatched expectations.  Since the mechanism it uses is not
> > documented, and relies on something in readline that is not documented, it
> > can't fairly be called a bug.
> Should long text line move when user changes size of terminal or no?
> 
> Askar

It's the same issue: when SIGWINCH is received, read() is restarted
automatically (ERESTARTSYS) and thus bash isn't calling the ioctl(0,
TIOCGWINSZ, ) until readline receives the next character, at which point
the full line is rewritten.

(and yes, it seems desirable not to wait for next character)



More information about the konsole-devel mailing list