This is the mail archive of the
cygwin-patches@cygwin.com
mailing list for the Cygwin project.
Re: Produce beeps using soundcard
- From: Joshua Daniel Franklin <joshuadfranklin at yahoo dot com>
- To: Vaclav Haisman <V dot Haisman at sh dot cvut dot cz>
- Cc: cygwin-patches at cygwin dot com
- Date: Thu, 13 Feb 2003 12:23:27 -0800 (PST)
- Subject: Re: Produce beeps using soundcard
>From 'man bash':
escape sequences, if present, are decoded as follows:
\a alert (bell)
Wouldn't this be better called "bell" or "alert"?
--- Vaclav Haisman <V.Haisman@sh.cvut.cz> wrote:
>
> Hi,
> this small patch adds an ability to produce beeps (\a) using soundcard by
> MessageBeep() call. It can be enabled by new CYGWIN option winbeep.
>
> Vaclav Haisman
>
> 2003-02-13 Vaclav Haisman <V.Haisman@sh.cvut.cz>
> * environ.cc (windows_beep): New variable declaration.
> (parse_thing): New CYGWIN option.
> * fhandler_console.cc (windows_beep): New variable definition.
> (fhandler_console::write_normal): Handle the new option.
> * Makefile.in (DLL_IMPORTS): Add libuser32.a for MessageBeep.
__________________________________________________
Do you Yahoo!?
Yahoo! Shopping - Send Flowers for Valentine's Day
http://shopping.yahoo.com