From 164f814056645ef1910d5bf4c9147929e07c3a7c Mon Sep 17 00:00:00 2001 From: roy Date: Wed, 3 Feb 2010 15:34:37 +0000 Subject: Userland now builds and uses terminfo instead of termcap. OK: core@, jdc@ --- hack/hack.tty.c | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'hack/hack.tty.c') diff --git a/hack/hack.tty.c b/hack/hack.tty.c index 8d0802b7..474afab5 100644 --- a/hack/hack.tty.c +++ b/hack/hack.tty.c @@ -1,4 +1,4 @@ -/* $NetBSD: hack.tty.c,v 1.14 2009/08/12 07:28:41 dholland Exp $ */ +/* $NetBSD: hack.tty.c,v 1.15 2010/02/03 15:34:39 roy Exp $ */ /*- * Copyright (c) 1988, 1993 @@ -34,7 +34,7 @@ #if 0 static char sccsid[] = "@(#)hack.tty.c 8.1 (Berkeley) 5/31/93"; #else -__RCSID("$NetBSD: hack.tty.c,v 1.14 2009/08/12 07:28:41 dholland Exp $"); +__RCSID("$NetBSD: hack.tty.c,v 1.15 2010/02/03 15:34:39 roy Exp $"); #endif #endif /* not lint */ @@ -152,8 +152,8 @@ gettty(void) void settty(const char *s) { - clear_screen(); - end_screen(); + clearscreen(); + endscreen(); if (s) printf("%s", s); (void) fflush(stdout); @@ -193,7 +193,7 @@ setftty(void) if (change) { setctty(); } - start_screen(); + startscreen(); } @@ -242,7 +242,7 @@ getlin(char *bufp) bufp--; putstr("\b \b"); /* putsym converts \b */ } else - bell(); + sound_bell(); } else if (c == '\n') { *bufp = 0; return; @@ -263,7 +263,7 @@ getlin(char *bufp) putstr("\b \b"); } } else - bell(); + sound_bell(); } } @@ -305,7 +305,7 @@ xwaitforspace(const char *s) morc = c; break; } - bell(); + sound_bell(); } } } -- cgit v1.2.3-56-ge451