summaryrefslogtreecommitdiffstats
path: root/sbin/dump
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-01-28 21:21:37 +0000
committerphk <phk@FreeBSD.org>2001-01-28 21:21:37 +0000
commit2b8bb593030d9c2d693ecfa98741cf62affd59cc (patch)
tree7df60645fa52d93bdd90757c631a6ecaabce47a4 /sbin/dump
parent079c35c874982f7198aa9b9fd3a25e92cb77ea1e (diff)
downloadFreeBSD-src-2b8bb593030d9c2d693ecfa98741cf62affd59cc.zip
FreeBSD-src-2b8bb593030d9c2d693ecfa98741cf62affd59cc.tar.gz
Use \a instead of \007 for making noise.
Submitted by: "Jason Smethers" <jsmethers@pdq.net>
Diffstat (limited to 'sbin/dump')
-rw-r--r--sbin/dump/main.c2
-rw-r--r--sbin/dump/optr.c4
-rw-r--r--sbin/dump/tape.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/sbin/dump/main.c b/sbin/dump/main.c
index d7783b1..41648c1 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 bb4c262..57067a2 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 b25875f..28ced90 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?")) {
OpenPOWER on IntegriCloud