Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!bbn!rochester!cornell!batcomputer!tedcrane
From: tedcrane@batcomputer.tn.cornell.edu (Ted Crane)
Newsgroups: comp.os.vms
Subject: Re: an interesting [MAIL] problem I have....
Message-ID: <3123@batcomputer.tn.cornell.edu>
Date: Tue, 8-Dec-87 18:14:45 EST
Article-I.D.: batcompu.3123
Posted: Tue Dec  8 18:14:45 1987
Date-Received: Sun, 13-Dec-87 14:50:54 EST
References: <8712080300.AA06591@ucbvax.Berkeley.EDU>
Reply-To: tedcrane@tcgould.tn.cornell.edu (Ted Crane)
Organization: Tompkins County Computing, Ithaca, NY
Lines: 27

By now, several people must have offered the solution to this problem
(new mail counter and contents of NEWMAIL folder out of synch).  
READ/NEW is documented, but the situation is so silly that no matter
how many times I hear the problem, I've never felt the need to point
the user at the manual.

On the other hand, here is a suggestion which will help avoid the problem:

In MAIL, the keypad-MINUS key is defined as "READ/NEW" by default.  So,
why not use DCL to define the same key as "MAIL"?  Then, to enter MAIL
and read new mail, just hit the keypad-MINUS twice in a row.  As a side
effect, the new mail counter will be brought back into synch with the actual
NEWMAIL folder contents!  For the lazy, here's the DCL command:

	$ define/key -
		/nolog -
		/if_state=DEFAULT -
		/echo/terminate -
		MINUS -
		"mail"
(This presumes various default settings of DCL and your terminal, adapt as
necessary).

- ted crane, alias (tc)
tedcrane@tcgould.tn.cornell.edu                       BITNET: tedcrane@CRNLTHRY
{decvax!ucbvax}!tcgould.tn.cornell.edu!tedcrane             DECnet: GOPHER::THC
                                                                 (607) 273-8768