bug-xboard
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-XBoard] upgraded mac to Leopard - lost bell


From: Tim Mann
Subject: Re: [Bug-XBoard] upgraded mac to Leopard - lost bell
Date: Tue, 21 Jul 2009 12:51:34 -0700

Kenneth Sloan wrote:
> I just upgraded a 17" Macbook Pro from Tiger to Leopard (10.5.7).
> 
> xboard was working perfectly...now it has lost it's bell.
> 
> both the xboard generated sound AND the ICS "Move Sound" fail.
> 
> I suspect this is a generic X11 problem - but I'm hoping someone
> here has run into the same thing, and has a fix.

On Tue, 21 Jul 2009 21:24:57 +0200 (MEST), address@hidden wrote:
> As XBoard calls an external program (default "play") to do all sounds, I
> think it can only mean that your upgrade no longer supports this program.

No, I don't think that's the problem here.  If the sound name is "$",
xboard does putc(BELLCHAR, stderr) to play the sound, where BELLCHAR is
'\007' -- that is, the ASCII BEL character, also written \a or Ctrl+G.

"$" is the default for soundMove and soundIcsAlarm, so it's probably
what Kenneth is using.

Also, if you're using the ICS-generated sound instead of the xboard
sound, that also works by printing a \007 to the terminal.  This \007
is in the output stream from ICS and IIRC xboard just passes it through
unchanged; it doesn't even know it's there.

So this is an X11 problem.  I don't have a Mac, so I can't be of much
help.  If you use Mac X11 to open an xterm shell window and do "echo
^G", does it make a sound?  

-- 
Tim Mann  address@hidden  http://tim-mann.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]