Re: [Patch] Move cursor into last column on CUU and CUD
Hi Is this an issue for you or just incidental because I'd prefer to leave it for a few days til after 1.8? On Sun, Mar 24, 2013 at 01:37:57PM -0700, George Nachman wrote: > There is an odd bit of behavior in CUU and CUD when the cursor is at > the end of the line in xterm that tmux does not have. The following > command: > > echo -e '\033[2J\033[2;80Ha\033[1Ab\n' > > when run on a terminal 80 characters wide, will print both "a" and "b" > on the 80th column in xterm. In tmux, the 'b' is wrapped to the next > line. > > Like xterm, tmux allows the cursor's x position to be one larger than > the number of columns. That is, when s->cx == screen_size_x(s), as > described in the comment at screen-write.c:1033. The difference is > that when xterm moves the cursor up or down, it also moves the cursor > back into the last column. > > This patch modifies tmux to do the same thing xterm does. > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > ___ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Changes to tmux-code.git on SF -- "master" branch rewound.
Hello all, On Tuesday evening -- I'm planning to release tmux 1.8. To this end, I've updated the "master" branch on SF to reflect what will be in it. To most people this won't be news because it should contain everything it used to beforehand, but I've had to rewrite the history to satisfy the syncing from OpenBSD. Packagers -- just be aware of this, that "master" has changed and that anyone with local fixes on "master" might be able to "git pull --rebase" successfully to reapply anything they might have sat on there, but I'm assuming most people won't need to. Any questions, please let me know. Kindly, -- Thomas Adam -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Add TMUX_TMPDIR environment variable
On Fri, Mar 22, 2013 at 08:35:10 +, Nicholas Marriott wrote: > Perhaps TMUX_SOCKET to act like -S instead might be better? Then you can > put it where you like without tmux creating directories. That might also be good, but I'd like any tmux sessions I create use the directory without having to set TMUX_SOCKET every time I want a new server (it's effectively no improvement over -S at that point). --Ben -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Tmux mode-mouse issue
Dear developers, I recently started to use tmux and thanks for making this useful tool! I encountered some problem with mode-mouse settings. I use iTerm2 and this is my .tmux.conf setting for mode-mouse: set -g prefix C-q # Toggle mouse on with ^q m bind m \ set -g mode-mouse on \;\ set -g mouse-select-window on \;\ set -g mouse-resize-pane on \;\ set -g mouse-select-pane on \;\ display 'Mouse: ON' # Toggle mouse off with ^q M bind M \ set -g mode-mouse off \;\ set -g mouse-select-window off \;\ set -g mouse-resize-pane off \;\ set -g mouse-select-pane off \;\ display 'Mouse: OFF' When I turn mode-mosue on in iTerm2, I can use my mouse to scroll back and that' fine. But I can't select anything using my mouse. Still have to use vi mode to select and copy stuff. I tried it also on Mac's Terminal, but somehow the mode-mouse on setting is not in effect at all and I can't scroll back at all. I've googled this issue and found several people having similar problems but I couldn't figure it out on my machine how to solve it.. Can you give me some hints? Thanks so much! -- Best, Junchen -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
Hi Does it work in xterm? Also does mouse-select-pane work? That is, if you split the window can you change pane by clicking. On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: >Dear developers, >I recently started to use tmux and thanks for making this useful tool! >I encountered some problem with mode-mouse settings. I use iTerm2 and this >is my .tmux.conf setting for mode-mouse: >set -g prefix C-q ># Toggle mouse on with ^q m >bind m \ >set -g mode-mouse on \;\ >set -g mouse-select-window on \;\ >set -g mouse-resize-pane on \;\ >set -g mouse-select-pane on \;\ >display 'Mouse: ON' ># Toggle mouse off with ^q M >bind M \ >set -g mode-mouse off \;\ >set -g mouse-select-window off \;\ >* * * * set -g mouse-resize-pane off \;\ >* * * * set -g mouse-select-pane off \;\ >display 'Mouse: OFF' >When I turn mode-mosue on in iTerm2, I can use my mouse to scroll back and >that' fine. But I can't select anything using my mouse. Still have to use >vi mode to select and copy stuff.* >I tried it also on Mac's Terminal, but somehow the mode-mouse on setting >is not in effect at all and I can't scroll back at all.* >I've googled this issue and found several people having similar problems >but I couldn't figure it out on my machine how to solve it..* >Can you give me some hints? *Thanks so much! >-- >Best, >Junchen > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > ___ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
Hi, Nicholas, I've never used xterm so I'm not sure if it works there. Why? Yeah, the mouse-select-pane works. The mouse-select-window also works. On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Does it work in xterm? > > Also does mouse-select-pane work? That is, if you split the window can > you change pane by clicking. > > > On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: > >Dear developers, > >I recently started to use tmux and thanks for making this useful tool! > >I encountered some problem with mode-mouse settings. I use iTerm2 and > this > >is my .tmux.conf setting for mode-mouse: > >set -g prefix C-q > ># Toggle mouse on with ^q m > >bind m \ > >set -g mode-mouse on \;\ > >set -g mouse-select-window on \;\ > >set -g mouse-resize-pane on \;\ > >set -g mouse-select-pane on \;\ > >display 'Mouse: ON' > ># Toggle mouse off with ^q M > >bind M \ > >set -g mode-mouse off \;\ > >set -g mouse-select-window off \;\ > >* * * * set -g mouse-resize-pane off \;\ > >* * * * set -g mouse-select-pane off \;\ > >display 'Mouse: OFF' > >When I turn mode-mosue on in iTerm2, I can use my mouse to scroll > back and > >that' fine. But I can't select anything using my mouse. Still have to > use > >vi mode to select and copy stuff.* > >I tried it also on Mac's Terminal, but somehow the mode-mouse on > setting > >is not in effect at all and I can't scroll back at all.* > >I've googled this issue and found several people having similar > problems > >but I couldn't figure it out on my machine how to solve it..* > >Can you give me some hints? *Thanks so much! > >-- > >Best, > >Junchen > > > > -- > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_mar > > > ___ > > tmux-users mailing list > > tmux-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/tmux-users > > -- Best, Junchen -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
xterm is the standard terminal and I know it works there, so if it works for you with xterm then you have configured things correctly and it's a problem in iTerm2 and Terminal.app. Also what version of tmux are you using? On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: >Hi, Nicholas, >I've never used xterm so I'm not sure if it works there. Why? >Yeah, the mouse-select-pane works. The mouse-select-window also works.* >On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > > Hi > > Does it work in xterm? > > Also does mouse-select-pane work? That is, if you split the window can > you change pane by clicking. > > On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: > > * *Dear developers, > > * *I recently started to use tmux and thanks for making this useful > tool! > > * *I encountered some problem with mode-mouse settings. I use iTerm2 > and this > > * *is my .tmux.conf setting for mode-mouse: > > * *set -g prefix C-q > > * *# Toggle mouse on with ^q m > > * *bind m \ > > * * * * * *set -g mode-mouse on \;\ > > * * * * * *set -g mouse-select-window on \;\ > > * * * * * *set -g mouse-resize-pane on \;\ > > * * * * * *set -g mouse-select-pane on \;\ > > * * * * * *display 'Mouse: ON' > > * *# Toggle mouse off with ^q M > > * *bind M \ > > * * * * * *set -g mode-mouse off \;\ > > * * * * * *set -g mouse-select-window off \;\ > > * ** * * * set -g mouse-resize-pane off \;\ > > * ** * * * set -g mouse-select-pane off \;\ > > * * * * * *display 'Mouse: OFF' > > * *When I turn mode-mosue on in iTerm2, I can use my mouse to scroll > back and > > * *that' fine. But I can't select anything using my mouse. Still have > to use > > * *vi mode to select and copy stuff.* > > * *I tried it also on Mac's Terminal, but somehow the mode-mouse on > setting > > * *is not in effect at all and I can't scroll back at all.* > > * *I've googled this issue and found several people having similar > problems > > * *but I couldn't figure it out on my machine how to solve it..* > > * *Can you give me some hints? *Thanks so much! > > * *-- > > * *Best, > > * *Junchen > > > > > -- > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > [2]http://p.sf.net/sfu/appdyn_d2d_mar > > > ___ > > tmux-users mailing list > > [3]tmux-users@lists.sourceforge.net > > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users > >-- >Best, >Junchen > > References > >Visible links >1. mailto:nicholas.marri...@gmail.com >2. http://p.sf.net/sfu/appdyn_d2d_mar >3. mailto:tmux-users@lists.sourceforge.net >4. https://lists.sourceforge.net/lists/listinfo/tmux-users -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
I see. I can try xterm and see if works there. I'm using tmux 1.7. On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > xterm is the standard terminal and I know it works there, so if it works > for you with xterm then you have configured things correctly and it's a > problem in iTerm2 and Terminal.app. > > Also what version of tmux are you using? > > > On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: > >Hi, Nicholas, > >I've never used xterm so I'm not sure if it works there. Why? > >Yeah, the mouse-select-pane works. The mouse-select-window also > works.* > >On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott > ><[1]nicholas.marri...@gmail.com> wrote: > > > > Hi > > > > Does it work in xterm? > > > > Also does mouse-select-pane work? That is, if you split the window > can > > you change pane by clicking. > > > > On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: > > > * *Dear developers, > > > * *I recently started to use tmux and thanks for making this > useful > > tool! > > > * *I encountered some problem with mode-mouse settings. I use > iTerm2 > > and this > > > * *is my .tmux.conf setting for mode-mouse: > > > * *set -g prefix C-q > > > * *# Toggle mouse on with ^q m > > > * *bind m \ > > > * * * * * *set -g mode-mouse on \;\ > > > * * * * * *set -g mouse-select-window on \;\ > > > * * * * * *set -g mouse-resize-pane on \;\ > > > * * * * * *set -g mouse-select-pane on \;\ > > > * * * * * *display 'Mouse: ON' > > > * *# Toggle mouse off with ^q M > > > * *bind M \ > > > * * * * * *set -g mode-mouse off \;\ > > > * * * * * *set -g mouse-select-window off \;\ > > > * ** * * * set -g mouse-resize-pane off \;\ > > > * ** * * * set -g mouse-select-pane off \;\ > > > * * * * * *display 'Mouse: OFF' > > > * *When I turn mode-mosue on in iTerm2, I can use my mouse to > scroll > > back and > > > * *that' fine. But I can't select anything using my mouse. Still > have > > to use > > > * *vi mode to select and copy stuff.* > > > * *I tried it also on Mac's Terminal, but somehow the mode-mouse > on > > setting > > > * *is not in effect at all and I can't scroll back at all.* > > > * *I've googled this issue and found several people having similar > > problems > > > * *but I couldn't figure it out on my machine how to solve it..* > > > * *Can you give me some hints? *Thanks so much! > > > * *-- > > > * *Best, > > > * *Junchen > > > > > > > > > -- > > > Everyone hates slow websites. So do we. > > > Make your web apps faster with AppDynamics > > > Download AppDynamics Lite for free today: > > > [2]http://p.sf.net/sfu/appdyn_d2d_mar > > > > > ___ > > > tmux-users mailing list > > > [3]tmux-users@lists.sourceforge.net > > > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users > > > >-- > >Best, > >Junchen > > > > References > > > >Visible links > >1. mailto:nicholas.marri...@gmail.com > >2. http://p.sf.net/sfu/appdyn_d2d_mar > >3. mailto:tmux-users@lists.sourceforge.net > >4. https://lists.sourceforge.net/lists/listinfo/tmux-users > -- Best, Junchen -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
Hmm. Does it work if you just turn on mode-mouse not the other options? On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: >OK. Just tried xterm and mouse scrolling works there but selection, copy >aren't working. Maybe it's my configuration that's not working? >BTW, I'm using tmux on our server. Maybe this makes things different? > >On Mon, Mar 25, 2013 at 11:57 AM, Junchen Gu <[1]jcgu...@gmail.com> wrote: > > I see. I can try xterm and see if works there.* > I'm using tmux 1.7. > > On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott > <[2]nicholas.marri...@gmail.com> wrote: > >xterm is the standard terminal and I know it works there, so if it >works >for you with xterm then you have configured things correctly and it's >a >problem in iTerm2 and Terminal.app. > >Also what version of tmux are you using? > >On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: >> * *Hi, Nicholas, >> * *I've never used xterm so I'm not sure if it works there. Why? >> * *Yeah, the mouse-select-pane works. The mouse-select-window also >works.* >> * *On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott >> * *<[1][3]nicholas.marri...@gmail.com> wrote: >> >> * * *Hi >> >> * * *Does it work in xterm? >> >> * * *Also does mouse-select-pane work? That is, if you split the >window can >> * * *you change pane by clicking. >> >> * * *On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: >> * * *> * *Dear developers, >> * * *> * *I recently started to use tmux and thanks for making this >useful >> * * *tool! >> * * *> * *I encountered some problem with mode-mouse settings. I use >iTerm2 >> * * *and this >> * * *> * *is my .tmux.conf setting for mode-mouse: >> * * *> * *set -g prefix C-q >> * * *> * *# Toggle mouse on with ^q m >> * * *> * *bind m \ >> * * *> * * * * * *set -g mode-mouse on \;\ >> * * *> * * * * * *set -g mouse-select-window on \;\ >> * * *> * * * * * *set -g mouse-resize-pane on \;\ >> * * *> * * * * * *set -g mouse-select-pane on \;\ >> * * *> * * * * * *display 'Mouse: ON' >> * * *> * *# Toggle mouse off with ^q M >> * * *> * *bind M \ >> * * *> * * * * * *set -g mode-mouse off \;\ >> * * *> * * * * * *set -g mouse-select-window off \;\ >> * * *> * ** * * * set -g mouse-resize-pane off \;\ >> * * *> * ** * * * set -g mouse-select-pane off \;\ >> * * *> * * * * * *display 'Mouse: OFF' >> * * *> * *When I turn mode-mosue on in iTerm2, I can use my mouse to >scroll >> * * *back and >> * * *> * *that' fine. But I can't select anything using my mouse. >Still have >> * * *to use >> * * *> * *vi mode to select and copy stuff.* >> * * *> * *I tried it also on Mac's Terminal, but somehow the >mode-mouse on >> * * *setting >> * * *> * *is not in effect at all and I can't scroll back at all.* >> * * *> * *I've googled this issue and found several people having >similar >> * * *problems >> * * *> * *but I couldn't figure it out on my machine how to solve >it..* >> * * *> * *Can you give me some hints? *Thanks so much! >> * * *> * *-- >> * * *> * *Best, >> * * *> * *Junchen >> >> * * *> >> * * > > *-- >> * * *> Everyone hates slow websites. So do we. >> * * *> Make your web apps faster with AppDynamics >> * * *> Download AppDynamics Lite for free today: >> * * *> [2][4]http://p.sf.net/sfu/appdyn_d2d_mar >> >> * * *> ___ >> * * *> tmux-users mailing list >> * * *> [3][5]tmux-users@lists.sourceforge.net >> * * *> [4][6]https://lists.sourceforge.net/lists/listinfo/tmux-users >> >> * *-- >> * *Best, >> * *Junchen >> >> References >> >> * *Visible links >> * *1. mailto:[7]nicholas.marri...@gmail.com >> * *2. [8]http://p.sf.net/sfu/appdyn_d2d_mar >> * *3. mailto:[9]tmux-users@lists.sourceforge.net >> * *4. [10]https://lists.sourceforge.net/lists/listinfo/tmux-users > > -- > Best, > Junchen > >-- >Best, >Junchen > > References > >Visible links >1. mailto:jcgu...@gmail.com >2. mailto:nicholas.marri...@gmail.com >3. mailto:nicholas.marri...@gmail.com >4. http://p.sf.net/sfu/appdyn_d2d_mar >5. mailto:tmux-users@lists.sourceforge.net >6. https://lists.sourceforge.net/lists/listinfo/tmux-us
Re: Tmux mode-mouse issue
OK. Just tried xterm and mouse scrolling works there but selection, copy aren't working. Maybe it's my configuration that's not working? BTW, I'm using tmux on our server. Maybe this makes things different? On Mon, Mar 25, 2013 at 11:57 AM, Junchen Gu wrote: > I see. I can try xterm and see if works there. > > I'm using tmux 1.7. > > > On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott < > nicholas.marri...@gmail.com> wrote: > >> xterm is the standard terminal and I know it works there, so if it works >> for you with xterm then you have configured things correctly and it's a >> problem in iTerm2 and Terminal.app. >> >> Also what version of tmux are you using? >> >> >> On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: >> >Hi, Nicholas, >> >I've never used xterm so I'm not sure if it works there. Why? >> >Yeah, the mouse-select-pane works. The mouse-select-window also >> works.* >> >On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott >> ><[1]nicholas.marri...@gmail.com> wrote: >> > >> > Hi >> > >> > Does it work in xterm? >> > >> > Also does mouse-select-pane work? That is, if you split the window >> can >> > you change pane by clicking. >> > >> > On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: >> > > * *Dear developers, >> > > * *I recently started to use tmux and thanks for making this >> useful >> > tool! >> > > * *I encountered some problem with mode-mouse settings. I use >> iTerm2 >> > and this >> > > * *is my .tmux.conf setting for mode-mouse: >> > > * *set -g prefix C-q >> > > * *# Toggle mouse on with ^q m >> > > * *bind m \ >> > > * * * * * *set -g mode-mouse on \;\ >> > > * * * * * *set -g mouse-select-window on \;\ >> > > * * * * * *set -g mouse-resize-pane on \;\ >> > > * * * * * *set -g mouse-select-pane on \;\ >> > > * * * * * *display 'Mouse: ON' >> > > * *# Toggle mouse off with ^q M >> > > * *bind M \ >> > > * * * * * *set -g mode-mouse off \;\ >> > > * * * * * *set -g mouse-select-window off \;\ >> > > * ** * * * set -g mouse-resize-pane off \;\ >> > > * ** * * * set -g mouse-select-pane off \;\ >> > > * * * * * *display 'Mouse: OFF' >> > > * *When I turn mode-mosue on in iTerm2, I can use my mouse to >> scroll >> > back and >> > > * *that' fine. But I can't select anything using my mouse. Still >> have >> > to use >> > > * *vi mode to select and copy stuff.* >> > > * *I tried it also on Mac's Terminal, but somehow the mode-mouse >> on >> > setting >> > > * *is not in effect at all and I can't scroll back at all.* >> > > * *I've googled this issue and found several people having >> similar >> > problems >> > > * *but I couldn't figure it out on my machine how to solve it..* >> > > * *Can you give me some hints? *Thanks so much! >> > > * *-- >> > > * *Best, >> > > * *Junchen >> > >> > > >> > >> >> -- >> > > Everyone hates slow websites. So do we. >> > > Make your web apps faster with AppDynamics >> > > Download AppDynamics Lite for free today: >> > > [2]http://p.sf.net/sfu/appdyn_d2d_mar >> > >> > > ___ >> > > tmux-users mailing list >> > > [3]tmux-users@lists.sourceforge.net >> > > [4]https://lists.sourceforge.net/lists/listinfo/tmux-users >> > >> >-- >> >Best, >> >Junchen >> > >> > References >> > >> >Visible links >> >1. mailto:nicholas.marri...@gmail.com >> >2. http://p.sf.net/sfu/appdyn_d2d_mar >> >3. mailto:tmux-users@lists.sourceforge.net >> >4. https://lists.sourceforge.net/lists/listinfo/tmux-users >> > > > > -- > Best, > Junchen > -- Best, Junchen -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: [PATCH] dynamic cmd_table maybe 2
Yeah i understand what you mean. I remember posting my python stuff before i am cleaning it all up at the moment. And i remember Nic saying about how he wasn't against the idea of a dynamic cmd table. I think its an interesting patch since we can change stuff at runtime. But its probably only valid for me and my python stufff for now. Like adding user-defined commands in some scripting language at runtime make it feel emacs'y. I currently have my python load command loading up commands i have written in python and added to the cmd_table. So i can C-A : pympd-next-track. which is a python function in a python file to switch next track over mpd. So my tmux feels integrated with my system. Its still very niche but it seems like there is alot of possibilities for alot of creative people. But in the end your right lol. --Phil On 22 March 2013 18:49, Thomas Adam wrote: > Hi, > > Given that I'm about to roll-out hook-support -- what is this change > for? I vaguely recall some mangling of cmd.c to support some odd > python-specific integration in the past -- and I'd personally be > loathe to add changes to _that_ end in to tmux, unless they had a more > generic benefit elsewhere -- that is to say -- if these changes go as > far as to only help with some python integration local to yourself, > I'm dubious as to the value of this change. > > On 22 March 2013 17:05, Philip Herron wrote: >> + cmd_table = calloc (nitems, sizeof (struct cmd_entry *)); > > We have xcalloc() defined. > > -- Thomas Adam -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: [Patch] Move cursor into last column on CUU and CUD
I don't know of anywhere this is a problem in practice, no need to rush it into 1.8. On Mon, Mar 25, 2013 at 7:04 AM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hi > > Is this an issue for you or just incidental because I'd prefer to leave > it for a few days til after 1.8? > > > On Sun, Mar 24, 2013 at 01:37:57PM -0700, George Nachman wrote: > > There is an odd bit of behavior in CUU and CUD when the cursor is at > > the end of the line in xterm that tmux does not have. The following > > command: > > > > echo -e '\033[2J\033[2;80Ha\033[1Ab\n' > > > > when run on a terminal 80 characters wide, will print both "a" and "b" > > on the 80th column in xterm. In tmux, the 'b' is wrapped to the next > > line. > > > > Like xterm, tmux allows the cursor's x position to be one larger than > > the number of columns. That is, when s->cx == screen_size_x(s), as > > described in the comment at screen-write.c:1033. The difference is > > that when xterm moves the cursor up or down, it also moves the cursor > > back into the last column. > > > > This patch modifies tmux to do the same thing xterm does. > > > > > -- > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_mar > > > ___ > > tmux-users mailing list > > tmux-users@lists.sourceforge.net > > https://lists.sourceforge.net/lists/listinfo/tmux-users > > -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Tmux copy-pipe to multiple targets
The following command works well in the command line and copies a string to two X-window targets: echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null The following two tmux binding commands work well too: bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection primary" bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection clipboard" But the following tmux binding command which is supposed to copy a selection to two targets doesn't: bind-key -n -t emacs-copy M-w copy-pipe "tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null" Why? More generally, is there a better way to copy a string to two X window targets? James -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux copy-pipe to multiple targets
(I am resending the email with better formatting): The following command works well in the command line and copies a string to two X-window targets: * echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null The following two tmux binding commands work well too: * bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection primary" * bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection clipboard" But the following tmux binding command which is supposed to copy a selection to two targets doesn't: * bind-key -n -t emacs-copy M-w copy-pipe "tee >(xclip -i -selection primary) >(xclip -i -selection clipboard) >/dev/null" Why? More generally, is there a better way to copy a string to two X window targets? On Mon, Mar 25, 2013 at 2:35 PM, James Jong wrote: > The following command works well in the command line and copies a string > to two X-window targets: > > echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i -selection > clipboard) >/dev/null > > The following two tmux binding commands work well too: > > bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection primary" > > bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection clipboard" > > But the following tmux binding command which is supposed to copy a selection > to two targets doesn't: > > bind-key -n -t emacs-copy M-w copy-pipe "tee >(xclip -i -selection > primary) >(xclip -i -selection clipboard) >/dev/null" > > Why? > > More generally, is there a better way to copy a string to two X window > targets? > > James > -- Everyone hates slow websites. So do we. Make your web apps faster with AppDynamics Download AppDynamics Lite for free today: http://p.sf.net/sfu/appdyn_d2d_mar___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
No, it doesn't work either.. On Mon, Mar 25, 2013 at 12:21 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > Hmm. Does it work if you just turn on mode-mouse not the other options? > > > On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: > >OK. Just tried xterm and mouse scrolling works there but selection, > copy > >aren't working. Maybe it's my configuration that's not working? > >BTW, I'm using tmux on our server. Maybe this makes things different? > > > >On Mon, Mar 25, 2013 at 11:57 AM, Junchen Gu <[1]jcgu...@gmail.com> > wrote: > > > > I see. I can try xterm and see if works there.* > > I'm using tmux 1.7. > > > > On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott > > <[2]nicholas.marri...@gmail.com> wrote: > > > >xterm is the standard terminal and I know it works there, so if it > >works > >for you with xterm then you have configured things correctly and > it's > >a > >problem in iTerm2 and Terminal.app. > > > >Also what version of tmux are you using? > > > >On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: > >> * *Hi, Nicholas, > >> * *I've never used xterm so I'm not sure if it works there. Why? > >> * *Yeah, the mouse-select-pane works. The mouse-select-window > also > >works.* > >> * *On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott > >> * *<[1][3]nicholas.marri...@gmail.com> wrote: > >> > >> * * *Hi > >> > >> * * *Does it work in xterm? > >> > >> * * *Also does mouse-select-pane work? That is, if you split the > >window can > >> * * *you change pane by clicking. > >> > >> * * *On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu wrote: > >> * * *> * *Dear developers, > >> * * *> * *I recently started to use tmux and thanks for making > this > >useful > >> * * *tool! > >> * * *> * *I encountered some problem with mode-mouse settings. > I use > >iTerm2 > >> * * *and this > >> * * *> * *is my .tmux.conf setting for mode-mouse: > >> * * *> * *set -g prefix C-q > >> * * *> * *# Toggle mouse on with ^q m > >> * * *> * *bind m \ > >> * * *> * * * * * *set -g mode-mouse on \;\ > >> * * *> * * * * * *set -g mouse-select-window on \;\ > >> * * *> * * * * * *set -g mouse-resize-pane on \;\ > >> * * *> * * * * * *set -g mouse-select-pane on \;\ > >> * * *> * * * * * *display 'Mouse: ON' > >> * * *> * *# Toggle mouse off with ^q M > >> * * *> * *bind M \ > >> * * *> * * * * * *set -g mode-mouse off \;\ > >> * * *> * * * * * *set -g mouse-select-window off \;\ > >> * * *> * ** * * * set -g mouse-resize-pane off \;\ > >> * * *> * ** * * * set -g mouse-select-pane off \;\ > >> * * *> * * * * * *display 'Mouse: OFF' > >> * * *> * *When I turn mode-mosue on in iTerm2, I can use my > mouse to > >scroll > >> * * *back and > >> * * *> * *that' fine. But I can't select anything using my > mouse. > >Still have > >> * * *to use > >> * * *> * *vi mode to select and copy stuff.* > >> * * *> * *I tried it also on Mac's Terminal, but somehow the > >mode-mouse on > >> * * *setting > >> * * *> * *is not in effect at all and I can't scroll back at > all.* > >> * * *> * *I've googled this issue and found several people > having > >similar > >> * * *problems > >> * * *> * *but I couldn't figure it out on my machine how to > solve > >it..* > >> * * *> * *Can you give me some hints? *Thanks so much! > >> * * *> * *-- > >> * * *> * *Best, > >> * * *> * *Junchen > >> > >> * * *> > >> * * > > > > *-- > >> * * *> Everyone hates slow websites. So do we. > >> * * *> Make your web apps faster with AppDynamics > >> * * *> Download AppDynamics Lite for free today: > >> * * *> [2][4]http://p.sf.net/sfu/appdyn_d2d_mar > >> > >> * * *> ___ > >> * * *> tmux-users mailing list > >> * * *> [3][5]tmux-users@lists.sourceforge.net > >> * * *> [4][6] > https://lists.sourceforge.net/lists/listinfo/tmux-users > >> > >> * *-- > >> * *Best, > >> * *Junchen > >> > >> References > >> > >> * *Visible links > >> * *1. mailto:[7]nicholas.marri...@gmail.com > >> * *2. [8]http://p.sf.net/sfu/appdyn_d2d_mar > >> * *3. mailto:[9]tmux-users@lists.sourceforge.net > >> * *4. [10] > https://lists.sourceforge.net/lists/listinfo/tmux-users > > > > -- > > Best
Re: Tmux copy-pipe to multiple targets
Looks like you are using a bash extension and the copy-pipe command will be run with /bin/sh. Try doing copy-pipe "bash -c 'mycommand'" On Mon, Mar 25, 2013 at 02:35:37PM -0400, James Jong wrote: >The following command works well in the command line and copies a string >to two X-window targets: > > echo "Hello world" | tee >(xclip -i -selection primary) >(xclip -i > -selection clipboard) >/dev/null > > The following two tmux binding commands work well too: > > bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection primary" > > > bind-key -n -t emacs-copy M-w copy-pipe "xclip -i -selection clipboard" > > But the following tmux binding command which is supposed to copy a selection > to > two targets doesn't: > > >bind-key -n -t emacs-copy M-w copy-pipe "tee >(xclip -i -selection >primary) >(xclip -i -selection clipboard) >/dev/null" >Why? >More generally, is there a better way to copy a string to two X window >targets? >James > -- > Everyone hates slow websites. So do we. > Make your web apps faster with AppDynamics > Download AppDynamics Lite for free today: > http://p.sf.net/sfu/appdyn_d2d_mar > ___ > tmux-users mailing list > tmux-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/tmux-users -- Own the Future-IntelĀ® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d ___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users
Re: Tmux mode-mouse issue
Try this please from a shell outside tmux: tmux -Ltest -vvv new -d 'echo abcdef; sleep 1000' tmux -Ltest set -g mode-mouse on tmux -Ltest attach Then try to select the abcdef with the mouse, then press ^C so tmux exits, then email me all the logs from the current directory (tmux-*.log). On Mon, Mar 25, 2013 at 01:56:28PM -0500, Junchen Gu wrote: >No, it doesn't work either..* > >On Mon, Mar 25, 2013 at 12:21 PM, Nicholas Marriott ><[1]nicholas.marri...@gmail.com> wrote: > > Hmm. Does it work if you just turn on mode-mouse not the other options? > > On Mon, Mar 25, 2013 at 12:09:03PM -0500, Junchen Gu wrote: > > * *OK. Just tried xterm and mouse scrolling works there but selection, > copy > > * *aren't working. Maybe it's my configuration that's not working? > > * *BTW, I'm using tmux on our server. Maybe this makes things > different? > > > > * *On Mon, Mar 25, 2013 at 11:57 AM, Junchen Gu > <[1][2]jcgu...@gmail.com> wrote: > > > > * * *I see. I can try xterm and see if works there.* > > * * *I'm using tmux 1.7. > > > > * * *On Mon, Mar 25, 2013 at 11:50 AM, Nicholas Marriott > > * * *<[2][3]nicholas.marri...@gmail.com> wrote: > > > > * * * *xterm is the standard terminal and I know it works there, so if > it > > * * * *works > > * * * *for you with xterm then you have configured things correctly > and it's > > * * * *a > > * * * *problem in iTerm2 and Terminal.app. > > > > * * * *Also what version of tmux are you using? > > > > * * * *On Mon, Mar 25, 2013 at 11:41:16AM -0500, Junchen Gu wrote: > > * * * *> * *Hi, Nicholas, > > * * * *> * *I've never used xterm so I'm not sure if it works there. > Why? > > * * * *> * *Yeah, the mouse-select-pane works. The mouse-select-window > also > > * * * *works.* > > * * * *> * *On Mon, Mar 25, 2013 at 11:38 AM, Nicholas Marriott > > * * * *> * *<[1][3][4]nicholas.marri...@gmail.com> wrote: > > * * * *> > > * * * *> * * *Hi > > * * * *> > > * * * *> * * *Does it work in xterm? > > * * * *> > > * * * *> * * *Also does mouse-select-pane work? That is, if you split > the > > * * * *window can > > * * * *> * * *you change pane by clicking. > > * * * *> > > * * * *> * * *On Mon, Mar 25, 2013 at 11:31:36AM -0500, Junchen Gu > wrote: > > * * * *> * * *> * *Dear developers, > > * * * *> * * *> * *I recently started to use tmux and thanks for > making this > > * * * *useful > > * * * *> * * *tool! > > * * * *> * * *> * *I encountered some problem with mode-mouse > settings. I use > > * * * *iTerm2 > > * * * *> * * *and this > > * * * *> * * *> * *is my .tmux.conf setting for mode-mouse: > > * * * *> * * *> * *set -g prefix C-q > > * * * *> * * *> * *# Toggle mouse on with ^q m > > * * * *> * * *> * *bind m \ > > * * * *> * * *> * * * * * *set -g mode-mouse on \;\ > > * * * *> * * *> * * * * * *set -g mouse-select-window on \;\ > > * * * *> * * *> * * * * * *set -g mouse-resize-pane on \;\ > > * * * *> * * *> * * * * * *set -g mouse-select-pane on \;\ > > * * * *> * * *> * * * * * *display 'Mouse: ON' > > * * * *> * * *> * *# Toggle mouse off with ^q M > > * * * *> * * *> * *bind M \ > > * * * *> * * *> * * * * * *set -g mode-mouse off \;\ > > * * * *> * * *> * * * * * *set -g mouse-select-window off \;\ > > * * * *> * * *> * ** * * * set -g mouse-resize-pane off \;\ > > * * * *> * * *> * ** * * * set -g mouse-select-pane off \;\ > > * * * *> * * *> * * * * * *display 'Mouse: OFF' > > * * * *> * * *> * *When I turn mode-mosue on in iTerm2, I can use my > mouse to > > * * * *scroll > > * * * *> * * *back and > > * * * *> * * *> * *that' fine. But I can't select anything using my > mouse. > > * * * *Still have > > * * * *> * * *to use > > * * * *> * * *> * *vi mode to select and copy stuff.* > > * * * *> * * *> * *I tried it also on Mac's Terminal, but somehow the > > * * * *mode-mouse on > > * * * *> * * *setting > > * * * *> * * *> * *is not in effect at all and I can't scroll back at > all.* > > * * * *> * * *> * *I've googled this issue and found several people > having > > * * * *similar > > * * * *> * * *problems > > * * * *> * * *> * *but I couldn't figure it out on my machine how to > solve > > * * * *it..* > > * * * *> * * *> * *Can you give me some hints? *Thanks so much! > > * * * *> * * *> * *-- > > * * * *> * * *> * *Best, > > * * * *> * * *> * *Junchen > > * * * *> > > * * * *> * * *> > > * * * *> * * > > * * * > > **-- > > * * * *> * * *> Everyone hates slow we
Re: display-message in bindings no longer working as I expect
I haven't tested this yet, but given that Thomas is looking to release 1.8, should a fix for this go in it if it hasn't already? On Sunday, March 24, 2013 at 4:06 AM, Nicholas Marriott wrote: > I think perhaps #{} should me made to translate to # although in this > case it doesn't matter because if run-shell handled the pane ok it'd be > the same pane as display-message. > > > On Sun, Mar 24, 2013 at 04:28:18AM -0500, Chris Johnsen wrote: > > On Sun, Mar 24, 2013 at 4:12 AM, Chris Johnsen > (mailto:chris_john...@pobox.com)> wrote: > > > You can probably use "-t :" to get things working: > > > > > > bind ^H run -t : "tmux display-message '#{pane_title}'" > > > > Here is another alternative that tries to avoid the format expansion > > that display-message now does: > > > > bind ^H run "tmux display-message '#''{pane_title}'" > > > > The key is to have the next character after the # not be A through Z > > or {. When this is the case, the # and the next character (single > > quote in the above case) left unchanged (and, for {if,run}-shell, > > passed to the shell). The shell will then do its parsing and > > concatenate the '#' string with the '{...}' string, leaving the > > expansion to display-message as it would have been prior to any of the > > recent changes to run-shell. > > > > -- > > Chris > > > > -- > > Everyone hates slow websites. So do we. > > Make your web apps faster with AppDynamics > > Download AppDynamics Lite for free today: > > http://p.sf.net/sfu/appdyn_d2d_mar > > ___ > > tmux-users mailing list > > tmux-users@lists.sourceforge.net (mailto:tmux-users@lists.sourceforge.net) > > https://lists.sourceforge.net/lists/listinfo/tmux-users > > > > > -- Own the Future-IntelĀ® Level Up Game Demo Contest 2013 Rise to greatness in Intel's independent game demo contest. Compete for recognition, cash, and the chance to get your game on Steam. $5K grand prize plus 10 genre and skill prizes. Submit your demo by 6/6/13. http://p.sf.net/sfu/intel_levelupd2d___ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users