I've just started using screen for the first time, and I somehow got it into a state where it wasn't recognizing any commands any longer. Ctrl-A n, Ctrl-A p etc wouldn't work. Meanwhile my cursor was also frozen in emacs, which never happens to me.
So I opened another terminal, hoping that I could just reattach to screen and things would be better. But it won't let me connect, and it won't let me detach it either. I found an alternative command to try, but after the last command everything just hung again.
-bash-4.1$ screen -r
There is a screen on:
4511.pts-1304.unixscrna01 (Attached)
There is no screen to be resumed.
-bash-4.1$ screen -list
There is a screen on:
4511.pts-1304.unixscrna01 (Attached)
1 Socket in /var/run/screen/S-sme.
-bash-4.1$ screen -D
[4511.pts-1304.unixscrna01 power detached.]
-bash-4.1$ screen -r
There is a screen on:
4511.pts-1304.unixscrna01 (Attached)
There is no screen to be resumed.
-bash-4.1$ screen -d -r 4511
My terminal hung completely at the last point.
Any idea what could have happened here??
Ctrl-q