Issues: triple-click selection; pointer for scrollback; scrollback and Ctrl-L
John Eikenberry
jae at zhar.net
Mon Jan 12 01:24:00 CET 2009
Adeodato Simó wrote:
> * Adeodato Simó [Wed, 12 Nov 2008 22:37:47 +0100]:
>
> Ping? Any ideas about this #3 issue, which is the most important one for
> me? Thanks in advance.
>
> > 3. Losing scrollback with Ctrl-L.
>
> > If I type Ctrl-L to clear the screen (or run `clear`), the lines that
> > were visible in the screen prior to clearing are not added to the
> > scrollback buffer, i.e. they are lost. This can be checked by running:
>
> > % yes hello | head -n $LINES; yes bye | head -n $LINES; clear
>
> > If you then scroll back, you will see no more than one "bye".
If you use zsh this works for ctrl-l
# clear screen (w/ ctrl-l) with screen contents pushed into terminal's
# scrollback buffer. The clear-screen name is necessary.
clear-screen() { zle -I;repeat $((LINES-2)) echo;clear }
zle -N clear-screen
--
John Eikenberry
[jae at zhar.net - http://zhar.net]
[PGP public key @ http://zhar.net/jae_at_zhar_net.gpg]
______________________________________________________________
"Perfection is attained, not when no more can be added, but when no more can be
removed." -- Antoine de Saint-Exupery
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: Digital signature
URL: <http://lists.schmorp.de/pipermail/rxvt-unicode/attachments/20090111/feb0e5e9/attachment.sig>
More information about the rxvt-unicode
mailing list