Add a tty_bell wrapper function, from Dylan Alex Simon.