Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

I am using screen with irssi, ssh to some servers. At the moment I have 4 windows "open" in my screen.

Two of those windows is "dead". I can't write something in those, for example.

How do I "exit" a screen window?

share|improve this question

3 Answers 3

up vote 2 down vote accepted

ctrl-A K will kill an unresponsive screen window. That's assuming of course you've not remapped your screen command key from the default ctrl-A.

share|improve this answer
    
Worked, thanks! :) –  Erik Jan 11 '11 at 22:22

I noticed that some Windows users have a habit to press Ctrl-S from time to time (usually meaning to save something in other applications), but in putty+screen it blocks the window. To unblock such window one need to press Ctrl-Q. Check if it's not your case. Killing "dead window" is always my last try.

share|improve this answer
    
My problem is that I fumble S when I go for ctrl-A, and end up having to hit all sorts of wacky combinations of ctrl-q, ctrl-a q, ctrl-a ctrl-q before I get a response again. –  DerfK Jan 12 '11 at 2:49

You can also delete the file /var/run/screen/[screen_number]

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.