Select Your Language

Infrastructure and Management

Cloud Computing

Storage

Runtimes

Integration and Automation

  • Comments
  • tmux v1.8 current window name bug?

    Posted on

    I'm using tmux v1.8 and it sure seems to be acting odd. The session shows just fine. The ID is fine. The date is fine. But the Window name seems broken to me. Maybe something specific with v1.8? I took two screen shots, one with Ubuntu and one with RHEL 7.1. Same config file used on both. Here is my .tmux.conf

    # use UTF8
    set -g utf8
    set-window-option -g utf8 on
    bind r source-file ~/.tmux.conf \; display "Fully Loaded!"
    
    # define window split keys
    bind | split-window -h
    bind - split-window -v
    
    #set mouse features
    setw -g mode-mouse on
    set -g mouse-select-pane on
    set -g mouse-resize-pane on
    set -g mouse-select-window on
    
    set-window-option -g mode-keys vi
    bind-key -t vi-copy 'v' begin-selection
    bind-key -t vi-copy 'y' copy-selection
    
    bind h select-pane -L
    bind j select-pane -D
    bind k select-pane -U
    bind l select-pane -R
    
    # setup Status Line
    set -g window-status-format "#I:#W"
    set -g window-status-current-format "#I:#W"
    
    set -g automatic-rename on
    set -g status-interval 1
    
    # default status bar colors
    set-option -g status-bg colour235
    set-option -g status-fg colour11
    
    # Default window title colors
    set-window-option -g window-status-fg colour240
    set-window-option -g window-status-attr dim
    
    # Active window title colors
    set-window-option -g window-status-current-fg colour10
    set-window-option -g window-status-current-bg colour235
    set-window-option -g window-status-current-attr dim
    
    # clock
    set-window-option -g status-right " %H:%M %d-%b-%y "
    set-window-option -g status-right-fg colour166 
    
    # message text
    set-option -g message-bg colour235
    set-option -g message-fg colour7
    
    ## END ##
    

    And I have the two images added as well.

    You'll see that in Ubuntu, also running v1.8, I have vim and top running and the status bar reflects this. On rhel I am running vim twice and it shows my user@host.

    These settings:

    # setup Status Line
    set -g window-status-format "#I:#W"
    set -g window-status-current-format "#I:#W"
    

    specifically the "#I:#W" should show the Index : Window Name. Can't get it to actually show the Window name.

    Attachments

    by

    points

    Responses

    Red Hat LinkedIn YouTube Facebook X, formerly Twitter

    Quick Links

    Help

    Site Info

    Related Sites

    © 2026 Red Hat