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!

  • 2
    I take it you don't want to use the scrollbar?
    – sr_
    Commented Aug 4, 2012 at 18:03
  • 1
    Good point, forgot to say that. Commented Aug 4, 2012 at 18:25

1 Answer 1


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
  • 1
    Wonderful, works great! Commented Aug 26, 2012 at 20:59
  • Which docs should I check to find out something like this just by myself? Or what other sequences I could have as commands? Commented May 29, 2018 at 17:04
  • 1
    @Mr.Goferito - just google for xresources & urxvt and follow the links... Here's a good place to start Commented May 29, 2018 at 18:38
  • 1
    @Mr.Goferito man (1) urxvt and man (7) urxvt are your best friends. Scrolling with 720;x / 721;y is described in XTerm Operating System Commands section of man (7) urxvt. Commented Apr 11 at 1:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .