[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [monitoring-like] would like to be warned when I have mail (fetchmai
From: |
Will Maier |
Subject: |
Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c) |
Date: |
Tue, 27 Sep 2005 22:01:43 -0500 |
User-agent: |
Mutt/1.5.6+20040907i |
On Tue, Sep 27, 2005 at 09:26:21PM -0400, Slink3r wrote:
> Okay, I have the same sort of problem, unfortunately I'm extremely
> incompetent :(
Nothing a little reading won't fix.
> I'm trying to get screen to simply ding me whenever "devil" from
> irc channel #void speaks
> I figured I could use something like tail -n 5
> /$HOME/.BitchX/logs/#void.log |grep devil and just execute that
> every 3 seconds or something, then if it returns something other
> than null, it could beep me.
Hmm...
> Is there a simple way to do this?
I think so, but I've never done it myself. It's always been a
section of the manpage that I wanted to toy with, but didn't have
reason to (since irssi handles alerts just fine; read elsewhere in
this thread).
If you want to give it a try, though, here's the relevant section:
$ man 1 screen
...
| !:sed -n s/.*Error.*/\007/p
| Sends window output to both, the user and the sed command. The sed
| inserts an additional bell character (oct. 007) to the window output
| seen by screen. This will cause "Bell in window x" messages, whenever
| the string "Error" appears in the window.
--
[Will address@hidden/address@hidden
- [monitoring-like] would like to be warned when I have mail (fetchmail -c), Thomas Baruchel, 2005/09/27
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Maurice van der Pot, 2005/09/27
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Michael Schroeder, 2005/09/28
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Gerhard Siegesmund, 2005/09/28
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Will Maier, 2005/09/28
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Gerhard Siegesmund, 2005/09/29
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Michael Schroeder, 2005/09/28
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Gerhard Siegesmund, 2005/09/29
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Gerhard Siegesmund, 2005/09/29
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Aaron Griffin, 2005/09/28
- Re: [monitoring-like] would like to be warned when I have mail (fetchmail -c), Gerhard Siegesmund, 2005/09/29