xfce4-terminal -- clear scroll back only?

Mike Massonnet mmassonnet at gmail.com
Wed Nov 12 22:52:04 CET 2008


Le Wed, 12 Nov 2008 13:13:55 -0800,
"Brian J. Tarricone" <bjt23 at cornell.edu> a écrit :

> Olivier Fourdan wrote:
> > On Wed, Nov 12, 2008 at 6:48 PM, Andrew Robinson
> > <andrew.rw.robinson at gmail.com> wrote:
> > [...]
> >>>> 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?
> > [...]
> >> I wasn't referring to the bash history, but the terminal
> >> scroll-back buffer
> > 
> > Both gnome-terminal and Terminal rely on the same widget, vte, so I
> > guess the feature should be added in the terminal widget first.
> > 
> >     http://library.gnome.org/devel/vte/unstable/VteTerminal.html#vte-terminal-reset
> 
> I'm pretty sure this is already bound to a key in Terminal... every
> now and then I accidentally clear my scrollback buffer, though I'm
> not sure what key I've hit...

And I'm used to have Ctrl+L to clear the history (it's a readline
feature) and set in Terminal the shortcut Clear&Reset to Ctrl+Shift+L.

That way I type-ty-type Ctrl+Shift+L Ctrl+L :P  The prompt is back.


Cheers
Mike



More information about the Xfce mailing list