[Konsole-devel] [Bug 149562] Clear Scrollback & Reset should return immediately the prompt

Matthew Woehlke mw_triad at users.sourceforge.net
Wed Sep 5 19:42:22 UTC 2007


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=149562         




------- Additional Comments From mw_triad users sourceforge net  2007-09-05 21:42 -------
There isn't much that can be done here, since any "fixes" depend on what program is currently running (this can of course be bash). For example, vim will simply be very confused after resetting the tty.

This is why I find a better solution is to use a "magic program" to achieve this effect instead of ever using Konsole's "reset terminal" command. In KDE3 I did this with dcop, which was a pain because it only works for local logins. In KDE4, Konsole recognizes commands "sent" via escape sequences that will allow this to be achieved by writing a special string to the tty's stdout (to turn scrollback off and then back on, plus the usual ANSI 'clear terminal' sequence).

But it's nice that there is a solution for bash, as this is probably the most common case.



More information about the konsole-devel mailing list