On Tue, 20 Oct 2015 19:22:48 +0200
Matthias Gerstner <matthias.gerst...@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>.


Reply via email to