[lug] Scrolling in xterm

Jeff Howell howeljs at segfault.stortek.com
Tue Aug 22 09:34:05 MDT 2000

Subba Rao wrote:
> My xterm is version 4.0.1b(104). I have the scrollbar showing up on the left side
> of my window. I am not able to interactively use the mouse to scroll back in the window.
> A mouse click in the scroll bar will position the view in the scroll buffer. How can I
> use the mouse button to move interactively through the scroll buffer (as in gnome-terminal).
> I have looked at the Xresourses but nothing was obvious about the mouse key bindings.
> Is this something more specific to the window manager or is isolated to the xresources file?
> Thank you in advance.
> Subba Rao
> subb3 at attglobal.net
> http://pws.prserv.net/truemax/
>  => Time is relative. Here is a new way to look at time. <=
> http://www.smcinnovations.com

Add this to your ~/.Xdefaults file:

XTerm.vt100.Scrollbar.translations: #override\n\
     <Btn5Down>: StartScroll(Forward)\n\
     <Btn4Down>: StartScroll(Backward)\n\

 Jeff Howell
 EDS Unix Support
  Linux Slackware: The Ultimate NT Service Pack

More information about the LUG mailing list