xfce4-terminal -- clear scroll back only?

Christian Dywan christian at twotoasts.de
Wed Nov 12 17:29:02 CET 2008


Am Wed, 12 Nov 2008 08:55:31 -0700
schrieb "Andrew Robinson" <andrew.rw.robinson at gmail.com>:

> I have noticed that a feature that I used all the time in konsole is
> missing in gnome-terminal and xfce4-terminal, that of clear scroll
> back & reset. Unlike the clear & reset, clear scroll back and reset
> removes all the previous content, removes the scroll back history, but
> leaves the current prompt intact. The clear & reset in xfce4-terminal
> clears the entire terminal including the current prompt & command,
> leaving a black screen and the user completely unaware what the
> current command is anymore.
> 
> Any chance that I missed a way to do this and if not, any chance of an
> enhancement?

Hey Andrew,

I don't think this particularly needs support from the terminal
emulator. Just run cat "/dev/null > ~/.bash_history" or "history -c",
that's what you want and it works on other systems or even real
consoles without a graphical window around them :)

ciao,
    Christian



More information about the Xfce mailing list