2010-03-11

Screen Scrollback

In screen, it's easy enough to set up a scrollback history buffer of the desired length (although I forget exactly how to do it). But it's not obvious how to scroll the window back. You need to use copy mode. Assuming 'C-a' is your screen hotkey, use 'C-a ?' to check for the keyboard shortcut.

For me, you can enter copy mode with 'C-a [', after which you are free to move the cursor around, which scrolls the window. It looks like normal Vi or Emacs shortcuts are fine for scrolling. You can cancel copy mode and go back to the bottom with 'C-c'; or you can press space, scroll elsewhere, and press space again to highlight and copy text and then go back to the bottom.

No comments:

Post a Comment