15 lines
		
	
	
		
			209 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
			
		
		
	
	
			15 lines
		
	
	
		
			209 B
		
	
	
	
		
			C
		
	
	
		
			Executable File
		
	
	
	
	
| #include <curses.h>
 | |
| #include "curspriv.h"
 | |
| #include <termcap.h>
 | |
| 
 | |
| extern char *bl, *vb;
 | |
| 
 | |
| /* Beep() sounds the terminal bell. */
 | |
| void beep()
 | |
| {
 | |
|   if (bl)
 | |
| 	tputs(bl, 1, outc);
 | |
|   else if (vb)
 | |
| 	tputs(vb, 1, outc);
 | |
| }
 | 
