You are not logged in.

Dear visitor, welcome to KDE-Forum.org. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

1

Thursday, October 25th 2007, 5:39pm

Konsole and clear history feature

History scrollback in konsole is good thing, but often I need to clear it (like in just created console - nothing except console prompt). One of the reasons for it is to run some command and be sure that I see only it's output. Escpecially when previously I ran many commands with many lines of output - more than can hold screen. In this case it is very hard to quickly find out where next to last output ends and where last output starts.
As clearing of history can be needed often I don't like to use menu command edit > clear history (it's veeery slow X( ) or some keyboard shortcut for it (a bit faster but still slow). Ideal solution would be something like "ch" (clear history) that should be typed directly to console and produce same result as menu item "clear history".
Currently I haven't found something like this. Maybe somebody knows this command or have an idea how to do this with some set of commands (to place them into script).
Thanks beforehand.

This post has been edited 1 times, last edit by "s@sh" (Oct 25th 2007, 5:49pm)