summaryrefslogtreecommitdiffstats
path: root/hack/hack.u_init.c
diff options
context:
space:
mode:
authorroy <roy@NetBSD.org>2010-02-03 15:34:37 +0000
committerroy <roy@NetBSD.org>2010-02-03 15:34:37 +0000
commit164f814056645ef1910d5bf4c9147929e07c3a7c (patch)
tree69388c3d125835723e2b47ab72df148e22abe10b /hack/hack.u_init.c
parentbd6c81dd776fddd0e7853f2cfb907dc91723f8c3 (diff)
downloadbsdgames-darwin-164f814056645ef1910d5bf4c9147929e07c3a7c.tar.gz
bsdgames-darwin-164f814056645ef1910d5bf4c9147929e07c3a7c.tar.zst
bsdgames-darwin-164f814056645ef1910d5bf4c9147929e07c3a7c.zip
Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
Diffstat (limited to 'hack/hack.u_init.c')
-rw-r--r--hack/hack.u_init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/hack/hack.u_init.c b/hack/hack.u_init.c
index 5bed1e5e..b20bf1de 100644
--- a/hack/hack.u_init.c
+++ b/hack/hack.u_init.c
@@ -1,4 +1,4 @@
-/* $NetBSD: hack.u_init.c,v 1.11 2009/08/12 07:28:41 dholland Exp $ */
+/* $NetBSD: hack.u_init.c,v 1.12 2010/02/03 15:34:39 roy Exp $ */
/*
* Copyright (c) 1985, Stichting Centrum voor Wiskunde en Informatica,
@@ -63,7 +63,7 @@
#include <sys/cdefs.h>
#ifndef lint
-__RCSID("$NetBSD: hack.u_init.c,v 1.11 2009/08/12 07:28:41 dholland Exp $");
+__RCSID("$NetBSD: hack.u_init.c,v 1.12 2010/02/03 15:34:39 roy Exp $");
#endif /* not lint */
#include <ctype.h>
@@ -184,7 +184,7 @@ u_init(void)
printf("\nAre you an experienced player? [ny] ");
while (!strchr("ynYN \n\004", (exper = readchar())))
- bell();
+ sound_bell();
if (exper == '\004') /* Give him an opportunity to get out */
end_of_input();
printf("%c\n", exper); /* echo */
@@ -218,7 +218,7 @@ u_init(void)
if (pc == '\004') /* Give him the opportunity to get
* out */
end_of_input();
- bell();
+ sound_bell();
}
if (pc == '\n')
pc = 0;