It occurs once in a great while with xterm-color.
-Adrian
On Nov 21, 2012, at 4:18 PM, Adrian Luff <adr...@luff.me> wrote:
> tmux should catch the escape sequence consistently but I seem to have found a
> race condition case where it doesn't. Adding...
>> export PROMPT_COMMAND="${PROMPT_COMMAND}; printf '\e]2;%s\e\\'
>> \"${HOSTNAME/.*}\""
> to the bash shell while inside tmux causes the status line to be printed on
> the current output line occasionally (instead of below it). This is easily
> reproduced by holding ENTER down at a shell prompt.
>
> Simply removing the PROMPT_COMMAND fixes the issue. The complexity of the
> status line seems to be a factor as the basic tmux configuration doesn't
> exhibit this. My status line is configured with a couple of shell scripts. I
> suspect a race condition between the escape sequence handling and the return
> values from the status line scripts.
>
> .tmux.conf status line excerpt...
>> set-option -g status-left
>> "#[attr=normal]#[fg=colour5]#S#[fg=colour10]@#[fg=colour2]#h#[fg=colour10]│#[fg=colour4]#32T#
>> "
>> set-option -g status-right "
>> #[fg=colour6]#(~/bin/tmux-mail)#[fg=colour10]│#[fg=colour4]#(~/bin/tmux-wifi)#[fg=colour10]│#[fg=colour2]#(~/bin/tmux-battery)#[fg=colour10]│#[fg=colour3]%H:%M
>> %a %d-%b %Z"
>
> -Adrian
>
> ------------------------------------------------------------------------------
> Monitor your physical, virtual and cloud infrastructure from a single
> web console. Get in-depth insight into apps, servers, databases, vmware,
> SAP, cloud infrastructure, etc. Download 30-day Free Trial.
> Pricing starts from $795 for 25 servers or applications!
> http://p.sf.net/sfu/zoho_dev2dev_nov_______________________________________________
> tmux-users mailing list
> tmux-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/tmux-users
------------------------------------------------------------------------------
LogMeIn Rescue: Anywhere, Anytime Remote support for IT. Free Trial
Remotely access PCs and mobile devices and provide instant support
Improve your efficiency, and focus on delivering more value-add services
Discover what IT Professionals Know. Rescue delivers
http://p.sf.net/sfu/logmein_12329d2d
_______________________________________________
tmux-users mailing list
tmux-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/tmux-users