Summary: | Add support for xterm CSI 3 J sequence | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Matthew Woehlke <mwoehlke.floss> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | a.samirh78, bugs.kde.org |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | Compiled Sources | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: |
Description
Matthew Woehlke
2008-02-22 18:28:24 UTC
SVN commit 787067 by knight: Add support for xterm's CSI 3 J control sequence to clear the history. BUG: 158235 M +1 -0 Vt102Emulation.cpp WebSVN link: http://websvn.kde.org/?view=rev&revision=787067 How can one enter this escape sequence? print '^[[3J' where the ^[ are one character - hit Ctrl+v and then ESC to generate it. It seems to work as xterm which both print a ' which is strange. (In reply to Kurt Hindenburg from comment #3) > print '^[[3J' where the ^[ are one character - hit Ctrl+v and then ESC to > generate it. Thanks for reply. I tried this but got the following error: bash: print: command not found > It seems to work as xterm which both print a ' which is strange. This I don't understand. (In reply to Piotr Dobrogost from comment #4) [...] > Thanks for reply. I tried this but got the following error: > bash: print: command not found > FTR, what you need to do is send that escape sequence to the terminal, e.g. using printf or echo: printf '\e[3J' echo -e '\e[3J' alternatively you can use the menu, View -> Clear Scrollback. |