rxvt - how to clear scrollback
If you want to clear the scroll-back by pressing Ctrl-L, add this to your ~/.Xresources
URxvt.keysym.Control-l: command:\033c
This is like running:
echo -ne '\033c'
However it outputs the text to the terminal, without having to execute a command on the prompt.
Prefer this since it can be used while a program runs.
In rxvt
(running bash shell) the reset
command work correctly.