Re: Problem using pipe-pane

2011-07-28 Thread Nicholas Marriott
Are you sure you shouldn't be doing "send-keys -t ${session}:consumer.0" as well? On Wed, Jul 27, 2011 at 07:10:59PM -1000, Jason Axelson wrote: > Hi, > > I seem to be having some trouble understanding how pipe-pane should > work. It seems like it will only capture output if the pane is > curr

Re: Problem using pipe-pane

2011-07-28 Thread Jason Axelson
Yes it looks like I missed that .0. But for some reason :consumer.0 isn't working for me for send-keys so I've changed all the commands to use the index of the window instead of the name. When I run the script this is the output I get: $ ./test.sh rm: cannot remove `/tmp/wait': No such file or dir

Re: Problem using pipe-pane

2011-07-28 Thread Nicholas Marriott
Doh. Try this. Index: cmd-pipe-pane.c === RCS file: /cvs/src/usr.bin/tmux/cmd-pipe-pane.c,v retrieving revision 1.19 diff -u -p -r1.19 cmd-pipe-pane.c --- cmd-pipe-pane.c 29 Mar 2011 19:30:16 - 1.19 +++ cmd-pipe-pane.c

Re: Weird space after the prompt

2011-07-28 Thread Federico Maggi
On Jul 28, 2011, at 1:08 AM, Nicholas Marriott wrote: > Your prompt has a UTF-8 character \342\207\222 which appears to be some > sort of arrow. it is indeed an arrow, but before that, an equal sign is displayed. However, the video that I posted shows that this arrow is perfectly visible. >

Re: Weird space after the prompt

2011-07-28 Thread Nicholas Marriott
Can you send screenshots of what the prompt looks like in tmux and outside? Video is much less useful. I see the same inside both tmux and uxterm, possibly both think the arrow is a double width character which would be wrong. Are you sure you have UTF-8 enabled in tmux? Check tmux lsc and tmux s

Re: Weird space after the prompt

2011-07-28 Thread Federico Maggi
On Jul 28, 2011, at 12:07 PM, Nicholas Marriott wrote: > Are you sure you have UTF-8 enabled in tmux? Check tmux lsc and tmux > showw -g|grep utf8. for some reason I assumed that LANG sufficed. Once exported LC_ALL="UTF8" as well, everything started to work. Thanks. Cheers, -F -

Re: Weird space after the prompt

2011-07-28 Thread Nicholas Marriott
you probably had LC_ALL or LC_CTYPE set but incorrectly, they will override LANG. On Thu, Jul 28, 2011 at 12:14:32PM +0200, Federico Maggi wrote: > On Jul 28, 2011, at 12:07 PM, Nicholas Marriott wrote: > > > Are you sure you have UTF-8 enabled in tmux? Check tmux lsc and tmux > > showw -g|grep u

no copy/paste since update

2011-07-28 Thread Makimoto
Hi On freebsd recently the tmux port got updated and since then on tmux Ican't copy /paste or not even select. When I try to select I get a orange select that disappears as soon you let go of the mouse button. My config file has not changed. Current version is 1.5. Don't know what the previous ve

Re: no copy/paste since update

2011-07-28 Thread Nicholas Marriott
You turned on mode-mouse option which now enables copy and paste using the mouse with tmux (mouse drag enters copy mode). On Thu, Jul 28, 2011 at 11:50:48AM +0100, Makimoto wrote: > Hi > > On freebsd recently the tmux port got updated and since then on tmux > Ican't copy /paste or not even selec

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-28 Thread Nicholas Marriott
Is this using gcc? I can't remember what we use _XPG4_2 to get. I suspect changing it to _XPG6 will break Solaris 9 and possibly anything using Sun Studio 11 or earlier... On Thu, Jul 28, 2011 at 03:29:37PM +0200, Florian Ermisch wrote: > Hi Nicholas, > > the Solaris-specific retardness is rea

Re: Compiling Tmux on Solaris 10 (x86)

2011-07-28 Thread Florian Ermisch
Hi Nicholas, the Solaris-specific retardness is reasoned as follows: /* * It is invalid to compile an XPG3, XPG4, XPG4v2, or XPG5 application * using c99. The same is true for POSIX.1-1990, POSIX.2-1992, POSIX.1b, * and POSIX.1c applications. Likewise, it is invalid to compile an XPG6 * o