Sometimes, when I reattach to a screen session, I get an empty terminal (pressing the up key does not help):

enter image description here

When I try to enter copy mode, I get the message Must be on a window layer:

enter image description here

If I resize the window, I start seeing the output of my program. If I then try copy mode again, I can still cannot get past what is currently displayed (ignore all the A^[[s, I accidentally hit the up keys before being in copy mode):

enter image description here

Can I prevent this behavior somehow?

I am using Screen version 4.06.02 (GNU) 23-Oct-17 on Ubuntu 18.

Your Answer

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

Browse other questions tagged or ask your own question.