Path: utzoo!news-server.csri.toronto.edu!cs.utexas.edu!uunet!stanford.edu!agate!agate!appel From: appel@ocf.Berkeley.EDU (Shannon D. Appel) Newsgroups: comp.mail.mh Subject: Using Unseen to check for new mail Message-ID: Date: 7 Mar 91 16:43:37 GMT Sender: usenet@agate.berkeley.edu (USENET Administrator) Distribution: comp Organization: xcf Lines: 13 I've been using mh for some time, but I just started using slocal the other evening. I set my unseen variable (Unseen-Sequence: unseen) so that I could put this line in my .login: scan +inbox unseen. Anyways, this produces the following ugly output if you have no new mail: scan: bad message list unseen and I'd like my .login to be a bit more elegant than that. So, my question is, is there any nice way to do something like this: if (YOU_HAVE_UNSEEN_MAIL_IN_FOLDER_X) then ... Thanks in advance for any input.