Date: Mon, 5 Aug 2002 20:30:54 +0400 From: "Andrey A. Chernov" <ache@nagual.pp.ru> To: Dag-Erling Smorgrav <des@ofug.org> Cc: current@freebsd.org Subject: Re: CFR: openssh, login_cap bugfix, mail check adding patch Message-ID: <20020805163053.GA5593@nagual.pp.ru> In-Reply-To: <xzp7kj5i98m.fsf@flood.ping.uio.no> References: <20020805105719.GA2404@nagual.pp.ru> <xzpofchiabr.fsf@flood.ping.uio.no> <20020805155727.GA5308@nagual.pp.ru> <xzp7kj5i98m.fsf@flood.ping.uio.no>
index | next in thread | previous in thread | raw e-mail
On Mon, Aug 05, 2002 at 18:03:05 +0200, Dag-Erling Smorgrav wrote: > > 2) Do you realize, that people who put check in their .profile got double > > mail check message when logging using normal login? (one from login and > > one from .profile) Or do they expected to sense SSH presence in their > > .profile? > > I get that anyway, because my shell has a built-in mail check function. So, why you not disable it using "nocheckmail" login cap? Look at this quote from csh(1) (tcsh) manpage, please: "If you are in a login shell, then no mail file is reported unless it has been modified after the time the shell has started up, to prevent redun- dant notifications. Most login programs will tell you whether or not you have mail when you log in." I.e tcsh not check mail immediately on login because expect login to do so. It means that with your variant no mail check in shell happens even for shell which is normally able to do it, like tcsh. You can disable mail check in login (and, with my patch, in sshd) using "nocheckmail" login cap. But enabling it without code missing is impossible, resulting no mail check at all even for aware shells. > Can you please stop pretending that "You have new mail" is the single > most important feature in FreeBSD? You would be much easier to get I not say so. It is as valuable as knowing that you have new mail, no more, no less. -- Andrey A. Chernov http://ache.pp.ru/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the messagehelp
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020805163053.GA5593>
