Take the 2-minute tour ×
Super User is a question and answer site for computer enthusiasts and power users. It's 100% free, no registration required.

I like to have a screen session set up with two windows side by side (Ctrl+A | key combo). The issue is that sometimes I need to run a server that starts a screen session in the foreground of one of my screen sessions. So now I have a screen session in another screen session. When I try to detach the inner screen (Ctrl+A d), it detaches the outerscreen.

Is there any solution to detaching only the screen in the outer screen session?

Thanks, Max

share|improve this question
add comment

1 Answer

up vote 5 down vote accepted

The screen man page explains

   C-a a       (meta)        Send the command character (C-a)  to  window.
                             See escape command.

So you should be able to detach the inner screen by typing C-a a d (without spaces).

share|improve this answer
    
Works perfectly, thanks, I didn't see that –  mazzzzz Nov 5 '11 at 23:08
    
Its been a year, but THANKS!!! –  jeremy Jan 18 '13 at 4:56
add comment

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.