Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 07 Nov 2024 10:34:37 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 282474] bell: unable to enable bell
Message-ID:  <bug-282474-227-g4OTJ9jQiG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-282474-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-282474-227@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282474

--- Comment #8 from Yusuf Yaman <nxjoseph@protonmail.com> ---
I have made change below but now the vt bell doesn't ring anymore. That's
releng/14.1 source code branch and that's the only change i have made.

# git diff .
diff --git a/sys/dev/vt/vt_core.c b/sys/dev/vt/vt_core.c
index 797af56e5..4c02a9ec8 100644
--- a/sys/dev/vt/vt_core.c
+++ b/sys/dev/vt/vt_core.c
@@ -119,7 +119,7 @@ static const struct terminal_class vt_termclass =3D {

 /* Bell pitch/duration. */
 #define        VT_BELLDURATION (SBT_1S / 20)
-#define        VT_BELLPITCH    (1193182 / 800) /* Approx 1491Hz */
+#define        VT_BELLPITCH    800

 #define        VT_UNIT(vw)     ((vw)->vw_device->vd_unit * VT_MAXWINDOWS +=
 \
                        (vw)->vw_number)

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-282474-227-g4OTJ9jQiG>