[Konsole-devel] [Bug 78748] no way to both clear the terminal and clear the history with one shortcut

Kurt V.Hindenburg kurt.hindenburg at kdemail.net
Thu Feb 3 06:13:24 UTC 2005


------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
         
http://bugs.kde.org/show_bug.cgi?id=78748         




------- Additional Comments From kurt.hindenburg kdemail net  2005-02-03 07:13 -------
A shortcut may be possible; but it may not happen for a while (if every).


Use this small script to do this; use an alias for easy usage.

#!/bin/sh

clear

# Assuming only one konsole running
KONSOLE=`dcop | grep konsole`

SESSION=$(dcop $KONSOLE konsole currentSession)
# or 
#SESSION=$(dcop $KONSOLE_DCOP currentSession)


dcop $KONSOLE $SESSION clearHistory



More information about the konsole-devel mailing list