[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Re[2]: bash 4.3: "Clear Scrollback and Reset" (Ctrl-Shift-X) in kons

From: Ángel González
Subject: Re: Re[2]: 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
Date: Sun, 30 Nov 2014 23:32:03 +0100

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)

reply via email to

[Prev in Thread] Current Thread [Next in Thread]