Some Byobu shortcuts not working when using the Secure Shell extension from a Chromebook
1
vote
0
answers
88
views
I'm using the [Secure Shell Chrome extension](https://chromewebstore.google.com/detail/iodihamcpbpeioajjeobimgagajmlibd) to SSH from a Chromebook to a Linux workstation. When I launch byobu (with the
tmux
backend), _most_ of its keyboard shortcuts work fine, but a notable exception is Alt+Up/Down for switching between sessions(*), which are interpreted as simple Up/Down key presses that scroll through my bash command history.
_How can I switch between sessions on this environment?_
Ideally there's some combination of settings that would fix this, but I couldn't find the right incantation myself. I'm also interested in potential workarounds, like creating [new Byobu shortcuts](https://stackoverflow.com/questions/24208369/modify-key-bindings-in-byobu) or using alternative [Ctrl-a-based byobu shortcuts](https://gist.github.com/PackeTsar/e4adf2a2056710a0b65c537fd2990188) ?.
In case that helps, these are the sequences I get using read -n 1
from the Secure Shell extension (which don't work with byobu):
* Alt+Up: ^[[5~
* Alt+Down: ^[[6~
And from a local terminal running directly on the workstation (which work as expected with byobu):
* Alt+Up: ^[[1;3A
* Alt+Down: ^[[1;3B
(*): Curiously, Shift+Up/Down and Alt+Left/Right work just fine. There are other shortcuts that do not work either, but I'm less bothered by them, like F4-based ones (used by ChromeOS to maximize/restore windows) or Alt+F11.
Asked by Chuim
(111 rep)
Jun 9, 2023, 09:09 PM