I'm using screen to leave processes running on a server through ssh. When I do
screen -r, I do properly get back the terminal I left running previously, but I only see as much output as fits on my terminal window initially - I can't scroll up and see more of the output (the process I'm running prints a lot of stuff to console, so I am sure that there is more to see)
Is there any way to be able to see all the output, as I would be able to if I had just left the terminal window open instead of using screen?
e.g. Let's say I leave a for loop running that echos the numbers 1 through 1000. So 1000 lines will be printed to the console. (I also sleep for 10 second on each iteration so it's not instantaneous.) I then detach from my screen. When I resume my screen the next day, I want to be able to scroll up and see all 1000 echos, not just the last couple echos that fit on my terminal.