Hi Folks, this is driving me bananas..
I'm trying to find the bit of code within the PLINK source code that makes the terminal beep. Its turning out to be surprisingly hard to find. The whole thing is multithreaded so you can't just step thru until you hear the beep. With the full PUTTY compile, there's UI options to turn beep on and off, and the code relating to the settings is visible in the plink and putty projects, but I can't for the life of me find where the line of code is that actually does the beep.
I'm compiling for windows 2003 under C++ VS 2005
I'm guessing its probably an escape sequence sent to stdout to do a beep, as I can't see any win api beep calls in there ? But finding it is clearly way beyond my capability !
Source code is here http://www.chiark.greenend.org.uk/~sgtatham/putty/download.html
Any ideas what I should be searching for ? or can you find it for me ????