aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmmanuel Vadot <manu@FreeBSD.org>2021-10-18 08:16:41 +0000
committerEmmanuel Vadot <manu@FreeBSD.org>2021-10-19 07:37:28 +0000
commit225639e7db685a4047e384abdbc296c0e02bd147 (patch)
tree6c946ff04e3e6b50feb5b1238a0f93510b694925
parentbad324ace4f817206baf86ae7379c35c8199048e (diff)
downloadsrc-225639e7db68.tar.gz
src-225639e7db68.zip
vt: Disable bell by default
Bell is either useless if you're working on remote servers or really annoying when you're working with a local machine that have a loud buzzer. Switch the default to have it disable. Reviewed by: imp, pstef, tsoome Sponsored by: Beckhoff Automation GmbH & Co. KG Differential Revision: https://reviews.freebsd.org/D32543
-rw-r--r--sys/dev/vt/vt_core.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index fac1ad898db9..075b23597f68 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -127,7 +127,7 @@ const struct terminal_class vt_termclass = {
static SYSCTL_NODE(_kern, OID_AUTO, vt, CTLFLAG_RD | CTLFLAG_MPSAFE, 0,
"vt(9) parameters");
static VT_SYSCTL_INT(enable_altgr, 1, "Enable AltGr key (Do not assume R.Alt as Alt)");
-static VT_SYSCTL_INT(enable_bell, 1, "Enable bell");
+static VT_SYSCTL_INT(enable_bell, 0, "Enable bell");
static VT_SYSCTL_INT(debug, 0, "vt(9) debug level");
static VT_SYSCTL_INT(deadtimer, 15, "Time to wait busy process in VT_PROCESS mode");
static VT_SYSCTL_INT(suspendswitch, 1, "Switch to VT0 before suspend");