From bfa0b2984deca9e2d33082606535cca9b008c2ad Mon Sep 17 00:00:00 2001 From: Poul-Henning Kamp Date: Sun, 28 Jan 2001 21:21:37 +0000 Subject: [PATCH] Use \a instead of \007 for making noise. Submitted by: "Jason Smethers" --- sbin/dump/main.c | 2 +- sbin/dump/optr.c | 4 ++-- sbin/dump/tape.c | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/sbin/dump/main.c b/sbin/dump/main.c index d7783b16aedd..41648c1969c5 100644 --- a/sbin/dump/main.c +++ b/sbin/dump/main.c @@ -477,7 +477,7 @@ main(argc, argv) putdumptime(); trewind(); - broadcast("DUMP IS DONE!\7\7\n"); + broadcast("DUMP IS DONE!\a\a\n"); msg("DUMP IS DONE\n"); Exit(X_FINOK); /* NOTREACHED */ diff --git a/sbin/dump/optr.c b/sbin/dump/optr.c index bb4c262c8132..57067a2f4617 100644 --- a/sbin/dump/optr.c +++ b/sbin/dump/optr.c @@ -131,7 +131,7 @@ alarmcatch() " DUMP: %s: (\"yes\" or \"no\") ", attnmessage); else - msgtail("\7\7"); + msgtail("\a\a"); } else { if (timeout) { msgtail("\n"); @@ -259,7 +259,7 @@ sendmes(tty, message) setbuf(f_tty, buf); (void) fprintf(f_tty, "\n\ -\7\7\7Message from the dump program to all operators at %d:%02d ...\r\n\n\ +\a\a\aMessage from the dump program to all operators at %d:%02d ...\r\n\n\ DUMP: NEEDS ATTENTION: ", localclock->tm_hour, localclock->tm_min); for (cp = lastmsg; ; cp++) { diff --git a/sbin/dump/tape.c b/sbin/dump/tape.c index b25875fbea95..28ced904c1c5 100644 --- a/sbin/dump/tape.c +++ b/sbin/dump/tape.c @@ -381,7 +381,7 @@ close_rewind() (void)time((time_t *)&(tstart_changevol)); if (!nogripe) { msg("Change Volumes: Mount volume #%d\n", tapeno+1); - broadcast("CHANGE DUMP VOLUMES!\7\7\n"); + broadcast("CHANGE DUMP VOLUMES!\a\a\n"); } while (!query("Is the new volume mounted and ready to go?")) if (query("Do you want to abort?")) {