X-Spam-Check-By: sourceware.org Date: Tue, 3 Jan 2006 16:41:54 -0500 From: Christopher Faylor <cgf-no-personal-reply-please AT cygwin DOT com> To: cygwin AT cygwin DOT com Subject: Does "^G" work on Windows 9x/Me? Message-ID: <20060103214153.GA14949@trixie.casa.cgf.cx> Reply-To: cygwin AT cygwin DOT com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com> List-Archive: <http://sourceware.org/ml/cygwin/> List-Post: <mailto:cygwin AT cygwin DOT com> List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs> Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list 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/