tag:blogger.com,1999:blog-3803541356848955053.post1127403767086065..comments2016-04-05T16:35:00.805-07:00Comments on YJL: Migrating to tmux from GNU/ScreenYu-Jie Linhttps://plus.google.com/115422682039760465813noreply@blogger.comBlogger14125tag:blogger.com,1999:blog-3803541356848955053.post-41730798246989629132011-11-20T15:43:09.354-08:002011-11-20T15:43:09.354-08:00I know this post is a little old but you helped me...I know this post is a little old but you helped me fix my vim mouse problems in tmux. <br /><br />You can still use:<br /><br />set mouse=a<br />set ttymouse=xterm2in vim but in your tmux.conf you needsetw -g xterm-keys onNow everything works great and fast! :)jameshttp://twitter.com/treasonxnoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-78711683158253218912010-12-23T06:41:53.225-08:002010-12-23T06:41:53.225-08:00I know it comes a bit late, but using this http://...I know it comes a bit late, but using this http://anti.teamidiot.de/static/nei/*/Code/tmux/ I could get the xterm2 mouse to workNeihttp://anti.teamidiot.de/nei/.id/noreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-74562613717280998112010-09-28T18:11:05.026-07:002010-09-28T18:11:05.026-07:00the above solution doesnt work well when one windo...the above solution doesnt work well when one window is split into panels. :-(Jainnoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-69602557903535295892010-09-28T18:11:03.083-07:002010-09-28T18:11:03.083-07:00re: One thing I am not satisfied with panes is it&...re: One thing I am not satisfied with panes is it&#39;s not easy to know which pane is active<br><br>I had the same issue (I don&#39;t use a blinking cursor in terminals). Take a look at the following settings. they can make it a lot easier to see which panel is active, especially if you go with a reverse video config of the active.<br> pane-border-fg<br> pane-border-bg<br> pane-active-border-fg<br> pane-active-border-bgjvchttp://justinchouinard.com/noreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-62927955017243137972010-09-27T19:09:01.394-07:002010-09-27T19:09:01.394-07:00re: One thing I am not satisfied with panes is it&...re: One thing I am not satisfied with panes is it&#39;s not easy to know which pane is active<br><br>I had the same issue (I don&#39;t use a blinking cursor in terminals). Take a look at the following settings. they can make it a lot easier to see which panel is active, especially if you go with a reverse video config of the active.<br> pane-border-fg<br> pane-border-bg<br> pane-active-border-fg<br> pane-active-border-bgjvchttp://justinchouinard.com/noreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-35908299604239982342010-09-27T19:09:01.393-07:002010-09-27T19:09:01.393-07:00panes share same window, same window name, so whic...panes share same window, same window name, so which ssh last sets the<br>window name. And pane doesn&#39;t have name, so I guess there is no<br>solution for that case.livibetterhttp://lmgtfy.com/?q=livibetternoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-67044297344663544242010-09-27T19:09:01.392-07:002010-09-27T19:09:01.392-07:00the above solution doesnt work well when one windo...the above solution doesnt work well when one window is split into panels. :-(Jainnoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-68039843418457428642010-09-27T19:09:01.391-07:002010-09-27T19:09:01.391-07:00Thanks for your quick response.It worked. :-)Here ...Thanks for your quick response.<br>It worked. :-)<br><br>Here is my ssh() in .bashrc<br>function ssh() {<br> tmux set-window-option window-status-current-format &quot;#I:$(echo $@)&quot;<br> /usr/bin/ssh &quot;$@&quot;<br> tmux set-window-option window-status-current-format &quot;#I:$(hostname -s)&quot;<br>}<br><br>And I added this to .tmux.conf<br>setw -g window-status-format &quot;#I:#(hostname -s)&quot;<br>setw -g window-status-current-format &quot;#I:#(hostname -s)&quot;<br><br>This is very neat and clean.<br>Thanks.Jainnoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-49885305935589836612010-09-27T19:09:01.390-07:002010-09-27T19:09:01.390-07:00On the second thought I think this is not exactly ...On the second thought I think this is not exactly what you want. I think what you want is after login on remote server and show that hostname. Currently I am not aware of that and I believe I have read a discussion on Arch Linux forums, I didn&#39;t follow up the discussion. But I think no solution so far.<br><br>So the best workaround I can think of is to change it before you remote login. Sorry, couldn&#39;t be more helpful.livibetterhttp://lmgtfy.com/?q=livibetternoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-14918740396255748892010-09-27T19:09:01.389-07:002010-09-27T19:09:01.389-07:00Run `tmux set-window-option window-status-current-...Run `tmux set-window-option window-status-current-format $(echo<br>something)` at a window (in shell prompt), it will set the window name<br>(not terminal window&#39;s title) to something. Hope I read your question<br>right and this is what you want.livibetterhttp://lmgtfy.com/?q=livibetternoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-16209932408687946912010-09-27T19:09:01.388-07:002010-09-27T19:09:01.388-07:00I tried tmux today. But a few doubts.In screen, I ...I tried tmux today. But a few doubts.<br><br>In screen, I can set the name of a window by executing this:<br>echo -e &quot;\033k$(echo something)\033\134&quot;<br><br>I always use this feature to set window name to the host name I am logged in. Is it possible to to achieve this in tmux?Jainnoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-53143447645998663302010-09-27T19:09:01.386-07:002010-09-27T19:09:01.386-07:00Hi, I started using tmux today. I am still t...Hi,<br><br> I started using tmux today.<br> I am still trying to find out many things from this.<br> So, it would be of great help, if you can suggest.<br> 1. Is there any way to set the color for the background of the tab names?<br> 2. I have created many panes inside my windows.<br> But, is there any way, I can set a name for these panes and also background color for these names?<br><br>Regards,<br>NarendraSun_has_to_setnoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-68844945303449096742010-09-27T19:09:01.385-07:002010-09-27T19:09:01.385-07:001. window-status-* should do what you want.2. I am...1. window-status-* should do what you want.<br>2. I am not aware of any way that you can set a name to a pane or set<br>the background color.livibetterhttp://lmgtfy.com/?q=livibetternoreply@blogger.comtag:blogger.com,1999:blog-3803541356848955053.post-57912580980230299572009-12-12T16:53:30.296-08:002009-12-12T16:53:30.296-08:00Awesome post! Thanks for your ~/.tmux.conf, I&#39;...Awesome post! Thanks for your ~/.tmux.conf, I&#39;m using a slightly customized version of it now and it&#39;s great!jtrileyhttp://www.blogger.com/profile/15026665697864370476noreply@blogger.com