All i wanted was a simple biff program for the dock, just a little, unobstrusive, audio/visual "new mail" signal, so that i wouldn't keep popping open my mutt window every N minutes (bad discipline). No such luck and too lazy to write something myself (and afraid of SOMEHOW managing to screw something up and lose mail). Here's what i ended up doing.
Read the rest of the article for the how-to. This hint assumes you have mutt and esound installed ... check out fink first if you don't...
[Editor's note: This tip also assumes the Dev Tools are installed and you have some knowledge of compiling UNIX software. I have not tried it myself, since I'm pretty happy with Mail.app]
Instructions:
color index brightred default "~N"
action "mybeep" "esdplay ${HOME}/Library/Sounds/BiffSound.aiff >& /dev/null"
connection
name "my mail"
command "/homemade/bin/netbiffd"
update "mybeep"
folder "/mail/me"
endconnection#!/bin/tcshThrew in a bits from a title bar hint for free ... oooh.
# detect if netbiff has already been launched
set HASBIFF=`ps`
set HASBIFF2=`echo ${HASBIFF} | grep netbiff`
# launch netbiff if neccesary
if ( "${HASBIFF2}" == "") then
echo "starting netbiff"
netbiff 2> /dev/null &
else
echo "biff already there"
endif
# set the title bar to say "mutt"
#settitle ${HOST} mutt
# launch mutt, passing arguments
setenv TERM xterm-color
mutt $*
# set the title bar back to normal
#cwdcmd
Mac OS X Hints
http://hints.macworld.com/article.php?story=20020221085718945