screen command is a nice program for us to run process background, but I found Ctrl + a w do not show screen windows list in xshell(Xmanager component) and Ctrl + a k do not kill this screen terminal for me. However Ctrl + a d to dettach session works! So what's wrong with Ctrl +a w to list sessions?More serious, How do I know whether I am in screen window or normal bash window? Many times I try to dettach screen session, I got logout after ctrl+a d. Very embarrassing isn't it? So is there any hints to show me whether am I in a screen window or just normal tty terminal?
Running background process with screen command in xshell
command line;shell;gnu screen
If you're getting logged out when you type ^A d I'm guessing you're still holding down the control key when you're pressing d. ^A ^D is bound to detach as well as ^A d. For ^A k and ^A w, try letting go of the control key before pressing the k or the w.