procmail
[Top] [All Lists]

Re: Procmail and New Message Notification?

1996-04-30 12:06:18
On Apr 30, 12:47pm -0400, Josh Kramer 
<kramer(_at_)gfs(_dot_)pvt(_dot_)k12(_dot_)pa(_dot_)us> wrote:
If you use tcsh, this handy alias will display a one line message at 
your prompt telling you if and at what time new mail has arrived, or will 
display nothing if there has been no new mail.

In .cshrc, add the line:

alias precmd 'finger your_username | grep "New mail" | grep -v "no"'

If you use tcsh (or csh, for that matter), you can just set the "mail"
shell variable.

== Bob

<Prev in Thread] Current Thread [Next in Thread>