git: 225639e7db68 - main - vt: Disable bell by default

From: Emmanuel Vadot <manu_at_FreeBSD.org>
Date: Tue, 19 Oct 2021 07:38:15 UTC
The branch main has been updated by manu:

URL: https://cgit.FreeBSD.org/src/commit/?id=225639e7db685a4047e384abdbc296c0e02bd147

commit 225639e7db685a4047e384abdbc296c0e02bd147
Author:     Emmanuel Vadot <manu@FreeBSD.org>
AuthorDate: 2021-10-18 08:16:41 +0000
Commit:     Emmanuel Vadot <manu@FreeBSD.org>
CommitDate: 2021-10-19 07:37:28 +0000

    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
---
 sys/dev/vt/vt_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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");