X-Spam-Check-By: sourceware.org Date: Tue, 3 Jan 2006 16:41:54 -0500 From: Christopher Faylor To: cygwin@cygwin.com Subject: Does "^G" work on Windows 9x/Me? Message-ID: <20060103214153.GA14949@trixie.casa.cgf.cx> Reply-To: cygwin@cygwin.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@cygwin.com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Delivered-To: mailing list cygwin@cygwin.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 #include 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/