Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 606568

Summary: =app-misc/tmux-2.3: status-right in .tmux.conf not honored without default-color set
Product: Gentoo Linux Reporter: zlg (RETIRED) <zlg>
Component: Current packagesAssignee: Gentoo Shell Tools project <shell-tools>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Attachments: Correct 'status-right' issue for tmux-2.3

Description zlg (RETIRED) gentoo-dev 2017-01-20 06:30:27 UTC
Created attachment 460686 [details, diff]
Correct 'status-right' issue for tmux-2.3

I had noticed my .tmux.conf status-right setting ("%a %Y-%m-%d %H:%M") stopped working recently and wasn't displaying as expected. Some scrounging around on the Web led me to upstream's issue on the matter[0], which includes a patch. There is a work-around sans patch (setting default colors explicitly), but it's hacky at best. I've tested the patch[1] applied as a user patch and the issue is resolved. I've added the patch as an attachment.

I searched for a duplicate bug but could not find one.

Steps To Reproduce:

1. emerge app-misc/tmux-2.3
2. include `set -g status-right "%a %Y-%m-%d %H:%M"` somewhere in ~/.tmux.conf
3. load tmux and check the lower right hand side. The current DOW and ISO time should show up.

Problem:

The text isn't showing up.

Solution:

The attached patch worked for me with a simple re-emerge, on the 'default/linux/amd64/13.0/developer' profile, on ~amd64.

[0]: https://github.com/tmux/tmux/issues/560
[1]: https://github.com/tmux/tmux/issues/560#issuecomment-251810282
Comment 1 Lars Wendler (Polynomial-C) (RETIRED) gentoo-dev 2017-01-21 17:24:53 UTC
commit 6040e1f56ea5f55bad8f124c104adcaa1b171fa1
Author: Lars Wendler <polynomial-c@gentoo.org>
Date:   Sat Jan 21 18:23:29 2017

    app-misc/tmux: Revbump to fix status-right display (bug #606568).

    Package-Manager: Portage-2.3.3, Repoman-2.3.1