git: DragonFly_RELEASE_6_4 syscons - add sysctl to disable console bell globally
Aaron LI
aly at crater.dragonflybsd.org
Wed Aug 27 05:22:16 PDT 2025
commit 108265d17560169b09d18f8a0a19736c356533dd
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/108265d17560169b09d18f8a0a19736c356533dd
--
DragonFly BSD source repository
More information about the Commits
mailing list