[Top][All Lists]

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

Re: bash 4.3: "Clear Scrollback and Reset" (Ctrl-Shift-X) in konsole sto

From: Chet Ramey
Subject: Re: 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: Fri, 28 Nov 2014 17:04:30 -0500
User-agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.10; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

On 11/28/14 10:34 AM, Askar Safin wrote:
>> Doesn't seem like a bug to me. You asked your terminal emulator to clear
>> the screen. It did so. Now you complain that it's "too clean" :)
> When I type Ctrl-L, screen clears, and prompt appears. Ctrl-Shift-X should 
> work the same and it should clear scrollback additionally.
> bash 4.3 + konsole behavior is not OK for me, because I have to press "Enter" 
> after Ctrl-Shift-X. :)

This would make sense if the two operations did the same thing.  I don't
think they do; I think the Ctrl-Shift-X key sequence causes konsole to

>> I understand how it may look confusing, but I don't think the term has
>> much option here. Suppose that instead of the shell, you were executing
>> something else (eg. reading a log file).
> Yes, but this somehow worked before. And I press Ctrl-Shift-X in bash only. :)

There is a better explanation in one of the threads I referenced in my
previous message, but here's the short story: readline has always set
SIGWINCH to restart system calls.  It would redraw the prompt upon receipt
of a SIGWINCH in previous versions because it (incorrectly) executed that
code in a signal handler context.  Cleaning up the code so it didn't try
to execute arbitrary code in signal handlers was one of the big changes
between bash-4.2/readline-6.2 and bash-4.3/readline-6.3.

> Also, is there somewhere some real revision control system with bash sources? 
> http://git.savannah.gnu.org/cgit/bash.git appears to be incomplete: "git 
> bisect" shows that the problem is in 
> http://git.savannah.gnu.org/cgit/bash.git/commit/?id=ac50fbac377e32b98d2de396f016ea81e8ee9961
>  , but this is a huge commit. Where can I download more detailed history?

Try looking at the devel branch.

``The lyf so short, the craft so long to lerne.'' - Chaucer
                 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

reply via email to

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