Hi all,

I've been fighting with this on and off for awhile.  Not sure what to
try next, so I'm emailing this list.  Hope it's the right place.

Just got a new laptop, installed Debian testing/Wheezy-amd64 on it.

tmux and xterm installed from packages:

laphroaig {root} [12:59:33] <~> dpkg -l tmux xterm
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name                    Version                 Description
+++-=======================-=======================-==========================
ii  tmux                    1.5-2                   terminal multiplexer
ii  xterm                   276-1                   X terminal emulator

I have set-titles on and set-titles-string set in my .tmux.conf file
(included at the end in case it helps).

On my old laptop (xterm-235 from etch/lenny packages, tmux 1.2 from
source) set-titles works fine.  It has the same .tmux.conf except for
bindkeys which used to be up-pane and down-pane, now select-pane.

On the new laptop, when I start xterm it gets a title of "xterm".  If I
do "vi wargle" the title doesn't change.

If I run tmux, the title stays "xterm" but if I do "vi wargle" (this
time from within tmux) it changes to "wargle (~) - VIM".


I hope someone can help me figure this out.

Cheers, Josh



==== .tmux.conf ====

# CTRL+Y is less annoying than CTRL+B *or* CTRL+A
set -g prefix C-y
unbind-key C-b
bind-key C-y send-prefix

# Lots of scrollback history
set -g history-limit 9000

# VI keybindings 
#set -g status-keys vi  ## What's "previous line"?  k writes a 'k'.  What 
escape char?
setw -g mode-keys vi

# Active pane is the one with the flashing cursor in it
# We don't need no steeking green borders
set -g pane-border-fg blue
set -g pane-active-border-bg black
set -g pane-active-border-fg colour255
set -g status-bg white

# Window format
set -g status-justify centre
set -g status-right "#22T %Y-%m-%d %H:%M %Z"
setw -g window-status-current-format "#S:#I.#P:#W#F" 
setw -g window-status-format "#S:#I.#P:#W#F" 

# PgUp and PgDown move windows
bind-key -n C-PPage previous-window
bind-key -n C-NPage next-window
bind-key -n C-Home select-pane -t :.-
bind-key -n C-End select-pane -t :.+
bind-key C-p previous-window
bind-key C-n next-window

# Layout main-vertical is our friend
# These values work for the upper head
setw -g main-pane-width 119
setw -g main-pane-height 33
# These values would work for the lower head (which has gnome-panel and gkrellm)
#setw -g main-pane-width 114
#setw -g main-pane-width 32

# TMUX titles
set -g set-titles on 
set -g set-titles-string "tmux - #S:#I.#P (#W)"

# Put buffer contents on clipboard
bind-key } save-buffer /tmp/tmux-xchg \; run-shell "xsel -i < /tmp/tmux-xchg"

------------------------------------------------------------------------------
Cloud Services Checklist: Pricing and Packaging Optimization
This white paper is intended to serve as a reference, checklist and point of 
discussion for anyone considering optimizing the pricing and packaging model 
of a cloud services business. Read Now!
http://www.accelacomm.com/jaw/sfnl/114/51491232/
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to