Version: 1.6.5 (using KDE KDE 3.5.5) Installed from: Compiled From Sources Compiler: gcc (GCC) 3.4.3 20050227 (Red Hat 3.4.3-22.1) OS: Linux DCOP is good for controlling the active Konsole session, but it is only useful until you change login environments (e.g. screen, telnet/ssh, su, etc.). It would be great if there was a "magic sequence" that could be generated by any shell script (I'm thinking a few no-op escapes for a header and \e[K for a footer) that could be used to execute some "safe" command sequences (things like 'change the title', 'change the schema', 'clear the history', etc.). Security consideration: it would be simple to combine this with a sort of 'password', i.e. any command sequence that does not give the "password" is ignored. This, combined with not allowing any truly dangerous commands in the first place, should make this reasonably safe.
After discussion with Matthew, it seems that what he was mainly after was changing the tab name and clearing the history which can be done using the konsoleprofile tool in KDE 4. Changing tab titles: konsoleprofle tabtitle=<Your Name Title> Clearing the history is done by turning the history off and back on again: konsoleprofile HistoryMode=0 konsoleprofile HistoryMode=1 (this assumes that fixed lengthy history is being used. Setting HistoryMode to '2' makes the history unlimited)
Just to clarify for the record, Robert's comments are indeed correct; at the time DCOP seemed the obvious solution, instead we have 'a different script language' that accomplishes the same effect, and yes it was the effect I was after not the means of implementing it. So opposite bug 124639, the right choice here was to ignore the summary and look at the details. Robert: you rock! :-) Mark your resolutions better though ;-).
Actually a duplicate of 124639 :-) *** This bug has been marked as a duplicate of 124639 ***
Confirming also that I've tested it and it works