On lundi 26 novembre 2012 à 03:31:47, LEVAI Daniel wrote: > Hi! Hi,
> I needed an option to disable the bell in ksh, and I copied the idea of
> a 'nobeep' option from other shells.
[...]
What about a macro such as...
#define RING() do { if (!...) x_e_putc(BEL); } while (0)
...? Also, x_e_putc() seems to never be passed arbitrary strings
possibly containing BEL characters. So perhaps amending x_e_putc()
would be enough.
My two cents,
--
Jérémie Courrèges-Anglas
