xfce4-terminal -- clear scroll back only?

Andrew Robinson andrew.rw.robinson at gmail.com
Wed Nov 12 19:48:39 CET 2008


On Wed, Nov 12, 2008 at 9:29 AM, Christian Dywan <christian at twotoasts.de> wrote:
> 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 :)

I wasn't referring to the bash history, but the terminal scroll-back buffer

-Andrew

>
> ciao,
>    Christian
> _______________________________________________
> Xfce mailing list
> Xfce at xfce.org
> http://foo-projects.org/mailman/listinfo/xfce
> http://www.xfce.org
>



More information about the Xfce mailing list