Bug 382481

Summary: Konsole loses scrollback history on `clear` command
Product: [Applications] konsole Reporter: Matthew <matt>
Component: historyAssignee: Konsole Developer <konsole-devel>
Status: RESOLVED DUPLICATE    
Severity: major CC: egmont
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

Description Matthew 2017-07-18 22:18:34 UTC
Prior to KDE4, Konsole would NOT lose scrollback history when a `clear` command was issued.

I am logging this bug with Major severity because scrollback history is actually lost and unrecoverable. This seems like a bad idea to me as I might have important information there that for whatever reason I haven't saved to file.

This behaviour takes away my ability to operate as I want to either intentionally or by mistake.

Why should any action at the command-line affect the behaviour, display, or data at the application level, as far as terminals are concerned?

This behaviour seems wrong-headed to me and gives a power to the remote side of the terminal application that feels wrong.

From googling, I've come to understand some terminals have implemented this behaviour and it has become somewhat expected. I really have to disagree with this as anything on the remote end could issue the control codes to clear the scrollback and you'd lose your information. That can't be right.

Operating System: CentOS 7 (up-to-date)
KDE: 4.14.8
Konsole: 2.10.5

Thanks for considering this bug report.
Comment 1 Egmont Koblinger 2017-07-19 15:26:28 UTC
Looks like a dupe of bug 368005.
Comment 2 Christoph Feck 2017-08-01 22:02:23 UTC
Merci :)

*** This bug has been marked as a duplicate of bug 368005 ***