Change \a to \007.

On Sun, Sep 30, 2012 at 02:58:54PM -0400, Alan wrote:
>    Hi Nicholas,
> 
>    Thanks so much for your reply.
> 
>    I'm closer, but still not getting it. Right now, I have in my
>    ~/.tmux.conf:
> 
>    set-option -g set-titles on
>    set-option -g set-titles-string "#T [tmux #I: #W]"
>    set-option -g terminal-overrides "*:tsl=\e]2;,*:fsl=\a"
> 
>    But it gives me:
> 
>    computer_name ~ [tmux 0: bash]a
> 
>    in the window title (notice the extra "a" at the end), and then it
>    outputs:
> 
>    ?25l
> 
>    in the area where you type commands in the terminal. The weird thing is
>    that once I type in the terminal, the "?25l" characters there are
>    overwritten.
> 
>    Is that the right syntax for "tsl" and "fsl"? What else am I doing wrong?
> 
>    Thanks again.
> 
>    On Sat, Sep 29, 2012 at 9:16 PM, Nicholas Marriott
>    <[1]nicholas.marri...@gmail.com> wrote:
> 
>      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:
>      > [2]http://ad.doubleclick.net/clk;258768047;13503038;j?
>      > [3]http://info.appdynamics.com/FreeJavaPerformanceDownload.html
> 
>      > _______________________________________________
>      > tmux-users mailing list
>      > [4]tmux-users@lists.sourceforge.net
>      > [5]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> References
> 
>    Visible links
>    1. mailto:nicholas.marri...@gmail.com
>    2. http://ad.doubleclick.net/clk;258768047;13503038;j
>    3. http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>    4. mailto:tmux-users@lists.sourceforge.net
>    5. 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