clemens fischer wrote: > I am very glad that tmux has rectangular copies now! But a problem as > well: in the following, try to cut out the block > > >bbb < from >aaa bbb > >yyyyy< >xxx yyyyy > >22 < >111 22 > > At least in vi-copy mode on linux, the shortest line determines the > right border of the block.
I noticed too late that this problem has been adressed and possibly fixed in: Micah Cowan: [Patch] BUG: clipped copies on wrapped lines Message-ID: <4b7ae24e.6020...@cowan.name> Archived-At: <http://permalink.gmane.org/gmane.comp.terminal-emulators.tmux.user/328> Now my sources are HEAD from today, and are supposed to contain the fix: 'cvs blame window-copy.c': 1.75 (tcunha 09-Aug-09): /* Only add a newline if the line wasn't wrapped. */ 1.103 (tcunha 18-Feb-10): if (!wrapped || ex != xx) { 1.75 (tcunha 09-Aug-09): *buf = xrealloc(*buf, 1, (*off) + 1); 1.75 (tcunha 09-Aug-09): (*buf)[(*off)++] = '\n'; 1.75 (tcunha 09-Aug-09): } Option default-terminal is set to the default "screen". Do rectangles depend on any other settings perhaps? I'm using the vi-* maps. > The other problem: for my purposes, I used to rely on screens ability > to 'J'oin the lines of any selection by either spaces, commas, > newlines (the default) or whatnot, ie. to make one long line of the > selected lines. For example, in a "ls -l" listing, I could select > a few files on the right hand side, 'J'oin them with commas and - in > bash - type eg. "cp <dir>/{<THE_SELECTION>} .". Not worry about the > proper glob, that is. > > If this is not too difficult and you can point me to the files > involved, I'd like to give it a try. If not, I'd have to call on the > masters to hand down the solution to this problem from heaven ... If this has been handled already, please tell me, the man page doesn't mention this. clemens ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users