You can control what escape sequences tmux uses to set the title by
changing the tsl and fsl terminfo entries (with tmux terminal-overrides
option or a custom terminfo). By default it uses tsl=\e]0; which is
the xterm sequence to change icon name and window title, I suspect you
want to change that to tsl=\e]2;



On Thu, Sep 27, 2012 at 06:36:32PM -0400, Alan wrote:
>    I've been using something like "\e]1;TAB_NAME\a" in my PS1 environment
>    variable to set my terminal emulator's tab name.
> 
>    I use something like "\e]2;WINDOW_TITLE\a" in my PS1 to set the terminal
>    emulator's titlebar name.
> 
>    When I use tmux, I've been using:
> 
>    set-option -g set-titles on
>    set-option -g set-titles-string "#T [tmux #I: #W]"
> 
>    which works for the terminal emulator's titlebar name, but clobbers the
>    terminal emulator's tab name, TAB_NAME, to be the same as that of the
>    titlebar.
> 
>    How can I preserve the tab name I previously specified?
> 
>    Please CC me in your response.
> 
>    Thanks so much!
> 
>    (Note: I've previously been using screen, which doesn't clobber the tab
>    name when using the 'hardstatus' setting in .screenrc.)

> ------------------------------------------------------------------------------
> Everyone hates slow websites. So do we.
> Make your web apps faster with AppDynamics
> Download AppDynamics Lite for free today:
> http://ad.doubleclick.net/clk;258768047;13503038;j?
> http://info.appdynamics.com/FreeJavaPerformanceDownload.html

> _______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users


------------------------------------------------------------------------------
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://ad.doubleclick.net/clk;258768047;13503038;j?
http://info.appdynamics.com/FreeJavaPerformanceDownload.html
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to