From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 9924D13888F for ; Tue, 20 Oct 2015 18:04:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 7B52721C03A; Tue, 20 Oct 2015 18:04:06 +0000 (UTC) Received: from plane.gmane.org (plane.gmane.org [80.91.229.3]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 62F75E0850 for ; Tue, 20 Oct 2015 18:04:05 +0000 (UTC) Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZobGG-000117-Rs for gentoo-user@lists.gentoo.org; Tue, 20 Oct 2015 20:03:49 +0200 Received: from 108-248-189-27.lightspeed.clmasc.sbcglobal.net ([108.248.189.27]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Oct 2015 20:03:48 +0200 Received: from boxcars by 108-248-189-27.lightspeed.clmasc.sbcglobal.net with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Tue, 20 Oct 2015 20:03:48 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: gentoo-user@lists.gentoo.org From: =?UTF-8?B?wrtRwqs=?= Subject: [gentoo-user] Re: Can I suppress the bleep when shutting down? Date: Tue, 20 Oct 2015 13:01:45 -0500 Organization: none Message-ID: <20151020130145.30f50ab7@sepulchrave.remarqs> References: <20151020161029.GC1781@acm.fritz.box> <20151020182704.6f90804f@hal9000.localdomain> <20151020164439.GA6901@acm.fritz.box> <20151020172248.GA32751@mgpc.ncp.de> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: 108-248-189-27.lightspeed.clmasc.sbcglobal.net X-Newsreader: Claws Mail 3.11.1 (GTK+ 2.24.28; x86_64-pc-linux-gnu) X-Archives-Salt: b0e0cd72-a755-4c9a-8a22-0095d927e9f2 X-Archives-Hash: 0e36e0ca395612d406693d1260ab43f1 On Tue, 20 Oct 2015 19:22:48 +0200 Matthias Gerstner wrote: > It does originate from the shutdown command itself which is part of > the sys-apps/sysvinit package. In this package's source you find can > a file "src/dowall.c", where you will in turn find a function > "wall(...)". > > This is the function where the warning messages will be produced that > show up in the terminal and the message is produced like this: > > snprintf(line, sizeof(line), > "\007\r\nBroadcast message from %s@%s %s(%s):\r\n\r\n", > user, hostname, tty, date); > > The "\007" is the beep you're getting. It's a bell character that you > can produce manually by doing this, too: To add one more suggestion to your very good ones (which I've snipped), there is a very small patch to remove the \007 at .