|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>|
|Latest Commit:||Version Fixed In:||4.9.0|
Description Richard Bos 2006-01-13 14:57:00 UTC
Comment 1 Richard Bos 2006-01-13 15:02:03 UTC
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.
Comment 2 Matthias Schniedermeyer 2007-02-10 13:05:25 UTC
I can confirm that. I'm also missing these dcop-calls
Comment 3 Robert Knight 2008-01-03 20:30:44 UTC
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.
Comment 4 Richard Bos 2008-01-03 20:52:33 UTC
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"
Comment 5 Robert Knight 2008-01-03 21:49:32 UTC
> 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.
Comment 6 Jekyll Wu 2012-01-26 13:22:48 UTC
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