On Thu, Jul 04, 2002 at 10:34:17AM +1000, Jeffrey Borg wrote:
> Hi,
> 
> This is something I have looked into before without much success.
> 
> I am after a "xbiff" but one which just makes the pc speaker beep when new 
> mail is waiting for the user. I.e If there are any unread messages just 
> beep the speaker. This would just run from cron every minute to notify the 
> user of new email.

untested, but putting this in your .bashrc should do the trick:

MAILPATH='/var/mail/jeffrey?"\a"'

(search for MAIL in the bash man page for details on the related options;
\a is ctrl-g, ie. the 'beep' character, other text between the quotes
will be printed on the terminal. Note this is invoked directly by the
shell not cron).

Conrad.
-- 
SLUG - Sydney Linux User's Group - http://slug.org.au/
More Info: http://lists.slug.org.au/listinfo/slug

Reply via email to