zsh-users
 help / color / mirror / code / Atom feed
* MAIL variable help!
@ 1996-01-12 22:12 Pete Williams
  1996-01-13  3:51 ` Justin Sheehy
  0 siblings, 1 reply; 3+ messages in thread
From: Pete Williams @ 1996-01-12 22:12 UTC (permalink / raw)
  To: zsh-users


Hi,

I'm trying to set up my mail variables within zsh 2.5.03 so that whenever
mail arrives within one of my MH folders (it's been pre-filtered by mailagent),
I'll be notified for each folder with new mail.

As I have it setup now, it prints out a one-line notification for each mail
that's arrived, so that if I should get say 3 mails in ~/Mail/zsh, I get

New mail in zsh.
New mail in zsh.
New mail in zsh.

rather than just one notification.

Also, the manpage says that if an element in MAILPATH is a directory, that
directory is recursively scanned for every file.  I don't want this behavior;
it makes no sense with MH-style folders.  Also, it takes forever for zsh
to scan all my folders for new mail.

I can always write a separate program and invoke it "periodic"ally, but is
this really necessary?  Surely other zsh users use MH as well...

Also, while I'm at it, I have a similar problem with MAIL_WARNING, in that
if I "scan" an MH folder, I'll get a series of terminal messages like:

The mail in /u/pete/Mail/tqadm/1 has been read.
The mail in /u/pete/Mail/tqadm/8 has been read.
...
... many more lines here
...
The mail in /u/pete/Mail/tqadm/4 has been read.
The mail in /u/pete/Mail/tqadm/5 has been read.
The mail in /u/pete/Mail/tqadm/6 has been read.
The mail in /u/pete/Mail/tqadm/7 has been read.

Am I going about this the wrong way?

Thanks in advance,

Pete Williams <petew@lexis-nexis.com>

  "Hey, I had to let awk be better at *something*...  :-)"
    -- Larry Wall in <1991Nov7.200504.25280@netlabs.com>1


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~1996-01-26 20:04 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1996-01-12 22:12 MAIL variable help! Pete Williams
1996-01-13  3:51 ` Justin Sheehy
1996-01-26 19:41   ` Program for Mail-checking MH folders Pete Williams

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).