From 42430ba7d7a05f98105888cb19f79d9bd7cd22ad Mon Sep 17 00:00:00 2001 From: mycroft Date: Sat, 29 Apr 1995 00:44:03 +0000 Subject: Use POSIX tty semantics. --- backgammon/common_source/back.h | 9 +++------ 1 file changed, 3 insertions(+), 6 deletions(-) (limited to 'backgammon/common_source/back.h') diff --git a/backgammon/common_source/back.h b/backgammon/common_source/back.h index 567c936b..b1be7582 100644 --- a/backgammon/common_source/back.h +++ b/backgammon/common_source/back.h @@ -1,4 +1,4 @@ -/* $NetBSD: back.h,v 1.4 1995/04/24 12:22:06 cgd Exp $ */ +/* $NetBSD: back.h,v 1.5 1995/04/29 00:44:10 mycroft Exp $ */ /* * Copyright (c) 1980, 1993 @@ -35,7 +35,7 @@ * @(#)back.h 8.1 (Berkeley) 5/31/93 */ -#include +#include #include #include @@ -118,10 +118,7 @@ char **colorptr; /* color of current player */ char **Colorptr; /* color of current player, capitalized */ int colen; /* length of color of current player */ -struct sgttyb tty; /* tty information buffer */ -int old; /* original tty status */ -int noech; /* original tty status without echo */ -int raw; /* raw tty status, no echo */ +struct termios old, noech, raw;/* original tty status */ int curr; /* row position of cursor */ int curc; /* column position of cursor */ -- cgit v1.2.3