tmux lead to terminal suspended animation on FreeBSD 8.1
After upgrading to 1.4, tmux is often similar suspended animation: mouse and keyboard are invalid, but if killing the terminal from ssh and using tmux attach, tmux can continue to use. Beginning to think the problem is the configuration file, but trying to use the default configuration file is still the case. When Suspended animation, the cpu% is normal, the memory is not to 10MB. This is not a particular case. Our forum's discussing is here: http://www.freebsdchina.org/forum/topic_51129.html (Chinese) http://translate.google.com/translate?u=http%3A%2F%2Fwww.freebsdchina.org%2Fforum%2Ftopic_51129.html&sl=zh-CN&tl=en&hl=&ie=UTF-8(English, thanks for Google Translate) What should we do? Thanks! -- Special Offer-- Download ArcSight Logger for FREE (a $49 USD value)! Finally, a world-class log management solution at an even better price-free! Download using promo code Free_Logger_4_Dev2Dev. Offer expires February 28th, so secure your free ArcSight Logger TODAY! http://p.sf.net/sfu/arcsight-sfd2d___ 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
Re: How to show dynamic title for xterm/uxterm
2011/6/2 Nicholas Marriott > 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
Re: How to show dynamic title for xterm/uxterm
2011/6/3 Nicholas Marriott > title supports UTF-8 in latest SVN, will be in 1.5 > > > On Fri, Jun 03, 2011 at 11:47:17AM +0800, alphachi wrote: > >2011/6/2 Nicholas Marriott <[1]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. > > > [2]http://p.sf.net/sfu/quest-sfdev2dev > > > > > ___ > > > tmux-users mailing list > > > [3]tmux-users@lists.sourceforge.net > > > [4]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. > > > > References > > > >Visible links > >1. mailto:nicholas.marri...@gmail.com > >2. http://p.sf.net/sfu/quest-sfdev2dev > >3. mailto:tmux-users@lists.sourceforge.net > >4. https://lists.sourceforge.net/lists/listinfo/tmux-users > Eager for it and thank you very much! :) -- 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
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
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
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 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
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 : > 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 : > 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 > : > >> 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