First, thanks all for a fantastic program -- rxvt is wonderful!

Attached is a small patch against current CVS to add a +sw
(scrollWithBuffer) feature.

When +sw, if you're viewing the scrollback buffer, and aren't at the
very bottom viewing new data, when new lines come in you will scroll
with the scrollback buffer, making the text you're looking at stay at
the same position in your viewport.

ex in bash:

<hit enter until you're at the bottom of the terminal>

while [ true ]; do sleep 1; echo hi; done;

then tap the up arrow on the scrollbar so that you're viewing the
scrollback buffer.  The text will stop "moving by" -- you're scrolling
with the scrollback buffer.

This is the way at least some Mac terminals work.  This makes it
possible to read and select text while a program that periodically
prints new lines (like wget) is running in the terminal.

I didn't put this into "frills"...would that be better?

-- 
Best of luck,
Mark Schreiber

PGP Key ID: 0xB44B5F0D

rxvt-scrollwithbuffer.patch.gz

Reply via email to