From: Thomas Cort Date: Wed, 25 Mar 2015 18:34:14 +0000 (-0400) Subject: mined.h: use '\a' instead of ascii code for bell. X-Git-Url: http://zhaoyanbai.com/repos/%22http:/www.isc.org/icons/zpipe.c?a=commitdiff_plain;h=refs%2Fchanges%2F77%2F2977%2F1;p=minix.git mined.h: use '\a' instead of ascii code for bell. Makes the code slightly more portable and readable. Change-Id: I45bbecb6dc1c320c9412eeeaf598116c2ce1aac5 --- diff --git a/minix/commands/mined/mined.h b/minix/commands/mined/mined.h index 0832988eb..6b1f884a8 100644 --- a/minix/commands/mined/mined.h +++ b/minix/commands/mined/mined.h @@ -151,7 +151,7 @@ extern long chars_saved; /* Nr of chars saved in buffer */ /* * Ring bell on terminal */ -#define ring_bell() putch('\07') +#define ring_bell() putch('\a') /* * Print string on terminal