Re: bind a key to multiple commands in copy mode

2011-05-10 Thread Dave Disser
;t apply to sf cvs and if i just add the line it won't compile. > Is there some other patch i need to apply first, or is this for a different > branch or is the patch incomplete? > Thanks. > > > On Fri, Apr 29, 2011 at 11:13 AM, Dave Disser wrote: > >> I decided I did

Re: bind a key to multiple commands in copy mode

2011-05-10 Thread Dave Disser
6:49 PM, Randy Stauner wrote: > thanks for the idea. > I definitely must applaud the effort. > you've given me an idea for the 5Y option... if i ever take it any further > i'll write back. > > On Thu, Apr 28, 2011 at 12:55 PM, Dave Disser wrote: > >> I *just*

Re: Scripted monitoring for activity or content

2011-05-04 Thread Dave Disser
t though. > > Maybe I should finally get back to the hooks stuff and it would make it > easier to do this. > > > > On Wed, May 04, 2011 at 10:54:20AM -0700, Dave Disser wrote: > >Is there a way to monitor for activity or content in a script? *I'd > like > >

Scripted monitoring for activity or content

2011-05-04 Thread Dave Disser
Is there a way to monitor for activity or content in a script? I'd like to be able to script 'expect'-like behavior like this: tmux send-keys -t :1 make tmux wait-content -t :1 "build finished" If there's no way to do this with current functionality I might consider implementing it. --Dave

Re: bind a key to multiple commands in copy mode

2011-04-28 Thread Dave Disser
I *just* subscribed now, but I was wrestling with nearly the same problem yesterday. Here's my kludge of rebinding with unprefixed keys. Hard to follow, I know, but the gist is that when entering copy mode it rebinds y and Enter (unprefixed) to source scripts. The scripts in turn do actions and