When using `byobu` in a PuTTY session cannot create new windows
Solution 1
Since you are using 10.04 I'll assume you are still using the screen
backend to byobu
. You should also learn the screen
shortcuts - at least the most important ones.
- Ctrl+ac == create new window
- Ctrl+ap == previous window
- Ctrl+an == next window
- Ctrl+aa == toggle between two windows
-
Ctrl+a[number] == switch to window
[number]
- Ctrl+ad == detach from session
There are various reasons why this may not work. And you will encounter more the more different programs you use.
For example the default byobu
shortcuts block out the ones in Midnight Commander (various F-keys), but you can use Alt+[number], e.g. Alt+1 replaces F1.
Solution 2
In Putty, You need to set the configurations: -->Connection-->SSH-->Auth-->load ppk file Replace the xterm with putty-256color
Note: Go to session-> click save button to save the configuration.
Related videos on Youtube
Comments
-
Cylindric over 1 year
I have an Ubuntu 10.04.4 web server, and I have set it to run byobu on session startup.
To start with it all seems to work fine, for example F9 brings up the menu and F7 starts the copy/paste process.
When I connect to the server using PuTTY from my PC, the problem is that when I press F2 to create a new window, the screen just flashes, and no window is created.
I have tried setting PuTTY to use
Xterm R6
in the function keys settings, as per the man page and mailing list, but have also tried using the defaultESC[n~
.-
0xC0000022L almost 12 yearsYou don't say whether your PuTTY runs on Ubuntu or whether you merely run it, for example on Windows, to connect to Ubuntu.
-
Cylindric almost 12 yearsI'm connecting to the web server from my PC, using PuTTY.
-
-
Cylindric almost 12 yearsAah, okay I thought the F-keys would still work. I'm familiar with screen (it's what i've used for years) but the [Ctrl]+[a][c] does the same as [F2] - just flashes the screen. Works fine if I run screen manually, and not byobu.
-
0xC0000022L almost 12 yearsCheck your
.screenrc
and anything that gets sourced from it (did someone unbind the key?). Also consider globalscreen
andbyobu
settings. btw: in my PuTTY to the same distro version I use backspace =Control-?
, home =Standard
, Function keys =ESC[n~
... and bothF2
andCtrl+a c
work for me.