Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I can scroll a chunk of output with Shift+PageUp (or PageDown), but is there a way to scroll just one line up and down? Often, you'd like to read something that is small enough to fit in one screen, but the scrolling is so heavy handed it is impossible to get the whole text chunk within one screen anyway!

share|improve this question
I take it you don't want to use the scrollbar? – sr_ Aug 4 '12 at 18:03
Good point, forgot to say that. – Emanuel Berg Aug 4 '12 at 18:25
up vote 5 down vote accepted

I use keysym + command in my ~/.Xresources to scroll one line up with SHIFT+UP and one line down with SHIFT+DOWN :

URxvt*scrollBar_right: false
URxvt.keysym.Shift-Up: command:\033]720;1\007
URxvt.keysym.Shift-Down: command:\033]721;1\007
share|improve this answer
Wonderful, works great! – Emanuel Berg Aug 26 '12 at 20:59

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.