Sujet : Re: Vanishing Mail Notification
De : lgusenet (at) *nospam* be-well.ilk.org (Lowell Gilbert)
Groupes : comp.unix.bsd.freebsd.miscDate : 24. Mar 2024, 20:32:06
Autres entêtes
Organisation : A noiseless patient Spider
Message-ID : <445xxbcwgp.fsf@be-well.ilk.org>
References : 1
User-Agent : Gnus/5.13 (Gnus v5.13)
Louis Epstein <
le@main.lekno.ws> writes:
For some reason my newest install doesn't
precede prompts with "You have new mail in /var/mail/le"
as appropriate.
What turns this on or off?
That's a feature of the shell. [I don't recall ever running into any
other way to do it, but I wouldn't be at all surprised if someone,
somewhere, had done it a different way.]
("You have new mail" still appears on login).
Oh, right. *That* would be an example of a different way, kind of.
That is driven by login.conf(5), and is not shell functionality. I
don't have the sources mounted, but offhand I'm pretty sure it's
implemented somewhere in the pam libraries or the login program.
So, all flippancy aside: how it's done depends on your shell.
However, the change in behavior may come from changes in environment
variables inherited by the shell, so the shell itself may not be the
thing that changed.
Be well.
-- Lowell Gilbert, embedded/networking software engineer http://be-well.ilk.org/~lowell/