I have to work inside two environment. One Windows (local) and one Linux (remote). I've installed the screen linux utility in both. I'm able to open a screen on my windows, then in one tab, I opened a ssh connection to the linux remote and I start another screen.

Sample

linux  -- |0 linux remote 0| 1 linux remote 1 
windows-- |0 linux | 9 windows 

I can switch between "linux remote 0" and "linux remote 1" using Atl+. This is configured in .screenrc (bindkey "^[0" select 0) How could I switch to "9 windows"?

link|improve this question
feedback

migrated from stackoverflow.com Aug 25 '11 at 16:26

This question came from our site for professional and enthusiast programmers.

4 Answers

Ctrl+A, 9 or Ctrl+A, " (that's a double-quote) and then select it from a list.

link|improve this answer
feedback

Ah. screen-in-screen... very Inception. We need to go deeper...

That being said, you can send a ctrl-A to a nested screen by doing Ctrl-AA.

link|improve this answer
feedback

When I run screen in another screen, I use a different command character for each.

Rather than the default ctrl-A, I use ctrl-space (the null character, escape ^@^@ in .screenrc) for the outer one, and ctrl-] (escape ^]^] in .screenrc) for the inner one.

If you don't do that, you can send a single command character to the inner nested screen session (or to any other command running under screeen) by doubling it.

link|improve this answer
feedback

You can either press Ctrl+a, followed by Shift+ '(single quote)' and choose the screen you want.

Or you can jus hit Ctrl+a(double tap) to return to previous screen.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

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