changeset 7667:bae9c0fa1c2f

(do_visible_bell): Renamed from visible_bell to avoid potential conflict with variable of the same name. Caller changed. (internal_flush): Code for audio bell inserted.
author Richard M. Stallman <rms@gnu.org>
date Tue, 24 May 1994 19:50:04 +0000
parents 13a977e6777a
children c5ae1297d994
files src/msdos.c
diffstat 1 files changed, 6 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/msdos.c	Tue May 24 19:46:40 1994 +0000
+++ b/src/msdos.c	Tue May 24 19:50:04 1994 +0000
@@ -764,7 +764,7 @@
 static unsigned char _xorattr;
 
 static void
-visible_bell (xorattr)
+do_visible_bell (xorattr)
      unsigned char xorattr;
 {
   _xorattr = xorattr;
@@ -843,7 +843,7 @@
 		  count -= 3;
 		  break;
 		case 'B':
-		  visible_bell (*cp++);
+		  do_visible_bell (*cp++);
 		  count -= 3;
 		  break;
 		case 'C':
@@ -872,6 +872,10 @@
 		  count -= 2;
 		}
 	      break;
+	    case 7:
+	      write (1, "\007", 1);
+	      count--;
+	      break;
 	    case 8:
 	      x--;
 	      count--;