Re: Produce beeps using soundcard

2003-02-13 Thread Max Bowsher
Gary R Van Sickle wrote: > What am I missing here? Beep (412, 100) ==> MessageBeep > ((unsigned)-1) and we're done, right? No need for any CYGWIN= > hoobajoob or another static BOOL or anything. Checking MSDN "If the sound card is not available, the sound is generated using the speaker." So

Re: Produce beeps using soundcard

2003-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2003 at 06:45:25PM -0500, Christopher Faylor wrote: >On Thu, Feb 13, 2003 at 05:40:13PM -0600, Gary R Van Sickle wrote: >>What am I missing here? Beep (412, 100) ==> MessageBeep ((unsigned)-1) and >>we're done, right? No need for any CYGWIN= hoobajoob or another static BOOL >>or a

Re: Produce beeps using soundcard

2003-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2003 at 05:40:13PM -0600, Gary R Van Sickle wrote: >What am I missing here? Beep (412, 100) ==> MessageBeep ((unsigned)-1) and >we're done, right? No need for any CYGWIN= hoobajoob or another static BOOL >or anything. Will that work right on PCs without a soundcard? If so, when

RE: Produce beeps using soundcard

2003-02-13 Thread Gary R Van Sickle
What am I missing here? Beep (412, 100) ==> MessageBeep ((unsigned)-1) and we're done, right? No need for any CYGWIN= hoobajoob or another static BOOL or anything. -- Gary R. Van Sickle Braemar Inc. 11481 Rupp Dr. Burnsville, MN 55337 > On Thu, Feb 13, 2003 at 10:32:47PM -, Max Bowsher wrot

Re: Produce beeps using soundcard

2003-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2003 at 10:32:47PM -, Max Bowsher wrote: >> I don't like to introduce lots of unnecessary decision points into a >> product. It increases support and it increases code complexity. > >Complexity? Slightly, but only at CYGWIN-parsing time, and Beeping time. >That's not that much,

Re: Produce beeps using soundcard

2003-02-13 Thread Max Bowsher
Christopher Faylor wrote: > On Thu, Feb 13, 2003 at 08:39:21PM -, Max Bowsher wrote: >> Christopher Faylor wrote: >>> On Thu, Feb 13, 2003 at 01:34:28AM +0100, Vaclav Haisman wrote: Hi, this small patch adds an ability to produce beeps (\a) using soundcard by MessageBeep() c

Re: Produce beeps using soundcard

2003-02-13 Thread Vaclav Haisman
> I don't like to introduce lots of unnecessary decision points into a > product. It increases support and it increases code complexity. This patch is literally few lines long. I doubt it adds much complexity. > > Once again, how does linux handle this scenario? You don't do a > "export LINUX=lin

Re: Produce beeps using soundcard

2003-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2003 at 08:39:21PM -, Max Bowsher wrote: >Christopher Faylor wrote: >> On Thu, Feb 13, 2003 at 01:34:28AM +0100, Vaclav Haisman wrote: >>> >>> Hi, >>> this small patch adds an ability to produce beeps (\a) using >>> soundcard by MessageBeep() call. It can be enabled by new CYGWI

Re: Produce beeps using soundcard

2003-02-13 Thread Max Bowsher
Christopher Faylor wrote: > On Thu, Feb 13, 2003 at 01:34:28AM +0100, Vaclav Haisman wrote: >> >> Hi, >> this small patch adds an ability to produce beeps (\a) using >> soundcard by MessageBeep() call. It can be enabled by new CYGWIN >> option winbeep. >> >> Vaclav Haisman >> >> 2003-02-13 Vaclav

Re: Produce beeps using soundcard

2003-02-13 Thread Christopher Faylor
On Thu, Feb 13, 2003 at 01:34:28AM +0100, Vaclav Haisman wrote: > >Hi, >this small patch adds an ability to produce beeps (\a) using soundcard by >MessageBeep() call. It can be enabled by new CYGWIN option winbeep. > >Vaclav Haisman > >2003-02-13 Vaclav Haisman <[EMAIL PROTECTED]> > * envir

Re: Produce beeps using soundcard

2003-02-13 Thread Joshua Daniel Franklin
>From 'man bash': escape sequences, if present, are decoded as follows: \a alert (bell) Wouldn't this be better called "bell" or "alert"? --- Vaclav Haisman <[EMAIL PROTECTED]> wrote: > > Hi, > this small patch adds an ability to produce beeps (\a) using soundcard by > M

Produce beeps using soundcard

2003-02-12 Thread Vaclav Haisman
Hi, this small patch adds an ability to produce beeps (\a) using soundcard by MessageBeep() call. It can be enabled by new CYGWIN option winbeep. Vaclav Haisman 2003-02-13 Vaclav Haisman <[EMAIL PROTECTED]> * environ.cc (windows_beep): New variable declaration. (parse_thing): N