From f3734d6b311ca925d356478fda10aaabd41469c9 Mon Sep 17 00:00:00 2001 From: Thomas Cort Date: Wed, 25 Mar 2015 14:34:14 -0400 Subject: [PATCH] mined.h: use '\a' instead of ascii code for bell. Makes the code slightly more portable and readable. Change-Id: I45bbecb6dc1c320c9412eeeaf598116c2ce1aac5 --- minix/commands/mined/mined.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.44.0