From nobody Wed Oct 20 02:40:24 2021 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 3F45A1815EEC; Wed, 20 Oct 2021 02:40:24 +0000 (UTC) (envelope-from danfe@freebsd.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2610:1c1:1:6074::16:84]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "freefall.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4HYvwm1GCJz4lcH; Wed, 20 Oct 2021 02:40:24 +0000 (UTC) (envelope-from danfe@freebsd.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1634697624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qAdhK5q30r4SBgCm/LPjtzG2Ki64EDQtEuhAMY/tHvk=; b=L6rS2MyufdC2gDTL2DsMWxFxpJRRe8tw46cNoVW30NwWpnZUlSgTmblXbwn9jL0jDhEuoY 5/D1W1L4Rt3GzeBnPPEzkurkxoL6TUK324Th2mA9XIXvB0yvu3rL+6eHlZ7dZdAv+KZ+26 Ed3xM51z3w25LgOWMfx8a3QWKcEcHuV1pW0KVNqh9Hxj75WnSU5V0GGUSBuA4Mrw5PJvLe RbP4MzMY+nKzKT0atOVPGRQffkjcgspgbokUXFAwTqQ225fcjaBaTuE8LTINas5cPHYavj rb73BsKJCsCgpoUnWiry1iuz6Tni3kvZ9M2Gjqyk952cKqA6k1su1/NY5wlm/w== Received: by freefall.freebsd.org (Postfix, from userid 1033) id 1374D1A32C; Wed, 20 Oct 2021 02:40:24 +0000 (UTC) Date: Wed, 20 Oct 2021 02:40:24 +0000 From: Alexey Dokuchaev To: Kevin Bowling Cc: Emmanuel Vadot , Slawa Olhovchenkov , src-committers , "" , "dev-commits-src-main@FreeBSD.org" Subject: Re: git: 225639e7db68 - main - vt: Disable bell by default Message-ID: References: <202110190738.19J7cFtw067994@gitrepo.freebsd.org> <20211019112132.GC80160@zxy.spb.ru> <20211019133700.77c0ca7ac488eb99df50551b@bidouilliste.com> List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-main@freebsd.org X-BeenThere: dev-commits-src-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1634697624; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=qAdhK5q30r4SBgCm/LPjtzG2Ki64EDQtEuhAMY/tHvk=; b=tbK5pRp72dCvyk+AwREvXCbkU5+3yVILOMw6u6jws3DiTEro7GIGwfBJQzm5xf+74g1P4i meujwzMDKLlH1lkzpWXQq+1gWBw7ahrE5UbZOkdXm6g473gEtMfIXLKTfb1IxSHStkzUdk VidHATJ/Toq4RXuUtob5p0oNhwfAlJ/rnWUf/s8u0TyZ5nBvhhs/E6ifUZITNZ6U+ZVa2y 1VQ+x7gIJHJ36TNxZ3YXcqmd4LbqosScqyH1vOFOADhwlAtrk7B0Tm9hAiT3IZ+/fuCPFT qv0NlpjeBYF1JihvYilbGxUWliqrsZ6zUlJLY2YPfwQq1OCljAHX/Tln0inQ2Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1634697624; a=rsa-sha256; cv=none; b=LeDdoQ5BYLFoghkQyhG+9Sngmcp/lZxiLBuD6n6v7+QaBBHiX9KY5bdfZTKWuEZ8YGQUvu A1KN+BE4emuG5k6Wck1ZYLTU+MmbGb3zzEZTgdm7TV8VpZD7PX03uYfmUvJCL8t7vsVsQ+ WqeEPBt6RqHsaxq45rnik0zk8Uyj2r1CUAbhzMeecdlbvNjWt/Lu0x9igzicKd7mlSEO3t WzX176iSE0vHgsmHywezgAMnlcbzDJa1genmxjdmtgZhIqv4qo9cyrwYTPngBU+foY+eBB lC8PcvfFXIL5E8ql3FLIArUeJpfBfeiiGBKswGY1ru8SyTdyvdUpTXEJa2pOsQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N On Tue, Oct 19, 2021 at 06:55:34PM -0700, Kevin Bowling wrote: > On Tue, Oct 19, 2021 at 6:25 PM Alexey Dokuchaev wrote: > > On Tue, Oct 19, 2021 at 01:37:00PM +0200, Emmanuel Vadot wrote: > > > On Tue, 19 Oct 2021 14:21:33 +0300, Slawa Olhovchenkov wrote: > > > > On Tue, Oct 19, 2021 at 07:38:15AM +0000, Emmanuel Vadot wrote: > > > > > commit 225639e7db685a4047e384abdbc296c0e02bd147 > > > > > > > > > > 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. > > > > > > > > For you, not for me, for example. Also, this is violate POLA. > > > > > > Just set kern.vt.enable_bell=1 in /etc/sysctl.conf and you will be > > > happy again. > > > > Actually, it should've been the other way around: it if annoys *you*, > > then you should just set kern.vt.enable_bell=0 in /etc/sysctl.conf > > and be happy. I'm also used to it, it's a nice indicator that things > > work normally, including the bell itself. > > > > > And POLA doesn't means that we can't change a thing. > > I think a POLA violation here was that some equipment emits a > jarringly loud noise, and rushing to turn that off is more stressful > than the change of turning it on if you value it. If "some equipment" has a buzzer so annoying that it stresses one enough that she gets lost as to how to turn it off then perhaps admin of such equipment should complain to its vendor instead. > Safe defaults. When I issue BEL (\a) on the console, I expect to hear the beep, and should not do anything to enable it. Computers don't have many ways to talk back to us, muting one of the low-level signals like this is dubious at the very least and should've undergone broader discussion. ./danfe