Re: Environment with new windows

2011-03-28 Thread Ben Boeckel
On Tue, Mar 29, 2011 at 12:39:15AM +0100, Nicholas Marriott wrote: > Thinking about this I wonder if it is better to do this and add a > target-pane to display-message and #D for pane id, then you can do eg: > > tmux display -p -P `tmux neww -P` '#D' > > Not sure I like -P though, think I would p

Re: Environment with new windows

2011-03-28 Thread Nicholas Marriott
Thinking about this I wonder if it is better to do this and add a target-pane to display-message and #D for pane id, then you can do eg: tmux display -p -P `tmux neww -P` '#D' Not sure I like -P though, think I would prefer to change -t to -c and use -t but I don't know if people use it already.

Re: Environment with new windows

2011-03-28 Thread Nicholas Marriott
On Mon, Mar 28, 2011 at 05:58:28PM -0400, Ben Boeckel wrote: > On Sun, Mar 27, 2011 at 09:53:35PM +0100, Nicholas Marriott wrote: > > > > 0004-Add-list-session-panes-command.patch > > > > 0005-Add-list-server-panes-command.patch > > > > > > > > These two add commands to list panes with differe

Re: Feature request: make server-info easier to parse

2011-03-28 Thread Nicholas Marriott
On Mon, Feb 21, 2011 at 07:25:32PM -0800, Felix Rosencrantz wrote: > > What would be really nice would be a way to represent their output in a > > general internal form that could be output nicely, eg we translate a > > window into a list of key,value pairs such as: > > > > [index=7, name=abc, widt

Re: Environment with new windows

2011-03-28 Thread Ben Boeckel
On Sun, Mar 27, 2011 at 09:53:35PM +0100, Nicholas Marriott wrote: > > > 0004-Add-list-session-panes-command.patch > > > 0005-Add-list-server-panes-command.patch > > > > > > These two add commands to list panes with different scopes. Maybe a > > > list-server-windows would be in order as w

Re: Mouse in Vim

2011-03-28 Thread David Blewett
On Thu, Mar 24, 2011 at 2:01 PM, Micah Cowan wrote: > (03/24/2011 10:58 AM), Paul Grove wrote: >> Does anyone know the correct config to get the mouse to behave correctly >> in Vim? >> >> so far I have been have to get visual mode to work, but cannot drag the >> splits between buffers. > > Probabl

Re: "can't find next session"

2011-03-28 Thread Nicholas Marriott
Hmm. It works fine for me, can you try tmux CVS HEAD? On Mon, Mar 28, 2011 at 01:09:42PM +0200, Sebastian Stark wrote: > > How is "switch-client -n" supposed to work? I always get "can't find next > session" (or "can't find previous session" with -p) if I run it. > > However, I have three sess

Re: [iterm2-discuss] My dream: a pointy-clicky tmux frontend

2011-03-28 Thread Nicholas Marriott
tmux only uses the socket to pass the client environment and file descriptors up to the server and for some other odds and sods like telling the client to detach and suspend. Everything else is done directly by the server. So it isn't really useful for a full terminal display. The idea is that we'

Re: [iterm2-discuss] My dream: a pointy-clicky tmux frontend

2011-03-28 Thread Kekoa Proudfoot
You didn't quite describe it this way, but it sort of sounds like you are describing something like VNC for text terminals, with tmux as the server and tmux/iTerm2 as clients. I like that overall idea. In fact it would be pretty awesome. :) I already script up tmux so I can get the most basic fu

Re: Tmux starts slowing down badly after long periods of execution

2011-03-28 Thread Samer Atiani
Thanks! This seems to have fixed my problem! Samer On Wed, Mar 23, 2011 at 1:03 PM, Nicholas Marriott < nicholas.marri...@gmail.com> wrote: > this has been covered before, tmux runs status-left and -right through > strftime(3) itself so you are asking it to run a new command like 'date > +"Wed M

Re: [iterm2-discuss] My dream: a pointy-clicky tmux frontend

2011-03-28 Thread Kekoa Proudfoot
I didn't mean iTerm2 should talk to tmux's socket directly, more that there is already a protocol used over the socket. Why not have iTerm2 reuse it? -Kekoa On Thu, Mar 24, 2011 at 12:01 PM, George Nachman wrote: >> In a sense tmux is already client/server via a socket in /tmp but I >> don't kn

"can't find next session"

2011-03-28 Thread Sebastian Stark
How is "switch-client -n" supposed to work? I always get "can't find next session" (or "can't find previous session" with -p) if I run it. However, I have three sessions as listed by list-sessions and I can switch sessions with choose-session. I guess it is maybe just a misunderstanding on my