On Fri, Jan 28, 2011 at 09:11:30PM +0100, clemens fischer wrote: > > And just another question: Is there a resource available, where I > > can see examples for the monitor-content option? I've played around > > a little bit but wasn't successful (try a configure al mcabber > > alert) > > I have this to alert me whenever tmux sees my shell prompt, but it > only works for commands with more than one screenful of output. This > is because tmux looks for the match with fnmatch(3) in the entire > screen. Anyway, this is from my $HOME/.tmux.conf: > > # set-window-option -g monitor-content fnmatch(3)-string # > trigger on the bash prompt appearing (after command completes) > #set-window-option -g monitor-content '[0-9]*[0-9]*[#$]*' > set-window-option -g monitor-content '[0-9]* [0-9]* [#$] ?' > set-option -g visual-content on
Hi Clemens, thanks for the answers. To be informed about incoming messages in mcabber, I simply search like this: set-window-option -t mcabber monitor-content "\#" this is far away from being accurate but I did not solved to search for a parenthesis [ and ] ... Anyway, I am happy now ... best regards Sebastian Tramp -- Sebastian Tramp WebID: http://sebastian.tramp.name ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ tmux-users mailing list tmux-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/tmux-users