* Re: mail functionality
@ 2006-04-18 2:08 Thor Andreassen
0 siblings, 0 replies; 2+ messages in thread
From: Thor Andreassen @ 2006-04-18 2:08 UTC (permalink / raw)
To: zsh
On Tue, Apr 18, 2006 at 10:34:29AM +0000, djh wrote:
> I just downloaded and built "zsh 4.3.2", (i686-pc-cygwin).
>
> It seems that at times when I hit the <CR> key, it will display the
> message "You have new mail.".
>
> My MAIL and MAILDIR environment variables are set to my MH mail folder.
>
> I doubt that zsh knows whether I have mail or not, since it comes in through
> an external proxy.
>
> Is there anyway I can turn this off, or set it so that it is correct...
The relevant sections from zshparam(1):
MAIL If this parameter is set and mailpath is not set, the shell looks for
mail in the specified file.
MAILCHECK
The interval in seconds between checks for new mail.
mailpath <S> <Z> (MAILPATH <S>)
An array (colon-separated list) of filenames to check for new
mail. Each filename can be followed by a `?' and a message
that will be printed. The message will undergo parameter
expansion, command substi- tution and arithmetic expansion
with the variable $_ defined as the name of the file that has
changed. The default message is `You have new mail'. If an
element is a directory instead of a file the shell will
recursively check every file in every subdirectory of the
element.
IIRC to just disable mailchecking you set MAILCHECK=0.
--
with kind regards
Thor Andreassen
^ permalink raw reply [flat|nested] 2+ messages in thread
* mail functionality
@ 2006-04-18 8:34 djh
0 siblings, 0 replies; 2+ messages in thread
From: djh @ 2006-04-18 8:34 UTC (permalink / raw)
To: zsh
I just downloaded and built "zsh 4.3.2", (i686-pc-cygwin).
It seems that at times when I hit the <CR> key, it will display the
message "You have new mail.".
My MAIL and MAILDIR environment variables are set to my MH mail folder.
I doubt that zsh knows whether I have mail or not, since it comes in through an external proxy.
Is there anyway I can turn this off, or set it so that it is correct...
Regards,
Darel Henman
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2006-04-18 8:34 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-04-18 2:08 mail functionality Thor Andreassen
2006-04-18 8:34 djh
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).