Use \a instead of \007 for making noise.

Submitted by:	"Jason Smethers" <jsmethers@pdq.net>
This commit is contained in:
Poul-Henning Kamp 2001-01-28 21:21:37 +00:00
parent c93849206e
commit bfa0b2984d
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=71750
3 changed files with 4 additions and 4 deletions

View File

@ -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 */

View File

@ -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++) {

View File

@ -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?")) {