tmux 2.0 lags when creating or splitting windows
Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0, libevent2 2.0.22_1 When starting tmux in uxterm, I have to wait about 5 seconds for the new window creating. If I create a new window or split the existing window, the wait time is similar. Before upgrading to 2.0, these are very fast. I tried to: 1. add set -g default-command $SHELL in ~/.tmux.conf for non-login shell 2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux* 3. deinstall and use the default options to reinstall tmux(inculding the relative ports) 4. test on the other machines but can't solve the problem. I found running su -m in a tmux window need wait too, so I queried the login log: last | less username pts/2tmux(4836).%3 一 5 18 14:12 still logged in username pts/2tmux(4836).%2 一 5 18 14:12 - 14:12 (00:00) username pts/2tmux(4836).%1 一 5 18 14:12 - 14:12 (00:00) username pts/1tmux(4836).%0 一 5 18 14:12 still logged in ... I remember there isn't any log about tmux in here. Is this reasonable? Thanks! -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: tmux 2.0 lags when creating or splitting windows
OK, I created a new user named test: $ whoami test $ pw usershow test test:*:1002:1002::0:0:User :/home/test:/bin/sh $ pwd /home/test $ ls -a . .. Then I find the reason: if the shell is csh/tcsh, it must lag. I tested sh/bash and they haven't any problem. Is this a bug of csh/tcsh or tmux 2.0? 2015-05-22 16:09 GMT+08:00 Nicholas Marriott nicholas.marri...@gmail.com: Hi If you create a new user without the default profiles etc, does it lag too? On Fri, May 22, 2015 at 03:39:15PM +0800, alphachi wrote: Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0, libevent2 2.0.22_1 When starting tmux in uxterm, I have to wait about 5 seconds for the new window creating. If I create a new window or split the existing window, the wait time is similar. Before upgrading to 2.0, these are very fast. I tried to: 1. add set -g default-command $SHELL in ~/.tmux.conf for non-login shell 2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux* 3. deinstall and use the default options to reinstall tmux(inculding the relative ports) 4. test on the other machines but can't solve the problem. I found running su -m in a tmux window need wait too, so I queried the login log: last | less username ** pts/2 ** **tmux(4836).%3 ** ** ** ** * **5 18 14:12 ** still logged in username ** pts/2 ** **tmux(4836).%2 ** ** ** ** * **5 18 14:12 - 14:12 **(00:00) username ** pts/2 ** **tmux(4836).%1 ** ** ** ** * **5 18 14:12 - 14:12 **(00:00) username ** pts/1 ** **tmux(4836).%0 ** ** ** ** * **5 18 14:12 ** still logged in ... I remember there isn't any log about tmux in here. Is this reasonable? Thanks! -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: tmux 2.0 lags when creating or splitting windows
The user test's csh/tcsh profiles are empty, and all of system-wide csh/tcsh profiles are the default. Paranoid in Sabbath ... 2015-05-23 1:08 GMT+08:00 Nicholas Marriott nicholas.marri...@gmail.com: More likely something in your tcsh profiles or the system ones Original message From: alphachi Date:22/05/2015 17:11 (GMT+00:00) To: Nicholas Marriott Cc: list: tmux Subject: Re: tmux 2.0 lags when creating or splitting windows OK, I created a new user named test: $ whoami test $ pw usershow test test:*:1002:1002::0:0:User :/home/test:/bin/sh $ pwd /home/test $ ls -a . .. Then I find the reason: if the shell is csh/tcsh, it must lag. I tested sh/bash and they haven't any problem. Is this a bug of csh/tcsh or tmux 2.0? 2015-05-22 16:09 GMT+08:00 Nicholas Marriott nicholas.marri...@gmail.com : Hi If you create a new user without the default profiles etc, does it lag too? On Fri, May 22, 2015 at 03:39:15PM +0800, alphachi wrote: Environment: FreeBSD 10.1R amd64, uxterm 318, tcsh 6.18.01, tmux 2.0, libevent2 2.0.22_1 When starting tmux in uxterm, I have to wait about 5 seconds for the new window creating. If I create a new window or split the existing window, the wait time is similar. Before upgrading to 2.0, these are very fast. I tried to: 1. add set -g default-command $SHELL in ~/.tmux.conf for non-login shell 2. delete ~/.tmux.conf, ~/.tcshrc and /tmp/tmux* 3. deinstall and use the default options to reinstall tmux(inculding the relative ports) 4. test on the other machines but can't solve the problem. I found running su -m in a tmux window need wait too, so I queried the login log: last | less username ** pts/2 ** **tmux(4836).%3 ** ** ** ** * **5 18 14:12 ** still logged in username ** pts/2 ** **tmux(4836).%2 ** ** ** ** * **5 18 14:12 - 14:12 **(00:00) username ** pts/2 ** **tmux(4836).%1 ** ** ** ** * **5 18 14:12 - 14:12 **(00:00) username ** pts/1 ** **tmux(4836).%0 ** ** ** ** * **5 18 14:12 ** still logged in ... I remember there isn't any log about tmux in here. Is this reasonable? Thanks! -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users -- One dashboard for servers and applications across Physical-Virtual-Cloud Widest out-of-the-box monitoring support with 50+ applications Performance metrics, stats and reports that give you Actionable Insights Deep dive visibility with transaction tracing using APM Insight. http://ad.doubleclick.net/ddm/clk/290420510;117567292;y___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: How to input same commands for multi-window/pane
Thanks! It's what I need. PS: can synchronize windows ? -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: How to differentiate tmux environment between Console and X
Thanks for your opinions, but the problem can't be resolved. Look at the comparison: 1. tmux of console: $TERM is screen. $tty is pts/*. $DISPLAY don't exists. 2. ssh to other host in tmux of console: $TERM is screen. $tty is pts/*. $DISPLAY don't exists. 3. tmux of X: $TERM is screen. $tty is pts/*. $DISPLAY exist. 4. ssh to other host in tmux of X: $TERM is screen. $tty is pts/*. $DISPLAY don't exist. That is to say, $TERM and $tty is useless, and $DISPLAY can't differentiate 4 and 1, 2. -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
How to input same commands for multi-window/pane
I have connected a few servers in multi-window/pane. If I want to run the same commands like ping *.*.*.* for these servers, how can I only input once instead of inputting in every window/pane? Thanks! -- All of the data generated in your IT infrastructure is seriously valuable. Why? It contains a definitive record of application performance, security threats, fraudulent activity, and more. Splunk takes this data and makes sense of it. IT sense. And common sense. http://p.sf.net/sfu/splunk-d2d-c2___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: How to differentiate tmux environment between Console and X
Sorry my express... This is my .cshrc: ... if ($TERM == cons25) then set prompt = %m:%l=%// else set prompt = %{\e]0;%m:%l=%//\a%} endif ... Under the console, the screen is: ... ... ... hostname:tty=path ... Under xterm, the screen is: ... ... ... ... and the xterm window title is hostname:tty=path. For tmux, how can I do the same thing? To tmux under Console, the screen is: ... ... ... hostname:tty=path ... To tmux Under X, the screen is: ... ... ... ... and the tmux window title is hostname:tty=path. the $TERM is still screen, whether console or X. I can't use it for my point. -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
How to differentiate tmux environment between Console and X
I want to customize my csh prompt based on the current environment. For example, I can determine the current environment according to $TERM: $TERM == 'cons25' is Console; $TERM == 'xterm' is X. But for tmux the $TERM is still screen, whether under Console or X. How can I differentiate tmux environment between Console and X? That is to say, which environment variable can be used in my .cshrc for determining the tmux is under Console or X ? Thanks! -- EditLive Enterprise is the world's most technically advanced content authoring tool. Experience the power of Track Changes, Inline Image Editing and ensure content is compliant with Accessibility Checking. http://p.sf.net/sfu/ephox-dev2dev___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
How to show dynamic title for xterm/uxterm
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
Re: How to show dynamic title for xterm/uxterm
Sorry, the config is #pwd, not #pwd. -- 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