2011/6/2 Nicholas Marriott <nicholas.marri...@gmail.com>

> you want #T and then configure your shell to set the title inside tmux
> to whatever you want
>
> On Thu, Jun 02, 2011 at 06:19:33PM +0800, alphachi wrote:
> >    OS: FreeBSD 8.2R amd64
> >
> >    ~/.tmux.conf:
> >    set-option -g set-titles on
> >    set-option -g set-titles-string #pwd"
> >    set-window-option -g automatic-rename on
> >    set-option -g status-interval 1
> >    ...
> >
> >    I want to change the title of xterm/uxterm dynamically when I use
> command
> >    like "cd". That is to say, I want to show the current path for the
> >    xterm/uxterm window anytime. I tried the upper config and failed. How
> to
> >    do it ? thanks!
>
> >
> ------------------------------------------------------------------------------
> > Simplify data backup and recovery for your virtual environment with
> vRanger.
> > Installation's a snap, and flexible recovery options mean your data is
> safe,
> > secure and there when you need it. Data protection magic?
> > Nope - It's vRanger. Get your free trial download today.
> > http://p.sf.net/sfu/quest-sfdev2dev
>
> > _______________________________________________
> > tmux-users mailing list
> > tmux-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/tmux-users
>
>
Thank you! My tmux can show the dynamic title like the current path.
Here is a little problem: the title can't support UTF-8.
My config have including:
set-option -g status-utf8  on
set-window-option -g utf8 on
and my xterm/uxterm title have supported UTF-8.
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Discover what all the cheering's about.
Get your free trial download today. 
http://p.sf.net/sfu/quest-dev2dev2 
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users

Reply via email to