Problems using byobu with mosh

Bug #1617689 reported by Marcos Alano on 2016-08-28
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

When I execute Byobu with tmux inside a mosh connection this things occur:
I use this line and no MOTD:
$ mosh localhost -- byobu new-session -ADs mosh-session

But if I declare explicitly to use byobu-shell works:
$ mosh localhost -- byobu new-session -ADs mosh-session byobu-shell

If I just open the Byobu works fine:
$ mosh localhost -- byobu

But if I say to create a new session stop working:
$ mosh localhost -- byobu new -A

This is a expected behavior is is a problem? If you create a new session the MOTD shouldn't be showed?

Related branches

Dustin Kirkland  (kirkland) wrote :

Well, this seems to be part of the behavior of tmux.

You can get your motd back, by running byobu-shell as your actual command, which has the logic to do so. So try this:

$ mosh localhost -- byobu new -A byobu-shell

That'll print your motd!

Changed in byobu:
importance: Undecided → Medium
status: New → Confirmed
Dustin Kirkland  (kirkland) wrote :

Or, if you want to set this by default, add the following in your ~/.byobu/tmuxrc:

set -g default-command 'exec byobu-shell'

Changed in byobu:
status: Confirmed → Opinion
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers