From: scs@iti.org (Steve Simmons)
Subject: "You have mail" vs "You have new mail"
Date: 6 Aug 91 20:44:48 GMT [thread overview]
Message-ID: <scs.681511488@wotan.iti.org> (raw)
Recently there was some discussion here about the message "You have
mail" being generated at login. Lots of folks want a different
message, "You have new mail", if some or all of the mail is unread.
Those of you with source licences can fix this easily with the
following patch to login (login.c as of Ultrix 3.1):
723c727
< printf("You have mail.\n");
---
> printf("You have %smail.\n", (statb.st_mtime > statb.st_atime) ? "new " : "");
We sent this patch to DEC recently, so perhaps they will put it in the
next release....sorry, I will not hand out login source or binaries
to anyone. Our login is pretty unlike DECs these days, and probably
not useful to anyone else.
--
[referring to A/UX development] "With our new divisional structure, we've
put in place an organization that can walk and chew gum at the same time."
-- Jim Groff, a marketing director at Apple. Quoted in UniNews, 7/8/91
next reply other threads:[~1991-08-06 20:44 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
1991-08-06 20:44 Steve Simmons [this message]
1991-08-07 12:48 ` "You have mail" vs "You have new mail" Boyd Roberts
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox