git: syscons - add sysctl to disable console bell globally
Michael Neumann
mneumann at crater.dragonflybsd.org
Wed Aug 6 08:07:09 PDT 2025
commit cf0aa2f1e47a3f0a6055fe427563cb3f3e627064
Author: Michael Neumann <mneumann at ntecs.de>
Date: Wed Aug 6 16:59:56 2025 +0200
syscons - add sysctl to disable console bell globally
Add sysctl `kern.syscons.enable_bell`, which globally disables the
system console bell ("sc_beep") when set to 0. By default the bell is
on.
To silence all beeps, add this to /etc/sysctl.conf:
kern.syscons.enable_bell=0
This has the same effect as tcsh's "set nobeep". But there is no such
setting to my knowledge for our "/bin/sh".
Summary of changes:
share/man/man4/syscons.4 | 6 ++++--
sys/dev/misc/syscons/syscons.c | 8 +++++++-
2 files changed, 11 insertions(+), 3 deletions(-)
http://gitweb.dragonflybsd.org/dragonfly.git/commitdiff/cf0aa2f1e47a3f0a6055fe427563cb3f3e627064
--
DragonFly BSD source repository
More information about the Commits
mailing list