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 use GNU Screen tool to keep my sessions alive on the system. To switch between windows I use Ctrl+a N where N is the number of the window. I want to use similar keystroke to access windows with numbers in two digits. As of now I have to go to window list by Ctrl+a " and then select the window.

Is there a way to achieve what I'm trying to?

share|improve this question

migrated from stackoverflow.com Oct 4 '11 at 18:10

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

add comment

2 Answers

up vote 1 down vote accepted

Well I don't know what your doing that actually needs 10+ processes to be accessible in one screen instance anyway, but you might just use ctrl-a n/p to go back and forth (which conveniently wraps around).

And consider just using 2 instances of screen ... or even a screen-in-screen

There is no way to switch directly to windows above number 9 as explained in the doc.

share|improve this answer
2  
Having 9+ processes in Screen is not the case always but sometimes I do have 12-13 processes running and I need to watch them at the same time. Looks like I'll have to stick with Ctrl+a ". –  RonakG Oct 4 '11 at 15:03
2  
you can have a split screen too. Which works nice if you want to have more processes open at the same time. Maybe Byobu could be useful too –  jpjacobs Oct 4 '11 at 15:16
add comment

If you type Ctrl+a+' (an apostrophe), screen asks you to enter the window number. It's in screen help on the left side. Hit Ctrl+a+? to see the help.

share|improve this answer
    
That should be the accepted answer. –  scai Jun 19 at 11:23
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.