4

I am using byobu with tmux backend in Ubuntu 12.04.

I am trying write a custom script as shown at the manpage of byobu:

#!/bin/sh
printf "\005{= bw}%s\005{-}" "$(uname -r)"

When being run (using an arbitrary interval, e.g 10 seconds), it does not show anything, but bleeds the white colour to the right. By replacing printf with echo, bleeding stops, but the message appeared, is showing the {-} after the command. I can't figure out how to solve it!

Any help is appreciated! Thanks!

migrated from serverfault.com Jun 25 '12 at 15:34

This question came from our site for system and network administrators.

2

The bug is in version 5.21 of byobu currently on the official Ubuntu repos. In the byobu PPA, version 5.22 doesn't bleed colors to the right anymore. Still no answer on the {-} issue.

Procedure:

sudo add-apt-repository ppa:byobu/ppa
sudo apt-get update
sudo apt-get install byobu

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy