aboutsummaryrefslogtreecommitdiff
path: root/pkg/utilities/nttools/tedit/bell.x
blob: dd939e4ef262b866ac8afa6460ec785ed759fe64 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
# RING_BELL -- Ring the bell to wake up the user

procedure ring_bell ()

bool	silent		# i: do not ring bell
#--
bool	ring		# variable used to hold the value of silent

begin
	if (ring)
	    call ps_beep
	return

	entry init_bell (silent)

	ring = ! silent
	return

end