Others have asked (How to scroll inside a screen session of an ssh connection?) on how to scroll within a screen session. However, while I can highlight what is shown in front of me, I can't figure out how to highlight and scroll (i.e., to copy more of the output). Highlighting with my mouse does not let me scroll via page up/down or other means I've tried.


Add this line to your ~/.screenrc file (maybe you will have to create new file):

termcapinfo xterm* ti@:te@

Restart screen.

You should be able to scroll with mouse wheel during text highlighting with your mouse button.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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