Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Mar 2003 09:17:33 -0700
From:      <soralx@cydem.org.ua>
To:        jhb@FreeBSD.ORG
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: misc/41772: can't disable keybell [PATCH]
Message-ID:  <200303220917.34614.soralx@cydem.org.ua>
In-Reply-To: <XFMail.20030322094245.jhb@FreeBSD.org>
References:  <XFMail.20030322094245.jhb@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
> Incidentally, using quiet.off doesn't
> shut it up either which is very confusing since quiet sets
> SC_QUIET_BELL.

it does, actually
the `man kbdcontrol` doesn't say that it also checks to see
if the beeping console is not current:

if (scp != scp->sc->cur_scp && (scp->sc->flags & SC_QUIET_BELL))

> +    } else if (duration != 0 && pitch != 0) {

why using "if (duration != 0 && pitch != 0)" is
better than "if (!(duration && pitch))"?

> Can you verify that this fix works for you?

OK, I'll check it after work

22.03.2003; 09:09:34
[SorAlx]  http://cydem.org.ua/

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200303220917.34614.soralx>