PC speaker off

I hate how this annoying small PC speaker beeps each time I press a ‘wrong’ button on the QNX command prompt. No matter I’m currently running QNX-6.5.0 from VMware, it still uses the old PC speaker.

Is there a way to completely disable the system bell under QNX?

printf “%c[=1;1;B” 0x1b >/dev/con1

Thanks! I enjoy the silence…

Mario, could please explain that line? I’ve never seen anything quite like it.

James Ingraham
Sage Automation, Inc.

If you check the helpviewer PtTerminal, under the section CSI control sequences:

{CSI=[f[;d]]B} set frequency (HZ) and duration (ms) for bell, default =100Hz,250ms

I experimented with this and found that results may vary with your hardware.

System 1) Super Server - any parameters turns the sound off completely and it can’t be reversed.
System 2) Advantec board - 1;1 gives a low grunting sound, there’s a lower limit on duration, frequency works really well, even past 10,000.