delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2004/03/20/23:54:19

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Date: Sat, 20 Mar 2004 23:54:06 -0500
From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Beep or playing a sound [Attn: CGF]
Message-ID: <20040321045406.GB14917@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <405B8780 DOT 9030904 AT sun DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403192112110 DOT 26885 AT slinky DOT cs DOT nyu DOT edu> <20040321010346 DOT GA11477 AT redhat DOT com> <Pine DOT GSO DOT 4 DOT 56 DOT 0403202218460 DOT 26885 AT slinky DOT cs DOT nyu DOT edu>
Mime-Version: 1.0
In-Reply-To: <Pine.GSO.4.56.0403202218460.26885@slinky.cs.nyu.edu>
User-Agent: Mutt/1.4.1i

On Sat, Mar 20, 2004 at 10:49:16PM -0500, Igor Pechtchanski wrote:
>On Sat, 20 Mar 2004, Christopher Faylor wrote:
>
>> On Fri, Mar 19, 2004 at 09:52:12PM -0500, Igor Pechtchanski wrote:
>> >On Fri, 19 Mar 2004, Edwin Goei wrote:
>> >>Is there a program that will beep or make a sound in cygwin?  In bash,
>> >>I've tried "echo -e \\a" and I get a control-G char but no sound.  Is
>> >>there a program that will play a sound file that comes w/ cygwin?  I
>> >>run xemacs which does produce sounds but I'm looking for a simpler way.
>> >
>> >The ^G character will work in an xterm or rxvt running under X11.
>> >
>> >It also used to work in the Cygwin console, but apparently doesn't
>> >anymore...
>>
>> echo "^G"
>>
>> where ^G is the literal "control g" character works fine for me.  ^G
>> uses the Windows MessageBeep call so if that isn't working then there
>> are undoubtedly other things wrong with your system.  Either that or you
>> have sound muted.
>
>MessageBeep in general does not work on my system (even from a non-Cygwin
>program).  There used to be a "DefaultBeep" event in Windows that had a
>sound associated with it -- that was the sound that MessageBeep used.
>I don't know why there is no such event now, but there isn't.

The missing DefaultBeep is a generic problem in need of fixing.  As I'm
sure you know, you do this via the control panel.  In XP it is the
Sounds and Audio Devices Properties selection.

cgf

--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019