This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Re: Beep or playing a sound [Attn: CGF]
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.
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/