Summary: | konsole misses dcop/dbus call to set the number of lines in history | ||
---|---|---|---|
Product: | [Applications] konsole | Reporter: | Richard Bos <richard.bos> |
Component: | general | Assignee: | Konsole Developer <konsole-devel> |
Status: | RESOLVED FIXED | ||
Severity: | wishlist | CC: | adaptee |
Priority: | NOR | ||
Version: | unspecified | ||
Target Milestone: | --- | ||
Platform: | unspecified | ||
OS: | Linux | ||
Latest Commit: | Version Fixed In: | 4.9.0 | |
Sentry Crash Report: |
Hmm, related to this; are dcop commands to read out the number of lines in the buffer and the possibility to save the contents of buffer. I can confirm that. I'm also missing these dcop-calls This feature is not implemented exactly in KDE 4.0, since there was a transition from D-Cop to D-Bus and the DBus interfaces have not been implemented. However, what I presume is one of the use cases of this, changing the number of lines of history through a command-line script can be done using the konsoleprofile tool which emits a special escape sequence that konsole recognises. konsoleprofile historysize=<lines> Inside a Konsole tab will change the maximum lines of output recorded to <lines> in that tab. Sounds good, but... how would the innocent konsole user know about
what konsoleprofile can change? konsoleprofile itself does not reveal
too much of the secrets either ;) :
> cat /usr/bin/konsoleprofile
#!/bin/sh
/bin/echo -e "\033]50;$1\a"
> how would the innocent konsole user know about
> what konsoleprofile can change?
They wouldn't, until the documentation for Konsole/KDE 4 is written. At the moment the handbook is completely out of date.
Git commit 95b8d5551e9cf7dae76854b9f31d1374c5e3aee5 by Jekyll Wu. Committed on 26/01/2012 at 12:04. Pushed by jekyllwu into branch 'master'. Add dbus method for setting and querying history size per session FIXED-IN: 4.9 M +28 -0 src/Session.cpp M +17 -0 src/Session.h http://commits.kde.org/konsole/95b8d5551e9cf7dae76854b9f31d1374c5e3aee5 |
Version: (using KDE KDE 3.5.0) OS: Linux konsole misses dcop call to set the number of lines to be kept in the history buffer. The only call found related to history is: > dcop konsole-11421 session-1 | grep -i Hi void clearHistory() Checked the dcop targets as well, as well as other strings like lines and such. It would be handy if the history buffer size could be changed by dcop.