>>>>> "sreangsu" == sreangsu acharyya <[EMAIL PROTECTED]> writes:
sreangsu> On Fri, 26 May 2000, Suresh Ramasubramanian wrote:
>> SEN saw fit to inform LI that:
>>
>> >>> Can I have my fetchmail running in the bkground >>> while
>> being connected , inform me by playing a sound that >>>I've
>> some mail ?
>>
sreangsu> hello i have a script which starts in the backgroound at
sreangsu> login, which does the thing you ask. It goes something
sreangsu> like this
sreangsu> --------------------------------------------------------
sreangsu> while (sleep 1m) do if [ /var/spool/mail/$USER -nt tm ]
sreangsu> then echo -e " \a" touch tm fi done
sreangsu> ----------------------------------------------------------
sreangsu> hope it helps sreangsu
Alternatively, run gkrellm and confugre it to play a sound whenever a
message is received, which is what I do.
Regards,
-- Raju
-----------------------------------------------------------------------
LIH is all for free speech. But it was created for a purpose - to help
people discuss issues about installing and running Linux. If your
messages are counterproductive to this purpose, your privileges to
submit messages can and will be revoked.