I use byobu with the tmux backend on my 12.04 server. I'd like to use the midnight commander shortcut keys with it, but the F keys don't work.
I've seen some posts on the issues here:
but they are out of date and don't seem to work for newer versions of byobu. How can I either work around this or use MC in a way that works better?
You can easily toggle on/off the use of the F-keys inside of Byobu (tmux) by pressing either:
shift-F12 (in tmux)
ctrl-a-! (in screen)
Full disclosure: I'm the author and maintainer of Byobu.
On midnight commander to trigger for example the F2 key:
Which is more convenient than switching using:
Shift+F12 (in tmux, default on byobu)
Ctrl+A+! (in screen)
Hah, a man after my own heart :)
Short answer: add my ppa (
ppa:izx/private
) andupdate
byobu (or manually install the deb). Byobu will default toscreen
as the backend with F-key behavior restored to old 4.x style.Long answer: Use
byobu-select-backend
to switch toscreen
if you haven't already, and add line$BYOBU_PREFIX/share/byobu/keybindings/f-keys.screen.disable
after the line$BYOBU_PREFIX/share/byobu/keybindings/f-keys.screen
in/usr/share/byobu/keybindings/common
.Entire patch: