Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

In GNU screen, I could type Ctrl+A twice to switch between two windows.

In byobu, I can't see how to do that. F12+Ctrl+A doesn't work, and I can't find anything in the manual.

To be clear, I do not want to change the escape sequence to Ctrl+A. I want a key sequence that would switch between current and previous window.

share|improve this question

3 Answers 3

up vote 2 down vote accepted

I just moved my .screenrc out of the way and tried this.

On my machine (Oneiric) both F12-Ctrl-a and Ctrl-a-Ctrl-a worked exactly as I would expect.

I think you have another problem? Maybe something else is swallowing your key presses?

share|improve this answer
    
Hmmm.. I'm using it through putty, and now that you mention it, F4, F3 doesn't work as well. I'll investigate and let you know. –  Elazar Leibovich Apr 17 '12 at 13:17

On my system, F12+Ctrl+a works fine.

Despite that, you can use F3 and F4 to move to previous/next window. You can access the shortcut list using F9 -> Help.

share|improve this answer

Toggle the menu by pressing F9.

Under Change keybinding set choose screen-escape-keys.

share|improve this answer
    
I don't see how this helps switching between two windows. –  Elazar Leibovich Apr 17 '12 at 9:09
    
It enables the usual screen keyboard commands so ctrl-a twice works (as opposed to ctrl-a for start of line). –  Egil Apr 17 '12 at 9:25
    
But that's not what I'm looking for. I'm looking for the F12-Ctrl-a to work. –  Elazar Leibovich Apr 17 '12 at 13:41

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.