From: »Q« <boxcars@gmx.net>
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Re: Can I suppress the bleep when shutting down?
Date: Tue, 20 Oct 2015 13:01:45 -0500 [thread overview]
Message-ID: <20151020130145.30f50ab7@sepulchrave.remarqs> (raw)
In-Reply-To: 20151020172248.GA32751@mgpc.ncp.de
On Tue, 20 Oct 2015 19:22:48 +0200
Matthias Gerstner <Matthias.Gerstner@ncp-e.com> 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
<https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=614893#20>.
next prev parent reply other threads:[~2015-10-20 18:04 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-10-20 16:10 [gentoo-user] Can I suppress the bleep when shutting down? Alan Mackenzie
2015-10-20 16:20 ` Alec Ten Harmsel
2015-10-20 16:27 ` wabenbau
2015-10-20 16:44 ` Alan Mackenzie
2015-10-20 17:22 ` Matthias Gerstner
2015-10-20 17:57 ` Marc Joliet
2015-10-20 18:48 ` Alan McKinnon
2015-10-20 20:24 ` Marc Joliet
2015-10-20 18:01 ` »Q« [this message]
2015-10-20 18:20 ` Alan Mackenzie
2015-10-20 17:22 ` Alan McKinnon
2015-10-20 18:27 ` Alan Mackenzie
2015-10-20 19:03 ` [gentoo-user] " James
2015-10-21 11:58 ` Alan Mackenzie
2015-10-21 9:03 ` [gentoo-user] " Peter Humphrey
2015-10-21 9:55 ` Mick
2015-10-21 10:23 ` Alan Mackenzie
2015-10-21 13:29 ` Neil Bothwick
2015-10-21 13:41 ` Mick
2015-10-21 13:46 ` Mick
2015-10-21 17:10 ` Lee
2015-10-22 14:51 ` João Miguel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20151020130145.30f50ab7@sepulchrave.remarqs \
--to=boxcars@gmx.net \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox