From owner-freebsd-hackers Sat Mar 22 8:17:43 2003 Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id CB0B637B401; Sat, 22 Mar 2003 08:17:41 -0800 (PST) Received: from 134.216-123-229-0.interbaun.com (134.216-123-229-0.interbaun.com [216.123.229.134]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7841043FB1; Sat, 22 Mar 2003 08:17:40 -0800 (PST) (envelope-from soralx@cydem.org.ua) Received: from vasya (vasya [192.168.0.3]) by 134.216-123-229-0.interbaun.com (8.11.6/8.11.6) with ESMTP id h2MGHcU31159; Sat, 22 Mar 2003 09:17:39 -0700 (MST) (envelope-from soralx@cydem.org.ua) From: To: jhb@FreeBSD.ORG Subject: Re: misc/41772: can't disable keybell [PATCH] Date: Sat, 22 Mar 2003 09:17:33 -0700 User-Agent: KMail/1.5 Cc: freebsd-hackers@FreeBSD.ORG References: In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200303220917.34614.soralx@cydem.org.ua> Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > 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