(simplebiff #&key (mail-spool-dir "/var/spool/mail") (username (getenv "USER")) (activate-proc beep) (deactivate-proc noop) (check-interval 10))
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.