tags 294193 + patch forwarded 294193 [EMAIL PROTECTED] thanks hi Norbert, raggle-dev,
On Tue, Feb 08, 2005 at 01:32:30PM +0100, Norbert Tretkowski wrote: > I'm using raggle with screen, which can hilight windows where a beep > occured. It'd be nice if raggle had an option to enable beeping when a > new article is available. see attached patch. Paul: i dont know if this works on windows, (probably `print "\a"' does). However, the next revision of the debian package will include this patch, it would be nice to have it in CVS too (do_beep setting default to 'false'). bye, - michael
--- /usr/bin/raggle 2004-12-15 00:17:57.000000000 +0100 +++ raggle 2005-02-08 15:22:41.000000000 +0100 @@ -3274,6 +3274,10 @@ feed['site'] = chan.link feed['image'] = chan.image feed['updated'] = t.to_i + + if $config['do_beep'] + print "\07" + end # Note: last_modified is slightly different than modified, # because we're using it as a token, not as a timestamp @@ -3822,6 +3826,9 @@ # warn if feed refresh is set to less than this 'feed_refresh_warn' => 60, + # beep on new articles? + 'do_beep' => false, + # default feed name and refresh rate 'default_feed_title' => 'Untitled Feed', 'default_feed_refresh' => 120,
signature.asc
Description: Digital signature