When I use
screen I can only see the current data on the terminal (commands, messages, etc.).
Is there a way, apart from printing anything I want to a file, to see the previous messages (the same way a normal terminal emulator would)?
Hitting Ctrl+A then Esc should get you into a special mode to look through the scroll-back buffer much like hitting Esc in
If your scroll-back buffer doesn't have enough lines in it to be useful you can change this in your
Once in the scroolback buffer, you can use common key bindings like J/K/H/L, PgUp/PgDown, G/Shift+G, ^/$ and arrows to navigate. You can use Space to set a mark. Setting a second mark will copy everything between the two marks to the screen clipboard which you can then paste into any window using Ctrl+A ].
You can also search and do other things with the buffer. See the screen users manual for more.