If you use the scrollbar in xterm (Section 5.11), you'll find that by default the scrollbar retains only 64 previous lines of text. You can change this by using the -sl command-line option:
% xterm -sb -sl 200 & % rxvt -sb -sl 200 &
or by setting the saveLines resource:
XTerm*saveLines: 200
You don't want to go crazy with the number of saved lines, though. Too many lines saved may crunch on virtual memory and also make it hard to scroll.
--LM and SJC
Copyright © 2003 O'Reilly & Associates. All rights reserved.