Re: about renaming screens

2011-05-04 Thread Randy Stauner
this brings up an interesting idea... this could be achieved if the -p argument to command-prompt processed the status-line escape sequences: command-prompt -p "rename (from #W)" "rename-window '%%'" Note that this does not currently work, it's a suggestion for a feature request. On Wed, Apr 20,

about renaming screens

2011-05-04 Thread Harry Putnam
New user alert! (using tmux 1.4 on gentoo linux) I might just be missing a better way to rename a window. Maybe someone will be able to tell me. As a long time screen user, I've learned to name the various screens I might run for what they are doing, or who they are in order to keep up with what

Re: Scripted monitoring for activity or content

2011-05-04 Thread Dave Disser
I managed to work around with this: tmux pipe-pane -t :1 'sed -n "/build finished/{p;q}" > /tmp/wait' while [ ! -s /tmp/wait ] ; do sleep 1 ; done tmux pipe-pane -t :1 so I'll just roll with that and move on. --Dave On Wed, May 4, 2011 at 11:00 AM, Nicholas Marriott < nicholas.marri...@gmail.c

Re: Scripted monitoring for activity or content

2011-05-04 Thread Nicholas Marriott
Hi No there isn't a way to do it now. I don't really have an opinion on the best way to do it. Maybe it would be nicer to have a monitor-activity-command option? Not sure this would achieve what you want though. Maybe I should finally get back to the hooks stuff and it would make it easier to d

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: My dream: a pointy-clicky tmux frontend

2011-05-04 Thread Nicholas Marriott
Hi This is what I did, not much but I didn't have a lot of time... not sure if it'll still apply. Let me know if you have any questions. Index: client.c === RCS file: /cvsroot/tmux/tmux/client.c,v retrieving revision 1.100 diff -u