diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index a7a54ae18..5c5e44c1a 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,11 @@ + +2003-02-13 Vaclav Haisman + Christopher Faylor + + * fhandler_console.cc (fhandler_console::write_normal): Use MessageBeep + for bell sound. + * autoload.cc (MessageBeep): Add. + 2003-02-13 Christopher Faylor * include/cygwin/types.h: Use correct ifdef guard for u_ definitions. diff --git a/winsup/cygwin/autoload.cc b/winsup/cygwin/autoload.cc index 3c21d1e29..805055c82 100644 --- a/winsup/cygwin/autoload.cc +++ b/winsup/cygwin/autoload.cc @@ -419,6 +419,7 @@ LoadDLLfunc (GetProcessWindowStation, 0, user32) LoadDLLfunc (GetThreadDesktop, 4, user32) LoadDLLfunc (GetUserObjectInformationA, 20, user32) LoadDLLfunc (KillTimer, 8, user32) +LoadDLLfunc (MessageBeep, 4, user32) LoadDLLfunc (MessageBoxA, 16, user32) LoadDLLfunc (MsgWaitForMultipleObjects, 20, user32) LoadDLLfunc (OemToCharBuffA, 12, user32) diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 78fa5e323..3fb91252c 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -1406,7 +1406,7 @@ fhandler_console::write_normal (const unsigned char *src, switch (base_chars[*src]) { case BEL: - Beep (412, 100); + MessageBeep (0xFFFFFFFF); break; case ESC: dev_state->state_ = gotesc;