How can I customize bash to add a system “bell” whenever a readline (prompt user for input) is requested?
Running (upgraded) bash 4.1.0 on Mac OS X 10.6 (Snow Leopard).
will make the normal prompt
including a bell.
This doesn't work for command-line based applications though. I don't think it's possible, since you can enter quite often input even while output is being printed; this accumulates. And a prompt just means nothing's currently writing to the terminal.