This is the mail archive of the cygwin mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Does "^G" work on Windows 9x/Me?


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/


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]