FIXED Re: [Patch] Replace output mode with copy mode

2010-02-16 Thread Micah Cowan
The problem was that I was using the same va_list twice, in window_copy_vadd; the first time uselessly in an xvasprintf whose result I never used (relic of a an approach I initially started with, but abandoned for the current use). No idea why it seemed to "work" okay in 32-bit, but anyway, obvious

Re: tmux loadb and fifos

2010-02-16 Thread Fulvio Ciriaco
Please would you explain it better to me? a. does this work on openbsd? b. (mkfifo fifo; echo est > fifo; cat fifo) gives the obvious result and no side effect, how is (tmux loadb fifo) different? Also, these are quite busy machines, some have more recent software and some older, and

WARNING Re: [Patch] Replace output mode with copy mode

2010-02-16 Thread Micah Cowan
WARNING WARNING WARNING While this patch seems to work fine on two of my laptops running 32-bit Ubuntu Karmic Koala (9.04), there seem to be stability issues when running from my work desktop running 64-bit Ubuntu Hardy Heron (8.04). For me, the symptoms are that the "showb" command produces garbl

Re: tmux loadb and fifos

2010-02-16 Thread Nicholas Marriott
Dunno. Perhaps fstat doesn't return a sane size for FIFOs. You'd have to add some debugging to find out what is going on. On Tue, Feb 16, 2010 at 09:06:05PM +0100, Fulvio Ciriaco wrote: > Hallo, > I tried the following on different OSes: > #tmux setb "echo 1" > #mkfifo test > #echo echo 2 > test &

tmux loadb and fifos

2010-02-16 Thread Fulvio Ciriaco
Hallo, I tried the following on different OSes: #tmux setb "echo 1" #mkfifo test #echo echo 2 > test & #tmux loadb test On NetBSD: does nothing #tmux showb echo 1 On Linux: empties buffer and creates all sorts of problems (broken pipe, killed shell) tmux showb My questions: Why does it not wo

[Patch] BUG: clipped copies on wrapped lines

2010-02-16 Thread Micah Cowan
If you select some text from a wrapped line, where the selection is of stuff before the final wrap of the line, the final chraracter gets stripped on copy. This patch fixes the problem for me. -- Micah J. Cowan http://micah.cowan.name/ Index: sf/window-copy.c =

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Jozef Riha
no, only those two files were created :-( On Tue, Feb 16, 2010 at 3:15 PM, Nicholas Marriott wrote: > Nothing funny in here, the client must be dying. No client log? > > On Tue, Feb 16, 2010 at 02:52:21PM +0100, Jozef Riha wrote: >> tmux-server.log is http://pastebin.com/f50c41985 >> tmux.out is

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Nicholas Marriott
Make sure no tmux instanaces at all are running first, it could be starting the server and the client failing. On Tue, Feb 16, 2010 at 01:56:52PM +0100, Jozef Riha wrote: > unfortunately no logs are generated.. :-( > > On Tue, Feb 16, 2010 at 1:41 PM, Nicholas Marriott > wrote: > > Send me the

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Jozef Riha
unfortunately no logs are generated.. :-( On Tue, Feb 16, 2010 at 1:41 PM, Nicholas Marriott wrote: > Send me the logs from starting with -. > > > On Tue, Feb 16, 2010 at 12:38:21PM +0100, Jozef Riha wrote: >> thank you, this got me a bit further. still not there though. on >> running i get a

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Nicholas Marriott
Send me the logs from starting with -. On Tue, Feb 16, 2010 at 12:38:21PM +0100, Jozef Riha wrote: > thank you, this got me a bit further. still not there though. on > running i get an error: > > fatal: dispatch_imsg: imsg_get failed > > then tmux'es window is initialized, i can see the sta

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Jozef Riha
thank you, this got me a bit further. still not there though. on running i get an error: fatal: dispatch_imsg: imsg_get failed then tmux'es window is initialized, i can see the status line which is immediately followed by prompt: [2] 0:ksh*

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Nicholas Marriott
You need to set TERM correctly to something that is suitable for running tmux. If you are in xterm, try TERM=xterm. On Tue, Feb 16, 2010 at 11:01:59AM +0100, Jozef Riha wrote: > thank you, it was the aix make as you said. compilation succeeded with > gnu make but i get this error on running: >

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Jozef Riha
thank you, it was the aix make as you said. compilation succeeded with gnu make but i get this error on running: jose:myserver /home/jose/tmux-1.1/: ./tmux open terminal failed: terminal does not support ich1 or ich or smir and rmir fatal: dispatch_imsg: imsg_get failed jose:myserver /home/jose/tm

Re: failed installation of tmux 1-1 on aix

2010-02-16 Thread Nicholas Marriott
Looks like you are using AIX make not GNU make. What does make -v say? On Tue, Feb 16, 2010 at 09:53:35AM +0100, Jozef Riha wrote: > hello, > > i am trying to get tmux compiled on aix but to no avail: > > jose:myserver /home/jose/tmux-1.1/: ./configure > Configured for AIX > jose:myserver /hom

failed installation of tmux 1-1 on aix

2010-02-16 Thread Jozef Riha
hello, i am trying to get tmux compiled on aix but to no avail: jose:myserver /home/jose/tmux-1.1/: ./configure Configured for AIX jose:myserver /home/jose/tmux-1.1/: make "Makefile", line 30: make: 1254-055 Dependency line needs colon or double colon operator. "Makefile", line 36: make: 1254-055