simplebiff

Name

simplebiff -- Run a simple xbiff-like notification system.

Synopsis

(simplebiff #&key (mail-spool-dir "/var/spool/mail")
			    (username (getenv "USER"))
			    (activate-proc beep)
			    (deactivate-proc noop)
			    (check-interval 10))

Description

Run a simple xbiff-like notification system. MAIL-SPOOL-DIR tells where the mail files live, USERNAME is the username of the file to watch (defaults to environement variable "USER". ACTIVATE-PROC is the procedure to apply when the file grows, DEACTIVATE-PROC is the procedure to apply when the file changes without growing (by shrinking or staying the same size). CHECK-INTERVAL is the number of seconds between checks. Returns an object to pass to stop-simplebiff to turn off the notifier.

Implementation Notes

Module: (app scwm simplebiff)

Defined in scheme/simplebiff.scm at line 46 (CVS log)