How do you detach a remote screen session in byobu (tmux)?

后端 未结 7 2133
[愿得一人]
[愿得一人] 2020-12-29 04:01

I am currently in a byobu-tmux session and am ssh\'ed into a screen session. How do I detach the remote screen session without detaching byobu-tmux session? Some things to

7条回答
  •  夕颜
    夕颜 (楼主)
    2020-12-29 04:29

    Try letting go of ctrl after the first a, so the sequence is ctrl-a, a, d. Man screen:

    C-a C-a (other) Toggle to the window displayed previously. Note that this binding defaults to the command character typed twice, unless overridden. For instance, if you use the option "-e]x", this command becomes "]]".

    C-a a (meta) Send the command character (C-a) to window. See escape com‐ mand.

    Or if you're using tmux instead of screen for Byobu, try just ctrl-a d. Byobu's default prefix key is ctrl-b, so if you're using that default, doubling up the ctrl-a keystroke would not be necessary.

    Source: https://askubuntu.com/a/309215/106100

提交回复
热议问题