Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!purdue!tut.cis.ohio-state.edu!ucsd!ogccse!schaefer From: schaefer@ogccse.ogc.edu (Barton E. Schaefer) Newsgroups: comp.mail.mush Subject: Re: minor mush enhancements Message-ID: <5334@ogccse.ogc.edu> Date: 29 Oct 89 02:21:10 GMT References: <370@kauai.ACA.MCC.COM> Reply-To: schaefer@ogccse.UUCP (Barton E. Schaefer) Organization: Oregon Graduate Center, Beaverton, OR Lines: 58 In article <370@kauai.ACA.MCC.COM> duanev@kauai.ACA.MCC.COM (Duane Voth) writes: } } When I have 20 pieces of new mail its a bit of a hassle to } count down the new mail list figuring out the number of the } letter I want to read first. Could the new-mail list be formatted } with hdr_format just like the 'h' command does? On line 330 of signals.c, in function check_new_mail(): 330 char *p2 = compose_hdr(last_msg_cnt++) + 9; Remove this ^^^^ You may also want to fiddle with the sprintf() format on line 336. If you don't want to mess with the source, you can try set newline="await | from" but that "hangs" mush in "await" if you hit newline when there isn't any new mail. (Not necessarily undesirable, I suppose.) } Second, sometimes I like to save a letter in some folder and then } leave it in my system mailbox along with other unread mail. I have } "hold" set but unless I specifically 'preserve' the letter I just } 'save'd to the folder, when I quit, the letter gets put in mbox } and deleted from my system folder. The letter gets saved in mbox? Really? I can't figure out any way that could possibly happen. What should happen is that it gets deleted, and that's it; saved messages are marked for deletion by default. You can set the variable $keepsave to prevent deletion, but they should never get saved to mbox. If you have $autodelete set as well as $hold, odd things happen, but saving in mbox isn't one of them. It isn't documented anywhere that I know of, but setting both $autodelete and $hold doesn't make sense -- neither $keepsave nor $hold nor sleet nor hail will stay $autodelete from its appointed rounds :-) so all read mail will be deleted unless you "preserve" it. By the way, if there is anyone out there who just couldn't go on living without $autodelete, speak now -- we are strongly considering removing it from the next release of mush. } I guess I'm asking that "hold" } be expanded to automatically preserve saved letters. That's what $keepsave is for. If you don't have $autodelete set, try setting $keepsave and see if that's what you want. Otherwise, you can do cmd save 'save \!* | preserve' If you DO have $autodelete set, get rid of it. You'll still need $keepsave, but at least your .mushrc will make more sense. ;-) -- Bart Schaefer "A Yellowbeard is never so dangerous as when he's dead." -- Graham Chapman, 1941-1989 UUCP ...{sequent,tektronix,verdix}!ogccse!schaefer Internet schaefer@cse.ogc.edu (soon to be cse.ogi.edu)