Disable console bell in FreeBSD
6 January 2012 2 Comments
I use Bash and frequently utilize tab completion. On my FreeBSD, when there are multiple options during tab completion, the annoying console bell rings. For C programmers, it is the ‘\a’ that you included in your printf() calls when first learning C to drive others crazy.
To disable it, as root user you can run:
# sysctl hw.syscons.bell=0
hw.syscons.bel;: 1-> 0
Add that command to /etc/sysctl.conf to permanently disable it. Good riddance!
Hey man – Just came across your blog, why did you stop doing the QuickFix posts, they are awesome man! Did you ever finish the tutorial, I would love to see the finished posts?!?!
Thanks!
I quit mostly because I’ve gotten out of the financial services industry. Also, because I at the time I was working in high-frequency trading and in the front-office, we were moving away from TCP/IP-based FIX solutions to faster communication solutions. The infrastructure guys were still using FIX for external connections, but in the front-office FIX was no longer necessary.
That said, the only reason that anyone visits this blog is for the QuickFix posts…perhaps I ought to pick up where I left off just for the sake of finishing the project??? I will consider revisiting the series.