Bug#654882: tmux: Ignores "automatic-rename" window setting

January 06th, 2012 - 10:00 am ET by Joerg Jaspert | Report spam

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.





To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 8 repliesReplies Make a reply

Replies

#1 Karl Ferdinand Ebert
January 06th, 2012 - 12:10 pm ET | Report spam

Hello Jörg,

Long time no see. Actually 13 months since we met each other with the intent
to both of us symmetrically sign our PGP keys.

Am Freitag 06 Januar 2012, 15:46:29 schrieben Sie:
...
Right, now seriously: tmux ignores "automatic-rename" setting for
windows entirely. It plain simply has no effect whatever way one sets
this option.


Could you use set-window-option -g automatic-rename off and test if the
behaviour occurs in those windows too?
Could you provide your tmux.conf and run tmux -vvv and attach the non-empty
logs?

Best regards,

Ferdinand






To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics