Take the 2-minute tour ×
Unix & Linux Stack Exchange is a question and answer site for users of Linux, FreeBSD and other Un*x-like operating systems.. It's 100% free, no registration required.

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!

share|improve this question

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

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

1 Answer 1

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
share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.