Problems using byobu with mosh

Bug #1617689 reported by Marcos Alano
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
byobu
Opinion
Medium
Unassigned

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

Revision history for this message
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
Revision history for this message
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  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.