Re: patch allowing pipe-pane to write directly to a file

2013-07-30 Thread Nicholas Marriott
You could possibly record it externally by starting a control client for each session and listening for %output. On Tue, Jul 30, 2013 at 05:49:20PM -0500, J Raynor wrote: > Ok. Maybe I'll take a stab at adding an actual logging facility and > see if that might be more palatable. --

Re: patch allowing pipe-pane to write directly to a file

2013-07-30 Thread J Raynor
Ok. Maybe I'll take a stab at adding an actual logging facility and see if that might be more palatable. -- Get your SQL database under version control now! Version control is standard for application code, but databases

Re: Explicitely specifying tmux's dependencies

2013-07-30 Thread Thomas Adam
On Tue, Jul 30, 2013 at 01:46:50PM +0100, Nicholas Marriott wrote: > This seems wrong, comments inline. Good; I did ask for testing. :) > I think you need to drop this else if you just rely on pkgconfig then > it'll fail. The attached seems to work for me. Mangle it all you want though. -- Th

Re: Explicitely specifying tmux's dependencies

2013-07-30 Thread Nicholas Marriott
This seems wrong, comments inline. On Tue, Jul 30, 2013 at 01:18:07PM +0100, Thomas Adam wrote: > On Tue, Jul 30, 2013 at 09:23:05AM +0100, Nicholas Marriott wrote: > > You can use CPPFLAGS/CFLAGS and LDFLAGS but I'm not opposed to > > --with-libevent if someone knocks up a diff. > > Hmm. Perhap

Re: Explicitely specifying tmux's dependencies

2013-07-30 Thread Thomas Adam
On Tue, Jul 30, 2013 at 09:23:05AM +0100, Nicholas Marriott wrote: > You can use CPPFLAGS/CFLAGS and LDFLAGS but I'm not opposed to > --with-libevent if someone knocks up a diff. Hmm. Perhaps see the attached patch? I don't much care for it, but I think it might work. Someone will need to test

Re: BUG: Crash when killing a session's last window's program from a grouped session

2013-07-30 Thread Nicholas Marriott
Thanks. OpenBSD is locked for release so I'll apply this when it unlocks. Original message From: Daniel Ralston Date: 27/07/2013 19:53 (GMT+00:00) To: Nicholas Marriott Cc: Thomas Adam ,tmux-users@lists.sourceforge.net Subject: Re: BUG: Crash when killing a session's last

Re: Explicitely specifying tmux's dependencies

2013-07-30 Thread Nicholas Marriott
You can use CPPFLAGS/CFLAGS and LDFLAGS but I'm not opposed to --with-libevent if someone knocks up a diff. Original message From: Pedro Mata-Mouros Date: 28/07/2013 02:30 (GMT+00:00) To: tmux-us...@lists.sf.net Subject: Explicitely specifying tmux's dependencies Hi, I

Re: patch allowing pipe-pane to write directly to a file

2013-07-30 Thread Nicholas Marriott
I'm still not wild about this, it seems that cat should be fine, it doesn't use much memory. If you are logging every pane perhaps we need a better way to log stuff than running pipe-pane in every one. Original message From: J Raynor Date: 27/07/2013 22:13 (GMT+00:00) To:

Re: patch adding -c flag to new-session

2013-07-30 Thread Nicholas Marriott
Thanks. Thomas sent something similar but I think we should try to do it in a way that supports as many of the same special prefixes as neww as we can sensibly do. This might mean breaking up the helper in cmd.c into two functions. Original message From: J Raynor Date: 30/07/

Re: How to disable others attach to my session?

2013-07-30 Thread Nicholas Marriott
I don't know what you mean by point 1. Point 2 - if they have root it is impossible, root is the superuser and can get around any password or other protection. The solution is not to give root to people you don't trust. Make them unprivileged users, then your tmux is safe. Original mes

Re: How to disable others attach to my session?

2013-07-30 Thread 高增琦
1) attach existing tty is not easy(or perfect), hope tumx make attach to other session that hard if user want 2) or use kind of 'password' ? On Tue, Jul 30, 2013 at 2:25 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > There is no way to stop root attaching to your session and there

Re: patch adding -c flag to new-session

2013-07-30 Thread Thomas Adam
On 30 July 2013 07:39, J Raynor wrote: > The TODO list for tmux has this entry: > > * add -c for new-session like new-window > > > I've attached a patch that implements that. https://sourceforge.net/p/tmux/mailman/message/31133999/ -- Thomas Adam