Re: Tmux unexpectedly crashed

2012-08-14 Thread John Magolske
* Nicholas Marriott [120814 15:46]: > Type "bt" at the (gdb) prompt and show me the output please. Ah, sorry...thought I was missing something there. [...] Core was generated by `tmux'. Program terminated with signal 6, Aborted. #0 0xb74f7667 in *__GI_raise (sig=6) at ../nptl/sysdeps/unix/sysv

Re: Simple patch to indicate prefix-status in status line

2012-08-14 Thread Nicholas Marriott
server_status_client will set the CLIENT_STATUS bit and update when tmux returns to the event loop, it's the right thing to do. Also tmux will regenerate the status line but not actually draw it unless it has changed. Even so not sure I'm wild about updating the status line every time the prefix k

Re: Tmux unexpectedly crashed

2012-08-14 Thread Nicholas Marriott
Type "bt" at the (gdb) prompt and show me the output please. On Tue, Aug 14, 2012 at 12:16:19PM -0700, John Magolske wrote: > * Nicholas Marriott [120814 07:29]: > > Can you load the core with dbx, gdb or mdb and try and get a backtrace? > > Here's what gdb shows: > > % gdb tmux core > GN

Re: Simple patch to indicate prefix-status in status line

2012-08-14 Thread Andrew Reynhout
On Sun, Aug 12, 2012 at 09:09:28AM +0100, Thomas Adam wrote: > I'm not sure how Nicholas feels about this, but this has been on the TODO > list for a while. I think ideally this should use some form of status-bg > colour change instead of relying on some specific part of the status line to > draw

RE: [PATCH 0/6] Basic local printing support

2012-08-14 Thread Sean Estabrooks
> > Well, I'm just not sure it's worth the extra code, it's a pretty rarely > used feature. Fair enough. Although it might be popular with people who are trying to synchronize their Windows clipboards. But maybe there is another way to do it, I did see some hint of that in the code but never fo

Re: Tmux unexpectedly crashed

2012-08-14 Thread John Magolske
* Nicholas Marriott [120814 07:29]: > Can you load the core with dbx, gdb or mdb and try and get a backtrace? Here's what gdb shows: % gdb tmux core GNU gdb (GDB) 7.4.1-debian Copyright (C) 2012 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later

Re: Please help building tmux on Solaris 10 and a suggestion

2012-08-14 Thread John Long
On Mon, Aug 13, 2012 at 09:22:04AM +0100, Nicholas Marriott wrote: > TERM=screen is normally correct but I suspect that since you are having > to change it to xterm, the screen entry on Solaris doesn't include some > stuff tmux needs. > > You could try installing GNU ncurses and linking tmux again

Re: [PATCH 0/6] Basic local printing support

2012-08-14 Thread Nicholas Marriott
Hi On Mon, Aug 13, 2012 at 04:13:07AM +, Sean Estabrooks wrote: > > > > Date: Sat, 11 Aug 2012 08:31:15 +0100 > > From: nicholas.marri...@gmail.com > > > > Thanks for your work but can you explain why you want/need this? Does > > anything actually use

Re: Tmux unexpectedly crashed

2012-08-14 Thread Nicholas Marriott
Can you load the core with dbx, gdb or mdb and try and get a backtrace? On Sun, Aug 12, 2012 at 06:28:10PM -0700, John Magolske wrote: > Hi, > > I just experienced an unexpected crash of tmux. I had 5 or so windows > open with Vim running in one and Zsh shells in the others. After > changing an

Re: bash text substitution in tmux

2012-08-14 Thread Stephen Thirlwall
On 14/08/12 5:39 PM, Thomas Adam wrote: > On Tue, Aug 14, 2012 at 05:33:59PM +1000, Stephen Thirlwall wrote: >> Can the choose-list command be executed from the command-line? >> >> eg. tmux choose-list -l$( generate-list-somehow ) >> >> I only get a 'must be run interactively' message when I try th

Re: bash text substitution in tmux

2012-08-14 Thread Sinbad
On Tue, Aug 14, 2012 at 1:09 PM, Thomas Adam wrote: > On Tue, Aug 14, 2012 at 05:33:59PM +1000, Stephen Thirlwall wrote: > > On 14/08/12 5:00 PM, Thomas Adam wrote: > > > On 14 August 2012 07:19, Stephen Thirlwall wrote: > > >> On 14/08/12 10:41 AM, Stephen Thirlwall wrote: > > >>> [...] > > >>>

Re: bash text substitution in tmux

2012-08-14 Thread Thomas Adam
On Tue, Aug 14, 2012 at 05:33:59PM +1000, Stephen Thirlwall wrote: > On 14/08/12 5:00 PM, Thomas Adam wrote: > > On 14 August 2012 07:19, Stephen Thirlwall wrote: > >> On 14/08/12 10:41 AM, Stephen Thirlwall wrote: > >>> [...] > >>> I'd be happy to take a look at implementing this. > >> > >> (repl

Re: bash text substitution in tmux

2012-08-14 Thread Stephen Thirlwall
On 14/08/12 5:00 PM, Thomas Adam wrote: > On 14 August 2012 07:19, Stephen Thirlwall wrote: >> On 14/08/12 10:41 AM, Stephen Thirlwall wrote: >>> [...] >>> I'd be happy to take a look at implementing this. >> >> (replying to myself...) >> >> How about implementing this as a command? >> >>choos

Re: bash text substitution in tmux

2012-08-14 Thread Thomas Adam
On 14 August 2012 07:19, Stephen Thirlwall wrote: > On 14/08/12 10:41 AM, Stephen Thirlwall wrote: >>[...] >> I'd be happy to take a look at implementing this. > > (replying to myself...) > > How about implementing this as a command? > > choose-completion [-s source-window] [-t target-window] [t