diff options
author | mycroft <mycroft@NetBSD.org> | 1995-04-29 00:44:03 +0000 |
---|---|---|
committer | mycroft <mycroft@NetBSD.org> | 1995-04-29 00:44:03 +0000 |
commit | 42430ba7d7a05f98105888cb19f79d9bd7cd22ad (patch) | |
tree | aa3516e56353d97671cf6c67335ebf60a1ca8b61 /backgammon/teachgammon/ttext2.c | |
parent | 567e3567cfbbfd9940e7ac02313f241710d726c7 (diff) | |
download | bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.tar.gz bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.tar.zst bsdgames-darwin-42430ba7d7a05f98105888cb19f79d9bd7cd22ad.zip |
Use POSIX tty semantics.
Diffstat (limited to 'backgammon/teachgammon/ttext2.c')
-rw-r--r-- | backgammon/teachgammon/ttext2.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/backgammon/teachgammon/ttext2.c b/backgammon/teachgammon/ttext2.c index 07a857a8..afb431c1 100644 --- a/backgammon/teachgammon/ttext2.c +++ b/backgammon/teachgammon/ttext2.c @@ -1,4 +1,4 @@ -/* $NetBSD: ttext2.c,v 1.3 1995/03/21 15:06:22 cgd Exp $ */ +/* $NetBSD: ttext2.c,v 1.4 1995/04/29 00:44:20 mycroft Exp $ */ /* * Copyright (c) 1980, 1993 @@ -37,7 +37,7 @@ #if 0 static char sccsid[] = "@(#)ttext2.c 8.1 (Berkeley) 5/31/93"; #else -static char rcsid[] = "$NetBSD: ttext2.c,v 1.3 1995/03/21 15:06:22 cgd Exp $"; +static char rcsid[] = "$NetBSD: ttext2.c,v 1.4 1995/04/29 00:44:20 mycroft Exp $"; #endif #endif /* not lint */ @@ -139,7 +139,7 @@ char **txt; char *c; int i; - fixtty (noech); + fixtty (&noech); begin = txt; while (*txt) { a = *(txt++); @@ -149,7 +149,7 @@ char **txt; writel (a); writec ('\n'); } else { - fixtty (raw); + fixtty (&raw); writel (prompt); for (;;) { if ((b = readc()) == '?') { @@ -188,12 +188,12 @@ char **txt; writec ('\n'); if (i) return(i); - fixtty (noech); + fixtty (&noech); if (tflag) curmove (curr,0); begin = txt; } } - fixtty (raw); + fixtty (&raw); return (0); } |