Summary: | "Clear Scrollback and Reset" menu make the prompt to disappear | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | NuageBleu |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED UNMAINTAINED | ||
Severity: | minor | CC: | 3ndymion, a.samirh78, cpigat242, f.glopez, haigpetrus, jaak, realnc, the.one.eleven |
Priority: | NOR | ||
Version: | 2.12.4 | ||
Target Milestone: | --- | ||
Platform: | Debian testing | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
NuageBleu
2014-05-19 19:55:34 UTC
I am wondering if Konsole needs to issue a special input sequence to bash to force it to redraw the prompt (like, e.g. a terminal resize notification). This is a regression, as this was working with previous versions of Konsole (KDE3). This was reported in the past in bug 242110 and it was fixed. Now it's back. I am also suffering this regression over Konsole 2.13.2 on a Kubuntu Trusty amd64 box. It's really annoying ... Also reported in the past in bug 250212, so this is at least the second time the bug has come back to life. And I am experiencing it in Trusty, KDE 4.13.3. Very small issue but somehow just big enough to be annoying. :-) Found a workaround! Create a global shortcut that sends this keyboard input to the active application: Ctrl+Shift+K:f:Ctrl+H Press that in Konsole and it will work as expected. What is does is 1) perform the broken command 2) type a random letter (f) 3) type backspace This should restore your command line to whatever status it was at before you executed the broken command. Of course, I doubt you can use Ctrl+Shift+K for this shortcut as you'd get recursion (unless you first change the shortcut inside of Konsole to something different). Hope that helps some of the sufferers. *** Bug 346086 has been marked as a duplicate of this bug. *** For some reason, I also have this bug now. I'm not sure exactly when this first occurred, but I was running KDE 4.14.6, 4.14.7 or 4.14.8. Btw, this occurs with Yakuake as well. Upon some research it appears that the problem I'm experiencing appears to be described in https://mail.kde.org/pipermail/konsole-devel/2014-November/022801.html and seems to be related to the upgrade from readline-6.2/bash-4.2 to readline-6.3/bash-4.3 with the SIGWINCH being sent to the foreground process by konsole(part) no longer being handled by readline-6.3. Currently the workaround for users appears to be to use Ctrl+Shift+K followed by Ctrl+L. The latter is a readline command to clear the screen leaving the current line at the top of the screen (search `man 1 bash` for clear-screen). I have this bug in Fedora 22 KDE. Clear scrollback and reset causes the terminal screen to remain blank until you type another key. Only then will the prompt return. This never happened with KDE 4. Unfortunately KDE4/Konsole4 is no longer maintained. (This bug seems to crop up every now and then, FTR the "current" report is tracked in bug 365893). |