Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

Using GNU-Screen for a long time.

C-a 1 2 n p

to navigate to other tabs. This works till 9. I often have 10, 11 etc. Is there any way to go to them quickly ?

Currently, i have to do: C-a 9, C-a n which is quite a pain. Thanks.

share|improve this question

migrated from Oct 3 '11 at 12:08

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

up vote 14 down vote accepted

try to use
(C-a ")
Display all windows in a table for visual window selection. The desired window can be selected via the standard movement keys (see Movement) and activated via the return key. If the -b option is given, screen will switch to the blank window before presenting the list, so that the current window is also selectable. The -m option changes the order of the windows, instead of sorting by window numbers screen uses its internal most-recently-used list.
You can use binding to access windows above 9. here is the link text

share|improve this answer
Strangely, I am able to do this now. Until now, upon doing Ca-", i was unable to move down the titles. Thanks. Can you tell me what the C-a - (minus) window is. I get a blank window that I am unable to do anything on. I can only move away from it. Earlier i had to kill it to make it go away, now i see that it vanishes when i move to next tab. – rahulk Sep 17 '10 at 4:47
(C-a -) (select -) switch to window 0 or to blank window. Updated answer. – zaynyatyi Sep 17 '10 at 8:09
Thanks for the link text. that was great. However, what is this blank window. I am unable to do anything with it. In earlier versions, i had to kill it to dismiss it. Now, thankfully, it goes away if i change to another tab. My question is -- what is this blank window. WHat purpose ? – rahulk Sep 17 '10 at 12:49
You can see there your windowlist when using C-a ". But i really don't know why devs left access for it trought C-a -. – zaynyatyi Sep 17 '10 at 13:30
thanks, i've mapped "-" to tab 11. and "o" to 10. – rahulk Sep 19 '10 at 10:44

You can also use (C-a '), and gnu screen will prompt "Switch to window:", where you can enter as many digits as you wish.

share|improve this answer

According to screen's manual page, you can add the following lines to your ~/.screenrc file:

bind -c demo1 0 select 10
bind -c demo1 1 select 11
bind -c demo1 2 select 12
bindkey "^B" command -c demo1

makes C-b 0 select window 10, C-b 1 window 11, etc. Alternatively, you can use:

bind -c demo2 0 select 10
bind -c demo2 1 select 11
bind -c demo2 2 select 12
bind - command -c demo2

makes C-a - 0 select window 10, C-a - 1 window 11, etc.

share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .