Path: utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!tut.cis.ohio-state.edu!ucbvax!pasteur!cory.Berkeley.EDU!dheller From: dheller@cory.Berkeley.EDU (Dan Heller) Newsgroups: comp.mail.mush Subject: Re: instant notification of new mail in curses mode Keywords: new mail Message-ID: <13468@pasteur.Berkeley.EDU> Date: 8 May 89 23:01:35 GMT References: <1628@taux01.UUCP> <1713@vicom.COM> Sender: news@pasteur.Berkeley.EDU Reply-To: dheller@cory.Berkeley.EDU.UUCP (Dan Heller) Organization: University of California, Berkeley Lines: 30 In article <1713@vicom.COM> lmb@vicom.COM (Larry Blair) writes: >In article <1628@taux01.UUCP> cjosta@tasu77.UUCP (Jonathan Sweedler) writes: >=I am running mush on a sun console. I originally used the tool >=interface to mush, but discovered that this interface lacks A LOT of >=the functionality of the curses interface. I found that I actually >=prefer the curses interface. The only problem with this interface is >=that I no longer get instant notification of my incoming mail. > >My solution for this is to run the "newmail" program from the elm distribution. >I start it in my .profile before it fires up suntools. The messages that is >produces when new mail arrives cause my "contool" to flash. As I believe someone mentioned, curses mode informas you of new mail more frequently than tool-mode. However, it does not do it while you are idle, which is the problem. If you're on a BSD machine (in the general sense, sun's don't have it by default) you probably have sysline --a program which tells you of new mail as well as other interesting info on your status line (the titlebar on suns). I also have a program called "watch" which, I believe, is portable to any system. It tells you the time, $cwd and monitors new mail as it comes in -- It outputs to your status line or can give it an option to echo the escape sequence to deiconify a winodw in suntools if you like. Requests for the source tothis program can be sent to me at cory.berkeley.edu. X-window users can use xwatch -- the iconic version of the same program for X11R[23]. Finally, you can write a simple shell script that does nothing but monitor mail and, in the event of new mail, echo the escape sequence necessary to open the window. Dan Heller