Re: Regarding the window-tmux redraw issue

2010-06-02 Thread Nicholas Marriott
Please try this which should fix it (includes the part I already sent to you so start from a clean tree). I'm not sure sending a resize message after the client attaches is the best solution, and I can't actually hit the race there, although I'm pretty certain it exists. Can't see anywhere else to

Re: monitor-content matches

2010-06-02 Thread clemens fischer
Vincent Wang wrote: > #! /usr/bin/env ruby > > event_hash = { > /^=> Ctrl-C to shutdown server/ => lambda { ["Rails started"] }, > /^(\d+ tests, \d+ assertions, \d+ failures, \d+ errors)/ => lambda { [$1, > "Ruby Test"] }, > } > > def notify(msg, title="Notification") > system(%Q{/usr/local

Regarding the window-tmux redraw issue

2010-06-02 Thread Raghavendra D Prabhu
Hi, I faced a issue of tmux not recognising the window dimensions correctly in xterm. Nicholas suggested in #tmux to add client_write_server(MSG_RESIZE, NULL, 0); in client.c(CVS head) .. That seemed to have solved the dimensions problem. But the window still does not get redrawn. Only doing pr

Re: monitor-content matches

2010-06-02 Thread Vincent Wang
* clemens fischer [2010-06-01 17:30:36 +0200]: > Vincent Wang wrote: > > > I wrote a very simple ruby script that define a action map, regex as > > key, a function as value, so you can define as many different actions > > as you need based on regex, that can solve the problem. > > You mean ac