Try \\007.

On Sun, Sep 30, 2012 at 07:42:15PM -0400, Alan wrote:
>    When I do that, I get:
> 
>    computer_name ~ [tmux 0: bash]007
> 
>    in the window title, and also:
> 
>    ?25l
> 
>    in the terminal. Any other hints? Or do you think this may be a bug with
>    the terminal I'm using?
> 
>    Thanks.
> 
>    On Sun, Sep 30, 2012 at 6:40 PM, Nicholas Marriott
>    <[1]nicholas.marri...@gmail.com> wrote:
> 
>      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][2]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][3]http://ad.doubleclick.net/clk;258768047;13503038;j?
>      > * * *>
>      [3][4]http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>      >
>      > * * *> _______________________________________________
>      > * * *> tmux-users mailing list
>      > * * *> [4][5]tmux-users@lists.sourceforge.net
>      > * * *> [5][6]https://lists.sourceforge.net/lists/listinfo/tmux-users
>      >
>      > References
>      >
>      > * *Visible links
>      > * *1. mailto:[7]nicholas.marri...@gmail.com
>      > * *2. [8]http://ad.doubleclick.net/clk;258768047;13503038;j
>      > * *3. [9]http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>      > * *4. mailto:[10]tmux-users@lists.sourceforge.net
>      > * *5. [11]https://lists.sourceforge.net/lists/listinfo/tmux-users
> 
> References
> 
>    Visible links
>    1. mailto:nicholas.marri...@gmail.com
>    2. mailto:nicholas.marri...@gmail.com
>    3. http://ad.doubleclick.net/clk;258768047;13503038;j
>    4. http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>    5. mailto:tmux-users@lists.sourceforge.net
>    6. https://lists.sourceforge.net/lists/listinfo/tmux-users
>    7. mailto:nicholas.marri...@gmail.com
>    8. http://ad.doubleclick.net/clk;258768047;13503038;j
>    9. http://info.appdynamics.com/FreeJavaPerformanceDownload.html
>   10. mailto:tmux-users@lists.sourceforge.net
>   11. https://lists.sourceforge.net/lists/listinfo/tmux-users

------------------------------------------------------------------------------
Got visibility?
Most devs has no idea what their production app looks like.
Find out how fast your code is with AppDynamics Lite.
http://ad.doubleclick.net/clk;262219671;13503038;y?
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