[plug] Intercepting Default Beep

Mike Holland myk at golden.wattle.id.au
Tue Apr 6 12:36:29 WST 1999

On Mon, 5 Apr 1999, Trevor Phillips wrote:

> Is there any way, either at KDE level or buried deeper, to intercept
> ^G's (0x07, or PC Speaker Beep, if you wish) and instead play a WAV
> file?

this would be a function of the console, or terminal-emulator program,
such as Xterm.

   Are you willing to go into the source code? Xterm cant do it, but it
does have 'visual bell' wich replaces the beep with a flash. So if you
look at the source for that, it might be very easy to adapt.

   Doing the same for a text console is probably kernel territory.

Mike Holland <mike at golden.wattle.id.au>            Perth, Australia.
There was a young lady of Norway
Who hung by her toes in a doorway.
        She said to her beau
        "Just look at me Joe
I think I've discovered one more way."

More information about the plug mailing list