This is the mail archive of the
cygwin
mailing list for the Cygwin project.
Does "^G" work on Windows 9x/Me?
- From: Christopher Faylor <cgf-no-personal-reply-please at cygwin dot com>
- To: cygwin at cygwin dot com
- Date: Tue, 3 Jan 2006 16:41:54 -0500
- Subject: Does "^G" work on Windows 9x/Me?
- Reply-to: cygwin at cygwin dot com
Neither Corinna nor I have a real machine running Windows 98 any more
so we can't easily test to see if echoing a CTRL-G to a console window
running bash (or any other cygwin shell) actually does anything. Can
anyone confirm if this actually plays a beep?
A worrying note is that I get a sound in my vmware session when I
test the default beep under Control Panel but I don't hear anything
when I echo a CTRL-G under bash. I also can't get any sound from
MessageBeep (-1) using the below program. Other sounds played ok
but not MessageBeep (-1), which is what Cygwin uses.
cgf
#include <windows.h>
#include <stdlib.h>
int
main (int argc, char **argv)
{
int beep = *++argv ? atoi (*argv) : -1;
MessageBeep (beep);
}
--
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/