Package: tmux Version: 1.6~svn2608-2 Severity: normal * What led up to the situation?
Usage of tmux.
* What exactly did you do (or not do) that was effective (or
ineffective)?
Cursed it.
* What was the outcome of this action?
Doesn't help.
* What outcome did you expect instead?
Have it do what I want.
(Makes me feel like this should be grave.... :) )
*** End of the template - remove these lines ***
Right, now seriously: tmux ignores "automatic-rename" setting for
windows entirely. It plain simply has no effect whatever way one sets
this option.
Take the following set of commands:
tmux new-session -d -s gkars_sheridan_vir -n sheridan 'ssh sheridan'
tmux set-window-option -t gkars_sheridan_vir:1 automatic-rename off
tmux new-window -d -t gkars_sheridan_vir:2 -n vir 'ssh vir'
tmux set-window-option -t gkars_sheridan_vir:2 automatic-rename off
tmux select-window -t gkars_sheridan_vir:1
tmux -2 attach -t gkars_sheridan_vir
This will have tmux spit out two lines:
set option: automatic-rename -> off
set option: automatic-rename -> off
and otherwise neatly start a session, ssh to two machines. status-line
enabled shows two windows opening, with the names as given in "-n"
parameter here. Exactly as wanted.
The shell starts up and the names go away, get replaced by "zsh".
This is appearently caused by one of the following two lines
print -Pn "\e]2;$2:q\a"
print -Pn "\ek$1:q\e\\"
in a zsh shell init.
Which would be all fine would I have automatic-rename ON. It is OFF, so
tmux should NOT DARE TO TOUCH THE WINDOW TITLE. Thats why I set it to
off.
--
bye, Joerg
I guess some people never change. Or, they quickly change and then
quickly change back.
pgpOBewnnVXqo.pgp
Description: PGP signature

