Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* "You have mail" vs "You have new mail"
@ 1991-08-06 20:44 Steve Simmons
  1991-08-07 12:48 ` Boyd Roberts
  0 siblings, 1 reply; 2+ messages in thread
From: Steve Simmons @ 1991-08-06 20:44 UTC (permalink / 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


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

end of thread, other threads:[~1991-08-07 12:48 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1991-08-06 20:44 "You have mail" vs "You have new mail" Steve Simmons
1991-08-07 12:48 ` Boyd Roberts

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox