Xref: utzoo comp.windows.x:20933 comp.mail.misc:3207 Path: utzoo!utgpu!news-server.csri.toronto.edu!mailrus!cs.utexas.edu!usc!apple!bionet!arisia!sgi!shinobu!odin!odin.corp.sgi.com!tomw From: tomw@orac.esd.sgi.com (Tom Weinstein) Newsgroups: comp.windows.x,comp.mail.misc Subject: Re: xbiff Message-ID: Date: 11 Apr 90 12:08:36 GMT References: Sender: news@odin.corp.sgi.com Reply-To: tomw@esd.sgi.com Organization: Silicon Graphics Inc. Lines: 46 In-reply-to: emv@math.lsa.umich.edu's message of 7 Apr 90 15:46:16 GMT In article , emv@math.lsa.umich.edu (Edward Vielmetti) writes: > I'd like the xbiff window to come to the front when it beeps, sometimes > it's covered up and all I hear is this random "beep" and I wonder > whether I'm doing something wrong. This is the job of the window manager. Clients shouldn't attempt to restack themselves. > That or train "xbiff" to bip out a message in morse code, or say > something on a Sparcstation, or be otherwise suitably distinctive. This sounds better. If you look at the source for the Mailbox widget, the last thing in Mailbox.c is a function called beep(). Here it is: static void beep (w) MailboxWidget w; { XBell (XtDisplay (w), w->mailbox.volume); return; } You might want to do something like this instead: static void beep (w) MailboxWidget w; int i; { for(i=0; i<2; i++) { XBell (XtDisplay (w), w->mailbox.volume); XBell (XtDisplay (w), (w->mailbox.volume)/2); } return; } > thanks. You're welcome. > Edward Vielmetti, U of Michigan math dept. > emv@math.lsa.umich.edu -- Tom Weinstein Silicon Graphics, Inc., Entry Systems Division, Window Systems tomw@orac.esd.sgi.com Any opinions expressed above are mine, not sgi's.